diff gui/wm/ws.c @ 35661:60e8674e38dc

Switch statements. This is mainly for cosmetic reasons.
author ib
date Tue, 15 Jan 2013 19:12:02 +0000
parents 8de55114a330
children 782461b26312
line wrap: on
line diff
--- 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);
     }