win32: remove _gdk_root global variable
This commit is contained in:
committed by
Ignacio Casal Quinteiro
parent
e44b420617
commit
3cd79c11fc
@ -293,7 +293,12 @@ _gdk_win32_window_delete_property (GdkWindow *window,
|
||||
if (property == _gdk_selection)
|
||||
_gdk_selection_property_delete (window);
|
||||
else if (property == _wm_transient_for)
|
||||
gdk_window_set_transient_for (window, _gdk_root);
|
||||
{
|
||||
GdkScreen *screen;
|
||||
|
||||
screen = gdk_window_get_screen (window);
|
||||
gdk_window_set_transient_for (window, gdk_screen_get_root_window (screen));
|
||||
}
|
||||
else
|
||||
{
|
||||
prop_name = gdk_atom_name (property);
|
||||
|
||||
Reference in New Issue
Block a user