projects
/
dana
/
urxvt.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c94ab80
)
experimental change for mappingnotify fix
author
root
<root>
Sat, 30 Jun 2007 18:10:41 +0000
(18:10 +0000)
committer
root
<root>
Sat, 30 Jun 2007 18:10:41 +0000
(18:10 +0000)
src/command.C
patch
|
blob
|
history
src/rxvttoolkit.C
patch
|
blob
|
history
diff --git
a/src/command.C
b/src/command.C
index
5fcd2f0
..
f5c2b49
100644
(file)
--- 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
3fca776
..
16ec56f
100644
(file)
--- 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])