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
@ -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