mirror of
https://github.com/brl/mutter.git
synced 2025-06-14 01:09:30 +00:00
select keypress/keyrelease events on root window, this may fix the bug
2002-06-08 Havoc Pennington <hp@pobox.com> * src/screen.c (meta_screen_new): select keypress/keyrelease events on root window, this may fix the bug where keybindings didn't work if you didn't have a focused window.
This commit is contained in:

committed by
Havoc Pennington

parent
be44a1d9a5
commit
538a06fd55
@ -204,6 +204,7 @@ meta_screen_new (MetaDisplay *display,
|
||||
ColormapChangeMask | PropertyChangeMask |
|
||||
LeaveWindowMask | EnterWindowMask |
|
||||
ButtonPressMask | ButtonReleaseMask |
|
||||
KeyPressMask | KeyReleaseMask |
|
||||
FocusChangeMask | attr.your_event_mask);
|
||||
if (meta_error_trap_pop (display) != Success)
|
||||
{
|
||||
|
Reference in New Issue
Block a user