changeset 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
files gui/wm/ws.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
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);
     }