Skip to content

Instantly share code, notes, and snippets.

@rururutan
rururutan / disable_quick_edit_mode.patch
Created October 3, 2017 12:57
Disable quick-edit mode when mouse mode is enabled.
--- os_win32.c.org Tue Oct 03 04:54:59 2017
+++ os_win32.c Tue Oct 03 09:01:05 2017
@@ -1068,6 +1068,8 @@
static int g_xMouse; /* mouse x coordinate */
static int g_yMouse; /* mouse y coordinate */
+static DWORD g_cmodein = 0;
+
/*
* Enable or disable mouse input
@rururutan
rururutan / emacs-25.2-w32-console-ime.patch
Created August 13, 2017 12:08
Emacs 25.2 IME patch for windows console
--- src/w32inevt.c.org Thu Apr 02 16:23:06 2015
+++ src/w32inevt.c Mon Jul 03 22:55:42 2017
@@ -75,7 +75,7 @@
}
/* Set by w32_console_toggle_lock_key. */
-int faked_key;
+int faked_key = -1;
static int