comparison src/gui_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 3147c7c2e86b
children e1f4e9d78a6a
comparison
equal deleted inserted replaced
18670:4658aa8e09fc 18671:df141c730008
859 * easier than trying to XRebindKeysym() on them with every possible 859 * easier than trying to XRebindKeysym() on them with every possible
860 * combination of modifiers. 860 * combination of modifiers.
861 */ 861 */
862 if (key_sym == SunXK_F36 || key_sym == SunXK_F37) 862 if (key_sym == SunXK_F36 || key_sym == SunXK_F37)
863 len = 0; 863 len = 0;
864 #endif
865
866 #ifdef FEAT_HANGULIN
867 if ((key_sym == XK_space) && (ev_press->state & ShiftMask))
868 {
869 hangul_input_state_toggle();
870 goto theend;
871 }
872 #endif 864 #endif
873 865
874 if (key_sym == XK_space) 866 if (key_sym == XK_space)
875 string[0] = ' '; /* Otherwise Ctrl-Space doesn't work */ 867 string[0] = ' '; /* Otherwise Ctrl-Space doesn't work */
876 868
1636 1628
1637 /* Get the colors for the highlight groups (gui_check_colors() might have 1629 /* Get the colors for the highlight groups (gui_check_colors() might have
1638 * changed them) */ 1630 * changed them) */
1639 highlight_gui_started(); /* re-init colors and fonts */ 1631 highlight_gui_started(); /* re-init colors and fonts */
1640 1632
1641 #ifdef FEAT_HANGULIN
1642 hangul_keyboard_set();
1643 #endif
1644 #ifdef FEAT_XIM 1633 #ifdef FEAT_XIM
1645 xim_init(); 1634 xim_init();
1646 #endif 1635 #endif
1647 1636
1648 return OK; 1637 return OK;