ShellGlobal: Remove root_pixmap left-over
Still had a few references to the root_pixmap actor that was removed when we switched to using the root actor support in Mutter.
This commit is contained in:
parent
a2528a7a98
commit
8be2800486
@ -60,8 +60,6 @@ struct _ShellGlobal {
|
|||||||
const char *userdatadir;
|
const char *userdatadir;
|
||||||
StFocusManager *focus_manager;
|
StFocusManager *focus_manager;
|
||||||
|
|
||||||
/* Displays the root window; see shell_global_create_root_pixmap_actor() */
|
|
||||||
ClutterActor *root_pixmap;
|
|
||||||
GdkWindow *stage_window;
|
GdkWindow *stage_window;
|
||||||
|
|
||||||
gint last_change_screen_width, last_change_screen_height;
|
gint last_change_screen_width, last_change_screen_height;
|
||||||
@ -220,7 +218,6 @@ shell_global_init (ShellGlobal *global)
|
|||||||
g_signal_connect (global->grab_notifier, "grab-notify", G_CALLBACK (grab_notify), global);
|
g_signal_connect (global->grab_notifier, "grab-notify", G_CALLBACK (grab_notify), global);
|
||||||
global->gtk_grab_active = FALSE;
|
global->gtk_grab_active = FALSE;
|
||||||
|
|
||||||
global->root_pixmap = NULL;
|
|
||||||
global->stage_window = NULL;
|
global->stage_window = NULL;
|
||||||
|
|
||||||
global->input_mode = SHELL_STAGE_INPUT_MODE_NORMAL;
|
global->input_mode = SHELL_STAGE_INPUT_MODE_NORMAL;
|
||||||
@ -656,11 +653,6 @@ update_screen_size (gpointer data)
|
|||||||
global->last_change_screen_width = width;
|
global->last_change_screen_width = width;
|
||||||
global->last_change_screen_height = height;
|
global->last_change_screen_height = height;
|
||||||
|
|
||||||
/* update size of background actor to fix tiled backgrounds */
|
|
||||||
if (global->root_pixmap)
|
|
||||||
clutter_actor_set_size (CLUTTER_ACTOR (global->root_pixmap),
|
|
||||||
width, height);
|
|
||||||
|
|
||||||
return FALSE;
|
return FALSE;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user