Fix for gdk/x11 changes

Handle the move of gdk_window_lookup() and gdk_window_foreign_new()
into the gdk_x11_ namespace.
This commit is contained in:
Owen W. Taylor
2010-12-22 16:26:08 -05:00
parent 53f53c5a91
commit c546ad9720
4 changed files with 11 additions and 7 deletions

View File

@ -530,7 +530,8 @@ shell_global_set_cursor (ShellGlobal *global,
{
ClutterStage *stage = CLUTTER_STAGE (meta_plugin_get_stage (global->plugin));
global->stage_window = gdk_window_foreign_new (clutter_x11_get_stage_window (stage));
global->stage_window = gdk_x11_window_foreign_new_for_display (gdk_display_get_default (),
clutter_x11_get_stage_window (stage));
}
gdk_window_set_cursor (global->stage_window, cursor);