# HG changeset patch # User ib # Date 1358277122 0 # Node ID 60e8674e38dc2423e48998c2b4643bd56603e7ae # Parent 8de55114a33036dfe161f6168dd2901fc53d09a8 Switch statements. This is mainly for cosmetic reasons. diff -r 8de55114a330 -r 60e8674e38dc gui/wm/ws.c --- a/gui/wm/ws.c Tue Jan 15 18:51:30 2013 +0000 +++ b/gui/wm/ws.c Tue Jan 15 19:12:02 2013 +0000 @@ -1102,8 +1102,8 @@ /* restore window if window manager doesn't support EWMH */ if (!(vo_fs_type & vo_wm_FULLSCREEN)) { + wsSizeHint(win); wsWindowDecoration(win, win->Decorations && !win->isFullScreen); - wsSizeHint(win); wsSetLayer(wsDisplay, win->WindowID, win->isFullScreen); XMoveResizeWindow(wsDisplay, win->WindowID, win->X, win->Y, win->Width, win->Height); }