Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorXi Yan2018-06-19 11:01:27 +0000
committerXi Yan2018-06-26 13:51:48 +0000
commit3bf5e22438ca9d3c26eb07f25f363fdcf8344257 (patch)
tree003a780cbee9ab4545542ddd787f0e221d9be673 /bundles/org.eclipse.swt/Eclipse SWT PI/gtk/library/os_stats.c
parent913837c562a87a99024b3b1d5c815ed60dea5568 (diff)
downloadeclipse.platform.swt-3bf5e22438ca9d3c26eb07f25f363fdcf8344257.tar.gz
eclipse.platform.swt-3bf5e22438ca9d3c26eb07f25f363fdcf8344257.tar.xz
eclipse.platform.swt-3bf5e22438ca9d3c26eb07f25f363fdcf8344257.zip
Bug 302171 - Characters requiring <Alt Gr> cannot be generated using
Display.post(Event) 1) Added SWT.ALT_GR constant mapping to ISO_Level3_Shift (0xfe03). 2) Replaced OS.XTestFakeKeyEvent in Display.post, which only supported US keyboards, with gdk_test_simulate_key to simulate key event. Added the option to send key modifier together with key character in a single event to Display.post on GTK. Change-Id: I97311e639b612ac1f6aed23beb68034f40d211b1 Signed-off-by: Xi Yan <xixiyan@redhat.com>
Diffstat (limited to 'bundles/org.eclipse.swt/Eclipse SWT PI/gtk/library/os_stats.c')
-rw-r--r--bundles/org.eclipse.swt/Eclipse SWT PI/gtk/library/os_stats.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/bundles/org.eclipse.swt/Eclipse SWT PI/gtk/library/os_stats.c b/bundles/org.eclipse.swt/Eclipse SWT PI/gtk/library/os_stats.c
index db9ba58217..201a87c792 100644
--- a/bundles/org.eclipse.swt/Eclipse SWT PI/gtk/library/os_stats.c
+++ b/bundles/org.eclipse.swt/Eclipse SWT PI/gtk/library/os_stats.c
@@ -190,6 +190,7 @@ char * GDK_nativeFunctionNames[] = {
"_1gdk_1selection_1owner_1set",
"_1gdk_1set_1program_1class",
"_1gdk_1test_1simulate_1button",
+ "_1gdk_1test_1simulate_1key",
"_1gdk_1text_1property_1to_1utf8_1list_1for_1display",
"_1gdk_1unicode_1to_1keyval",
"_1gdk_1utf8_1to_1string_1target",
@@ -1282,14 +1283,12 @@ char * OS_nativeFunctionNames[] = {
"_1XDefaultRootWindow",
"_1XDefaultScreen",
"_1XFree",
- "_1XKeysymToKeycode",
"_1XQueryPointer",
"_1XSetErrorHandler",
"_1XSetIOErrorHandler",
"_1XSetInputFocus",
"_1XSetTransientForHint",
"_1XSynchronize",
- "_1XTestFakeKeyEvent",
"_1access",
"_1cachejvmptr",
#ifndef JNI64

Back to the top