Replace some GDK X11 calls with future-proof ones
GTK is about to clean up its code and remove duplicate macros and GdkDrawable usage. To prepare for that landing, we use the future-safe versions of the same calls. https://bugzilla.gnome.org/show_bug.cgi?id=636302
This commit is contained in:
@@ -51,7 +51,7 @@ set_gdk_window_struts (GdkWindow *window,
|
||||
vals[11] = 800;
|
||||
|
||||
XChangeProperty (GDK_WINDOW_XDISPLAY (window),
|
||||
GDK_WINDOW_XWINDOW (window),
|
||||
GDK_WINDOW_XID (window),
|
||||
XInternAtom (GDK_WINDOW_XDISPLAY (window),
|
||||
"_NET_WM_STRUT_PARTIAL", False),
|
||||
XA_CARDINAL, 32, PropModeReplace,
|
||||
@@ -125,7 +125,7 @@ set_gdk_window_type (GdkWindow *window,
|
||||
type, False);
|
||||
|
||||
XChangeProperty (GDK_WINDOW_XDISPLAY (window),
|
||||
GDK_WINDOW_XWINDOW (window),
|
||||
GDK_WINDOW_XID (window),
|
||||
XInternAtom (GDK_WINDOW_XDISPLAY (window), "_NET_WM_WINDOW_TYPE", False),
|
||||
XA_ATOM, 32, PropModeReplace,
|
||||
(guchar *)atoms,
|
||||
|
Reference in New Issue
Block a user