Move more fields to MetaWindowX11

This commit is contained in:
Jasper St. Pierre
2014-03-18 13:07:50 -04:00
parent 8f151842fb
commit d6a27195d3
5 changed files with 48 additions and 33 deletions

View File

@ -262,9 +262,6 @@ struct _MetaWindow
guint has_move_func : 1;
guint has_resize_func : 1;
guint has_fullscreen_func : 1;
/* Weird "_NET_WM_STATE_MODAL" flag */
guint wm_state_modal : 1;
/* Computed whether to skip taskbar or not */
guint skip_taskbar : 1;
@ -318,12 +315,6 @@ struct _MetaWindow
/* Transient parent is a root window */
guint transient_parent_is_root_window : 1;
/* Info on which props we got our attributes from */
guint using_net_wm_name : 1; /* vs. plain wm_name */
guint using_net_wm_visible_name : 1; /* tracked so we can clear it */
guint using_net_wm_icon_name : 1; /* vs. plain wm_icon_name */
guint using_net_wm_visible_icon_name : 1; /* tracked so we can clear it */
/* if TRUE, window was maximized at start of current grab op */
guint shaken_loose : 1;

View File

@ -920,7 +920,6 @@ _meta_window_shared_new (MetaDisplay *display,
window->always_sticky = FALSE;
window->wm_state_modal = FALSE;
window->skip_taskbar = FALSE;
window->skip_pager = FALSE;
window->wm_state_above = FALSE;
@ -946,11 +945,6 @@ _meta_window_shared_new (MetaDisplay *display,
window->struts = NULL;
window->using_net_wm_name = FALSE;
window->using_net_wm_visible_name = FALSE;
window->using_net_wm_icon_name = FALSE;
window->using_net_wm_visible_icon_name = FALSE;
window->layer = META_LAYER_LAST; /* invalid value */
window->stack_position = -1;
window->initial_workspace = 0; /* not used */