mirror of
https://github.com/brl/mutter.git
synced 2025-06-26 15:07:05 +00:00
core: Move accounting of "shaken_loose" to MetaWindowDrag
It's entirely accessed from there (besides reset and initialization), so can be completely taken there. Part-of: <https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/2683>
This commit is contained in:

committed by
Marge Bot

parent
39f1b6dca0
commit
b2ebe9c262
@ -530,9 +530,6 @@ struct _MetaWindow
|
||||
*/
|
||||
guint calc_placement : 1;
|
||||
|
||||
/* if TRUE, window was maximized at start of current grab op */
|
||||
guint shaken_loose : 1;
|
||||
|
||||
/* if TRUE we have a grab on the focus click buttons */
|
||||
guint have_focus_click_grab : 1;
|
||||
|
||||
|
@ -270,7 +270,6 @@ static void
|
||||
meta_window_real_grab_op_ended (MetaWindow *window,
|
||||
MetaGrabOp op)
|
||||
{
|
||||
window->shaken_loose = FALSE;
|
||||
}
|
||||
|
||||
static void
|
||||
@ -1093,7 +1092,6 @@ meta_window_constructed (GObject *object)
|
||||
window->user_time_window = None;
|
||||
window->input = TRUE;
|
||||
window->calc_placement = FALSE;
|
||||
window->shaken_loose = FALSE;
|
||||
window->have_focus_click_grab = FALSE;
|
||||
|
||||
window->unmaps_pending = 0;
|
||||
|
Reference in New Issue
Block a user