Last active
August 29, 2015 13:59
-
-
Save whitequark/10594137 to your computer and use it in GitHub Desktop.
Makes XCompose work in 64-bit Sublime Text build 3061 on Linux!
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Run as: $ GTK_IM_MODULE=xim gdb -script fix-xcompose-sublime-text-3061.gdb | |
file /opt/sublime_text/sublime_text | |
set follow-fork-mode child | |
set detach-on-fork off | |
run | |
inferior 2 | |
set follow-fork-mode parent | |
set detach-on-fork on | |
b *0x5b3267 | |
c | |
del 1 | |
set $multicontext = (GtkIMMulticontext*) $r13 | |
set $window = (GtkWindow*) $rbx | |
b gtk_widget_show if widget==$window | |
c | |
fin | |
del 2 | |
call gtk_im_context_set_client_window($multicontext,$window->bin.container.widget.window) | |
detach inferiors 1 2 | |
quit |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment