diff --git a/ChangeLog b/ChangeLog index 8038c0d7d..770cb563e 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2002-06-08 Havoc Pennington + + * 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. + 2002-06-08 Havoc Pennington * src/main.c (main): call meta_session_shutdown when exiting diff --git a/src/screen.c b/src/screen.c index 7ba62856d..758ddd558 100644 --- a/src/screen.c +++ b/src/screen.c @@ -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) {