mirror of
https://github.com/brl/mutter.git
synced 2024-11-21 15:40:41 -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>
|
||||
|
||||
* configure.in: Added Belarusian to ALL_LINGUAS.
|
||||
|
@ -1080,6 +1080,14 @@ meta_window_grab_keys (MetaWindow *window)
|
||||
{
|
||||
if (window->all_keys_grabbed)
|
||||
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)
|
||||
{
|
||||
|
@ -5370,6 +5370,8 @@ recalc_window_type (MetaWindow *window)
|
||||
|
||||
/* update stacking constraints */
|
||||
meta_window_update_layer (window);
|
||||
|
||||
meta_window_grab_keys (window);
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user