Mercurial > vim
comparison src/gui_gtk_x11.c @ 18671:df141c730008 v8.1.2327
patch 8.1.2327: cannot build with Hangul input
Commit: https://github.com/vim/vim/commit/546125869f2959480c9a0f6c448c2092d565ec15
Author: Bram Moolenaar <Bram@vim.org>
Date: Thu Nov 21 17:13:31 2019 +0100
patch 8.1.2327: cannot build with Hangul input
Problem: Cannot build with Hangul input.
Solution: Remove Hangul input support.
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Thu, 21 Nov 2019 17:15:04 +0100 |
parents | 9e6d5a4abb1c |
children | 79e10adc821d |
comparison
equal
deleted
inserted
replaced
18670:4658aa8e09fc | 18671:df141c730008 |
---|---|
1157 #ifdef FEAT_XIM | 1157 #ifdef FEAT_XIM |
1158 if (xim_queue_key_press_event(event, TRUE)) | 1158 if (xim_queue_key_press_event(event, TRUE)) |
1159 return TRUE; | 1159 return TRUE; |
1160 #endif | 1160 #endif |
1161 | 1161 |
1162 #ifdef FEAT_HANGULIN | |
1163 if (key_sym == GDK_space && (state & GDK_SHIFT_MASK)) | |
1164 { | |
1165 hangul_input_state_toggle(); | |
1166 return TRUE; | |
1167 } | |
1168 #endif | |
1169 | |
1170 #ifdef SunXK_F36 | 1162 #ifdef SunXK_F36 |
1171 /* | 1163 /* |
1172 * These keys have bogus lookup strings, and trapping them here is | 1164 * These keys have bogus lookup strings, and trapping them here is |
1173 * easier than trying to XRebindKeysym() on them with every possible | 1165 * easier than trying to XRebindKeysym() on them with every possible |
1174 * combination of modifiers. | 1166 * combination of modifiers. |
4386 highlight_gui_started(); /* re-init colors and fonts */ | 4378 highlight_gui_started(); /* re-init colors and fonts */ |
4387 | 4379 |
4388 g_signal_connect(G_OBJECT(gui.mainwin), "destroy", | 4380 g_signal_connect(G_OBJECT(gui.mainwin), "destroy", |
4389 G_CALLBACK(mainwin_destroy_cb), NULL); | 4381 G_CALLBACK(mainwin_destroy_cb), NULL); |
4390 | 4382 |
4391 #ifdef FEAT_HANGULIN | |
4392 hangul_keyboard_set(); | |
4393 #endif | |
4394 | |
4395 /* | 4383 /* |
4396 * Notify the fixed area about the need to resize the contents of the | 4384 * Notify the fixed area about the need to resize the contents of the |
4397 * gui.formwin, which we use for random positioning of the included | 4385 * gui.formwin, which we use for random positioning of the included |
4398 * components. | 4386 * components. |
4399 * | 4387 * |