From: root Date: Sat, 30 Jun 2007 18:10:41 +0000 (+0000) Subject: experimental change for mappingnotify fix X-Git-Url: http://git.openbox.org/?a=commitdiff_plain;h=67e861fbd4bdccade468746950b04e024f7bb578;p=dana%2Furxvt.git experimental change for mappingnotify fix --- diff --git a/src/command.C b/src/command.C index 5fcd2f05..f5c2b492 100644 --- a/src/command.C +++ b/src/command.C @@ -1437,10 +1437,6 @@ rxvt_term::x_cb (XEvent &ev) } break; - case MappingNotify: - XRefreshKeyboardMapping (&ev.xmapping); - break; - /* * XXX: this is not the _current_ arrangement * Here's my conclusion: diff --git a/src/rxvttoolkit.C b/src/rxvttoolkit.C index 3fca7767..16ec56fa 100644 --- a/src/rxvttoolkit.C +++ b/src/rxvttoolkit.C @@ -561,6 +561,9 @@ void rxvt_display::x_cb (io_watcher &w, short revents) && xev.xproperty.atom == xa[XA_XIM_SERVERS]) im_change_check (); #endif + if (xev.type == MappingNotify) + XRefreshKeyboardMapping (&xev.xmapping); + for (int i = xw.size (); i--; ) { if (!xw[i])