mirror of
https://github.com/brl/mutter.git
synced 2024-11-25 09:30:45 -05:00
Give me back my keys.
2003-02-28 Mark McLoughlin <mark@skynet.ie> Give me back my keys. * src/keybindings.c: (meta_window_grab_keys): don't grab keys on DOCK windows. * src/window.c: (recalc_window_type): re-grab the keys.
This commit is contained in:
parent
4e96dd7ea6
commit
6094763def
10
ChangeLog
10
ChangeLog
@ -1,3 +1,13 @@
|
|||||||
|
2003-02-28 Mark McLoughlin <mark@skynet.ie>
|
||||||
|
|
||||||
|
Give me back my keys.
|
||||||
|
|
||||||
|
* src/keybindings.c: (meta_window_grab_keys): don't
|
||||||
|
grab keys on DOCK windows.
|
||||||
|
|
||||||
|
* src/window.c: (recalc_window_type): re-grab the
|
||||||
|
keys.
|
||||||
|
|
||||||
2003-02-26 Dmitry G. Mastrukov <dmitry@taurussoft.org>
|
2003-02-26 Dmitry G. Mastrukov <dmitry@taurussoft.org>
|
||||||
|
|
||||||
* configure.in: Added Belarusian to ALL_LINGUAS.
|
* configure.in: Added Belarusian to ALL_LINGUAS.
|
||||||
|
@ -1081,6 +1081,14 @@ meta_window_grab_keys (MetaWindow *window)
|
|||||||
if (window->all_keys_grabbed)
|
if (window->all_keys_grabbed)
|
||||||
return;
|
return;
|
||||||
|
|
||||||
|
if (window->type == META_WINDOW_DOCK)
|
||||||
|
{
|
||||||
|
if (window->keys_grabbed)
|
||||||
|
ungrab_all_keys (window->display, window->xwindow);
|
||||||
|
window->keys_grabbed = FALSE;
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
if (window->keys_grabbed)
|
if (window->keys_grabbed)
|
||||||
{
|
{
|
||||||
if (window->frame && !window->grab_on_frame)
|
if (window->frame && !window->grab_on_frame)
|
||||||
|
@ -5370,6 +5370,8 @@ recalc_window_type (MetaWindow *window)
|
|||||||
|
|
||||||
/* update stacking constraints */
|
/* update stacking constraints */
|
||||||
meta_window_update_layer (window);
|
meta_window_update_layer (window);
|
||||||
|
|
||||||
|
meta_window_grab_keys (window);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user