mirror of
https://github.com/brl/mutter.git
synced 2024-11-25 17:40:40 -05:00
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
|
gboolean
|
||||||
meta_window_is_focusable (MetaWindow *window)
|
meta_window_is_focusable (MetaWindow *window)
|
||||||
{
|
{
|
||||||
|
g_return_val_if_fail (!window->unmanaging, FALSE);
|
||||||
|
|
||||||
return META_WINDOW_GET_CLASS (window)->is_focusable (window);
|
return META_WINDOW_GET_CLASS (window)->is_focusable (window);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user