forked from AuroraMiddleware/gtk
You don't get a XkbMapNotify event if you get a XkbNewKeyboardNotify
Fri Apr 18 14:15:09 2003 Owen Taylor <otaylor@redhat.com> * gdk/x11/gdkdisplay-x11.c (gdk_display_open): * gdk/x11/gdkevents-x11.c (gdk_event_translate): You don't get a XkbMapNotify event if you get a XkbNewKeyboardNotify event, so select for both. (#108406, Egmont Koblinger)
This commit is contained in:
parent
331b692e05
commit
0e815d2ff0
@ -1,3 +1,10 @@
|
||||
Fri Apr 18 14:15:09 2003 Owen Taylor <otaylor@redhat.com>
|
||||
|
||||
* gdk/x11/gdkdisplay-x11.c (gdk_display_open):
|
||||
* gdk/x11/gdkevents-x11.c (gdk_event_translate): You
|
||||
don't get a XkbMapNotify event if you get a XkbNewKeyboardNotify
|
||||
event, so select for both. (#108406, Egmont Koblinger)
|
||||
|
||||
Thu Apr 17 09:57:44 2003 Jonathan Blandford <jrb@gnome.org>
|
||||
|
||||
* gtk/gtktreeview.c (validate_visible_area): remove infinite loop
|
||||
|
@ -1,3 +1,10 @@
|
||||
Fri Apr 18 14:15:09 2003 Owen Taylor <otaylor@redhat.com>
|
||||
|
||||
* gdk/x11/gdkdisplay-x11.c (gdk_display_open):
|
||||
* gdk/x11/gdkevents-x11.c (gdk_event_translate): You
|
||||
don't get a XkbMapNotify event if you get a XkbNewKeyboardNotify
|
||||
event, so select for both. (#108406, Egmont Koblinger)
|
||||
|
||||
Thu Apr 17 09:57:44 2003 Jonathan Blandford <jrb@gnome.org>
|
||||
|
||||
* gtk/gtktreeview.c (validate_visible_area): remove infinite loop
|
||||
|
@ -1,3 +1,10 @@
|
||||
Fri Apr 18 14:15:09 2003 Owen Taylor <otaylor@redhat.com>
|
||||
|
||||
* gdk/x11/gdkdisplay-x11.c (gdk_display_open):
|
||||
* gdk/x11/gdkevents-x11.c (gdk_event_translate): You
|
||||
don't get a XkbMapNotify event if you get a XkbNewKeyboardNotify
|
||||
event, so select for both. (#108406, Egmont Koblinger)
|
||||
|
||||
Thu Apr 17 09:57:44 2003 Jonathan Blandford <jrb@gnome.org>
|
||||
|
||||
* gtk/gtktreeview.c (validate_visible_area): remove infinite loop
|
||||
|
@ -1,3 +1,10 @@
|
||||
Fri Apr 18 14:15:09 2003 Owen Taylor <otaylor@redhat.com>
|
||||
|
||||
* gdk/x11/gdkdisplay-x11.c (gdk_display_open):
|
||||
* gdk/x11/gdkevents-x11.c (gdk_event_translate): You
|
||||
don't get a XkbMapNotify event if you get a XkbNewKeyboardNotify
|
||||
event, so select for both. (#108406, Egmont Koblinger)
|
||||
|
||||
Thu Apr 17 09:57:44 2003 Jonathan Blandford <jrb@gnome.org>
|
||||
|
||||
* gtk/gtktreeview.c (validate_visible_area): remove infinite loop
|
||||
|
@ -1,3 +1,10 @@
|
||||
Fri Apr 18 14:15:09 2003 Owen Taylor <otaylor@redhat.com>
|
||||
|
||||
* gdk/x11/gdkdisplay-x11.c (gdk_display_open):
|
||||
* gdk/x11/gdkevents-x11.c (gdk_event_translate): You
|
||||
don't get a XkbMapNotify event if you get a XkbNewKeyboardNotify
|
||||
event, so select for both. (#108406, Egmont Koblinger)
|
||||
|
||||
Thu Apr 17 09:57:44 2003 Jonathan Blandford <jrb@gnome.org>
|
||||
|
||||
* gtk/gtktreeview.c (validate_visible_area): remove infinite loop
|
||||
|
@ -199,8 +199,8 @@ gdk_display_open (const gchar *display_name)
|
||||
|
||||
XkbSelectEvents (display_x11->xdisplay,
|
||||
XkbUseCoreKbd,
|
||||
XkbMapNotifyMask | XkbStateNotifyMask,
|
||||
XkbMapNotifyMask | XkbStateNotifyMask);
|
||||
XkbNewKeyboardNotifyMask | XkbMapNotifyMask | XkbStateNotifyMask,
|
||||
XkbNewKeyboardNotifyMask | XkbMapNotifyMask | XkbStateNotifyMask);
|
||||
|
||||
XkbSetDetectableAutoRepeat (display_x11->xdisplay,
|
||||
True,
|
||||
|
@ -1795,6 +1795,7 @@ gdk_event_translate (GdkDisplay *display,
|
||||
|
||||
switch (xkb_event->any.xkb_type)
|
||||
{
|
||||
case XkbNewKeyboardNotify:
|
||||
case XkbMapNotify:
|
||||
_gdk_keymap_keys_changed (display);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user