0.16.0 [2020-01-28] - A new Marks feature that allows highlighting and scrolling to arbitrary text in the terminal window. - hints kitten: Allow pressing ctrl+shift+p>n to quickly open the selected file at the selected line in vim or a configurable editor (#2268) - Allow having more than one full height window in the tall layout (#2276) - Allow choosing OpenType features for individual fonts via the font_features option. (#2248) - Wayland: Fix a freeze in rare circumstances when having multiple OS Windows (#2307 and #1722) - Wayland: Fix window titles being set to very long strings on the order of 8KB causing a crash (#1526) - Add an option force_ltr to turn off the display of text in RTL scripts in right-to-left order (#2293) - Allow opening new tabs/windows before the current tab/window as well as after it with the launch --location option. - Add a resize_in_steps option that can be used to resize the OS window in steps as large as character cells (#2131) - When triple-click+dragging to select multiple lines, extend the selection of the first line to match the rest on the left (#2284) - macOS: Add a titlebar-only setting to hide_window_decorations to only hide the title bar (#2286) - Fix a segfault when using kitty --debug-config with maps (#2270) - goto_tab now maps numbers larger than the last tab to the last tab (#2291) - Fix URL detection not working for urls of the form scheme:///url (#2292) - When windows are semi-transparent and all contain graphics, correctly render them. (#2310)
20 lines
428 B
C
20 lines
428 B
C
$NetBSD: patch-glfw_wl__init.c,v 1.1 2020/02/26 15:47:14 nia Exp $
|
|
|
|
Support non-evdev platforms.
|
|
|
|
--- glfw/wl_init.c.orig 2019-11-27 04:25:00.000000000 +0000
|
|
+++ glfw/wl_init.c
|
|
@@ -48,8 +48,11 @@
|
|
#elif __has_include(<dev/evdev/input.h>)
|
|
#include <dev/evdev/input.h>
|
|
#endif
|
|
-#else
|
|
-#include <linux/input.h>
|
|
+#endif
|
|
+#ifndef BTN_LEFT
|
|
+#define BTN_LEFT (0x110)
|
|
+#define BTN_RIGHT (0x111)
|
|
+#define BTN_MIDDLE (0x112)
|
|
#endif
|
|
|
|
|