mirror of
https://github.com/brl/mutter.git
synced 2025-01-08 18:53:02 +00:00
window: Remove unused fields
Part-of: <https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/3584>
This commit is contained in:
parent
09fc3e966a
commit
bf5f597141
@ -344,7 +344,6 @@ struct _MetaWindow
|
|||||||
} current;
|
} current;
|
||||||
} placement;
|
} placement;
|
||||||
|
|
||||||
guint unmanage_idle_id;
|
|
||||||
guint close_dialog_timeout_id;
|
guint close_dialog_timeout_id;
|
||||||
|
|
||||||
pid_t client_pid;
|
pid_t client_pid;
|
||||||
@ -398,7 +397,6 @@ struct _MetaWindow
|
|||||||
|
|
||||||
/* Minimize is the state controlled by the minimize button */
|
/* Minimize is the state controlled by the minimize button */
|
||||||
guint minimized : 1;
|
guint minimized : 1;
|
||||||
guint tab_unminimized : 1;
|
|
||||||
|
|
||||||
/* Whether the window is mapped; actual server-side state
|
/* Whether the window is mapped; actual server-side state
|
||||||
* see also unmaps_pending
|
* see also unmaps_pending
|
||||||
|
@ -1046,7 +1046,6 @@ meta_window_constructed (GObject *object)
|
|||||||
window->tile_hfraction = -1.;
|
window->tile_hfraction = -1.;
|
||||||
window->initially_iconic = FALSE;
|
window->initially_iconic = FALSE;
|
||||||
window->minimized = FALSE;
|
window->minimized = FALSE;
|
||||||
window->tab_unminimized = FALSE;
|
|
||||||
window->iconic = FALSE;
|
window->iconic = FALSE;
|
||||||
window->known_to_compositor = FALSE;
|
window->known_to_compositor = FALSE;
|
||||||
window->visible_to_compositor = FALSE;
|
window->visible_to_compositor = FALSE;
|
||||||
@ -1398,7 +1397,6 @@ meta_window_unmanage (MetaWindow *window,
|
|||||||
window->unmanaging = TRUE;
|
window->unmanaging = TRUE;
|
||||||
|
|
||||||
g_clear_handle_id (&priv->suspend_timoeut_id, g_source_remove);
|
g_clear_handle_id (&priv->suspend_timoeut_id, g_source_remove);
|
||||||
g_clear_handle_id (&window->unmanage_idle_id, g_source_remove);
|
|
||||||
g_clear_handle_id (&window->close_dialog_timeout_id, g_source_remove);
|
g_clear_handle_id (&window->close_dialog_timeout_id, g_source_remove);
|
||||||
|
|
||||||
g_signal_emit (window, window_signals[UNMANAGING], 0);
|
g_signal_emit (window, window_signals[UNMANAGING], 0);
|
||||||
|
Loading…
Reference in New Issue
Block a user