aboutsummaryrefslogtreecommitdiffstats
path: root/x11/eterm/files/patch-src_windows.c
diff options
context:
space:
mode:
Diffstat (limited to 'x11/eterm/files/patch-src_windows.c')
-rw-r--r--x11/eterm/files/patch-src_windows.c16
1 files changed, 16 insertions, 0 deletions
diff --git a/x11/eterm/files/patch-src_windows.c b/x11/eterm/files/patch-src_windows.c
new file mode 100644
index 00000000000..6a481de2462
--- /dev/null
+++ b/x11/eterm/files/patch-src_windows.c
@@ -0,0 +1,16 @@
+
+$FreeBSD$
+
+--- src/windows.c.orig
++++ src/windows.c
+@@ -467,9 +467,7 @@
+ XClearWindow(Xdisplay, TermWin.vt);
+ }
+ XDefineCursor(Xdisplay, TermWin.vt, TermWin_cursor);
+- TermWin.mask = (KeyPressMask | EnterWindowMask | LeaveWindowMask | ExposureMask
+- | ButtonPressMask | ButtonReleaseMask | Button1MotionMask
+- | Button2MotionMask | Button3MotionMask);
++ TermWin.mask = (EnterWindowMask | LeaveWindowMask | ExposureMask | ButtonPressMask | ButtonReleaseMask | Button1MotionMask | Button2MotionMask | Button3MotionMask);
+ XSelectInput(Xdisplay, TermWin.vt, TermWin.mask);
+
+ /* If the user wants a specific desktop, tell the WM that */