window: Warn if try to focus unmanaging windows
https://gitlab.gnome.org/GNOME/mutter/merge_requests/307
This commit is contained in:
parent
f71151a5dd
commit
e14613e74e
@ -8518,6 +8518,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…
Reference in New Issue
Block a user