[uim-commit] r2245 - trunk/xim

ekato at freedesktop.org ekato at freedesktop.org
Wed Nov 23 07:55:41 PST 2005


Author: ekato
Date: 2005-11-23 07:55:35 -0800 (Wed, 23 Nov 2005)
New Revision: 2245

Modified:
   trunk/xim/main.cpp
   trunk/xim/ximserver.cpp
Log:
* xim/main.cpp (ProcXEvent) : Handle MappingNotify.
* xim/ximserver.cpp : Remove redundant include file.


Modified: trunk/xim/main.cpp
===================================================================
--- trunk/xim/main.cpp	2005-11-23 09:37:26 UTC (rev 2244)
+++ trunk/xim/main.cpp	2005-11-23 15:55:35 UTC (rev 2245)
@@ -306,6 +306,10 @@
     case ClientMessage:
 	procXClientMessage(&e->xclient);
 	break;
+    case MappingNotify:
+	XRefreshKeyboardMapping((XMappingEvent *)e);
+	init_modifier_keys();
+	break;
     default:;
 	//printf("unknown type of X event. %d\n", e->type);
     }

Modified: trunk/xim/ximserver.cpp
===================================================================
--- trunk/xim/ximserver.cpp	2005-11-23 09:37:26 UTC (rev 2244)
+++ trunk/xim/ximserver.cpp	2005-11-23 15:55:35 UTC (rev 2245)
@@ -41,7 +41,6 @@
 #include <locale.h>
 #include <X11/Xlib.h>
 #include <X11/Xatom.h>
-#include <X11/Xlib.h>
 #include <X11/Xutil.h>
 #include <X11/keysymdef.h>
 



More information about the uim-commit mailing list