changeset 34005:f98595b413e2

Replace vo_x11_setlayer() calls by wsSetLayer() in wsFullScreen().
author ib
date Fri, 09 Sep 2011 14:11:50 +0000
parents 7070033cf360
children 5876b7f7ea9e
files gui/wm/ws.c
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/gui/wm/ws.c	Fri Sep 09 14:07:14 2011 +0000
+++ b/gui/wm/ws.c	Fri Sep 09 14:11:50 2011 +0000
@@ -972,13 +972,13 @@
     if (!(vo_fs_type & vo_wm_FULLSCREEN)) { // shouldn't be needed with EWMH fs
         vo_x11_decoration(wsDisplay, win->WindowID, win->Decorations && !win->isFullScreen);
         vo_x11_sizehint(win->X, win->Y, win->Width, win->Height, 0);
-        vo_x11_setlayer(wsDisplay, win->WindowID, win->isFullScreen);
+        wsSetLayer(wsDisplay, win->WindowID, win->isFullScreen);
         XMoveResizeWindow(wsDisplay, win->WindowID, win->X, win->Y, win->Width, win->Height);
     }
 
     /* some window managers lose ontop after fullscreen */
     if (!win->isFullScreen & vo_ontop)
-        vo_x11_setlayer(wsDisplay, win->WindowID, vo_ontop);
+        wsSetLayer(wsDisplay, win->WindowID, vo_ontop);
 
     wsRaiseWindowTop(wsDisplay, win->WindowID);
     XFlush(wsDisplay);