mirror of
https://github.com/brl/mutter.git
synced 2025-02-21 07:24:09 +00:00
window: Warn if try to focus unmanaging windows
https://gitlab.gnome.org/GNOME/mutter/merge_requests/307 (cherry picked from commit e14613e74e8c9bb8e08dc7a94e35a86c8baf7a01)
This commit is contained in:
parent
2db94e2e40
commit
5efb11acad
@ -8562,6 +8562,8 @@ meta_window_shortcuts_inhibited (MetaWindow *window,
|
||||
gboolean
|
||||
meta_window_is_focusable (MetaWindow *window)
|
||||
{
|
||||
g_return_val_if_fail (!window->unmanaging, FALSE);
|
||||
|
||||
return META_WINDOW_GET_CLASS (window)->is_focusable (window);
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user