summaryrefslogtreecommitdiff
path: root/src/modules/ecore/immodules/scim/scim_imcontext.cpp
diff options
context:
space:
mode:
authorJihoon Kim <imfine98@gmail.com>2012-12-09 12:36:35 +0000
committerJihoon Kim <imfine98@gmail.com>2012-12-09 12:36:35 +0000
commit7de7a2464449b228cb324b5905943256cb5e2cf6 (patch)
tree66eeca948585c997cd166e605e37a1faa3db92a1 /src/modules/ecore/immodules/scim/scim_imcontext.cpp
parente13743279f65e4a206dd891ba64a3f38d61cc751 (diff)
scim-immodule: fix wrong parameter name
SVN revision: 80549
Diffstat (limited to '')
-rw-r--r--src/modules/ecore/immodules/scim/scim_imcontext.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/modules/ecore/immodules/scim/scim_imcontext.cpp b/src/modules/ecore/immodules/scim/scim_imcontext.cpp
index 3369f1c68a..036b8a2bdb 100644
--- a/src/modules/ecore/immodules/scim/scim_imcontext.cpp
+++ b/src/modules/ecore/immodules/scim/scim_imcontext.cpp
@@ -120,7 +120,7 @@ static void initialize_modifier_bits (Display *display);
120static unsigned int scim_x11_keymask_scim_to_x11 (Display *display, uint16 scimkeymask); 120static unsigned int scim_x11_keymask_scim_to_x11 (Display *display, uint16 scimkeymask);
121static XKeyEvent createKeyEvent (Display *display, Window &win, 121static XKeyEvent createKeyEvent (Display *display, Window &win,
122 Window &winRoot, bool press, 122 Window &winRoot, bool press,
123 int keycode, int modifiers); 123 int keysym, int modifiers);
124static void _x_send_key_event (const KeyEvent &key); 124static void _x_send_key_event (const KeyEvent &key);
125 125
126static void attach_instance (const IMEngineInstancePointer &si); 126static void attach_instance (const IMEngineInstancePointer &si);
@@ -2383,7 +2383,7 @@ static unsigned int scim_x11_keymask_scim_to_x11(Display *display, uint16 scimke
2383 2383
2384static XKeyEvent createKeyEvent(Display *display, Window &win, 2384static XKeyEvent createKeyEvent(Display *display, Window &win,
2385 Window &winRoot, bool press, 2385 Window &winRoot, bool press,
2386 int keycode, int modifiers) 2386 int keysym, int modifiers)
2387{ 2387{
2388 SCIM_DEBUG_FRONTEND(1) << __FUNCTION__ << "...\n"; 2388 SCIM_DEBUG_FRONTEND(1) << __FUNCTION__ << "...\n";
2389 2389
@@ -2400,7 +2400,7 @@ static XKeyEvent createKeyEvent(Display *display, Window &win,
2400 event.y_root = 1; 2400 event.y_root = 1;
2401 event.same_screen = EINA_TRUE; 2401 event.same_screen = EINA_TRUE;
2402 event.state = modifiers; 2402 event.state = modifiers;
2403 event.keycode = XKeysymToKeycode(display, keycode); 2403 event.keycode = XKeysymToKeycode(display, keysym);
2404 if (press) 2404 if (press)
2405 event.type = KeyPress; 2405 event.type = KeyPress;
2406 else 2406 else