forked from AuroraMiddleware/gtk
Call XReconfigureWMWindow with proper screen
Thanks gcc : gdkwindow-x11.c:1731: warning: passing argument 3 of 'XReconfigureWMWindow' makes integer from pointer without a cast /usr/include/X11/Xlib.h:1871: note: expected 'int' but argument is of type 'struct GdkScreen *' Signed-off-by: Pascal Terjan <pterjan@mandriva.com>
This commit is contained in:
parent
97d15954ad
commit
f3013bf6ed
@ -1726,7 +1726,7 @@ gdk_window_x11_restack_toplevel (GdkWindow *window,
|
||||
changes.stack_mode = above ? Above : Below;
|
||||
XReconfigureWMWindow (GDK_WINDOW_XDISPLAY (window),
|
||||
GDK_WINDOW_XID (window),
|
||||
GDK_WINDOW_SCREEN (window),
|
||||
gdk_screen_get_number (GDK_WINDOW_SCREEN (window)),
|
||||
CWStackMode | CWSibling, &changes);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user