# HG changeset patch # User ib # Date 1358597810 0 # Node ID 2d3b65e5ae1a4d5121513edfda05272f3d7f61e4 # Parent f1d1404c3828b08667c39b48d2211316dd92d886 Cosmetic: Rename structure member, use singular. diff -r f1d1404c3828 -r 2d3b65e5ae1a gui/wm/ws.c --- a/gui/wm/ws.c Sat Jan 19 12:12:34 2013 +0000 +++ b/gui/wm/ws.c Sat Jan 19 12:16:50 2013 +0000 @@ -829,7 +829,7 @@ win->Property = p; if (p & wsShowFrame) - win->Decorations = True; + win->Decoration = True; wsWindowUpdatePosition(win, x, y, w, h); @@ -916,7 +916,7 @@ win->WMHints.initial_state = NormalState; XSetWMHints(wsDisplay, win->WindowID, &win->WMHints); - wsWindowDecoration(win, win->Decorations); + wsWindowDecoration(win, win->Decoration); XStoreName(wsDisplay, win->WindowID, label); XmbSetWMProperties(wsDisplay, win->WindowID, label, label, NULL, 0, NULL, NULL, NULL); @@ -1255,7 +1255,7 @@ /* restore window if window manager doesn't support EWMH */ if (!(vo_fs_type & vo_wm_FULLSCREEN)) { wsSizeHint(win); - wsWindowDecoration(win, win->Decorations && !win->isFullScreen); + wsWindowDecoration(win, win->Decoration && !win->isFullScreen); wsWindowLayer(wsDisplay, win->WindowID, win->isFullScreen); XMoveResizeWindow(wsDisplay, win->WindowID, win->X, win->Y, win->Width, win->Height); } diff -r f1d1404c3828 -r 2d3b65e5ae1a gui/wm/ws.h --- a/gui/wm/ws.h Sat Jan 19 12:12:34 2013 +0000 +++ b/gui/wm/ws.h Sat Jan 19 12:16:50 2013 +0000 @@ -108,7 +108,7 @@ unsigned char *bImage; XImage *xImage; Pixmap Mask; - Bool Decorations; + Bool Decoration; int State; int Visible;