Skip to content

display: Reset all grab properties after a grab op

Jonas Dreßler requested to merge verdre/mutter:reset-grab-properties into master

Make sure to reset all the state that was set for an interactive grab op back to the defaults after a grab op has ended.

Especially important here is setting grab_frame_action back to FALSE, since this will constrain window-titlebars to the panel. We set this to TRUE on some grabs, for example when resizing, but not when moving windows. Since this remained being set to TRUE, it would also constrain non-grab window movements, like calling MetaWindow.move_frame(), which is used by gnome-shells OSK. By resetting it back to FALSE after a grab, the OSK can now always move non-maximized windows to the position it wants.

Merge request reports