mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-12-29 06:51:10 +00:00
Handle GDK_WA_CURSOR in non-native window creation
This commit is contained in:
parent
764ceead66
commit
d6ecaca166
@ -882,6 +882,10 @@ gdk_window_new (GdkWindow *parent,
|
||||
private->redirect = private->parent->redirect;
|
||||
}
|
||||
|
||||
gdk_window_set_cursor (window, ((attributes_mask & GDK_WA_CURSOR) ?
|
||||
(attributes->cursor) :
|
||||
NULL));
|
||||
|
||||
return window;
|
||||
}
|
||||
|
||||
|
@ -763,10 +763,6 @@ _gdk_window_impl_new (GdkWindow *window,
|
||||
g_object_ref (window);
|
||||
_gdk_xid_table_insert (screen_x11->display, &draw_impl->xid, window);
|
||||
|
||||
gdk_window_set_cursor (window, ((attributes_mask & GDK_WA_CURSOR) ?
|
||||
(attributes->cursor) :
|
||||
NULL));
|
||||
|
||||
switch (GDK_WINDOW_TYPE (private))
|
||||
{
|
||||
case GDK_WINDOW_DIALOG:
|
||||
|
Loading…
Reference in New Issue
Block a user