diff options
Diffstat (limited to 'src/gui_gtk_x11.c')
-rw-r--r-- | src/gui_gtk_x11.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gui_gtk_x11.c b/src/gui_gtk_x11.c index 518edaf04f..d4a8b93648 100644 --- a/src/gui_gtk_x11.c +++ b/src/gui_gtk_x11.c @@ -2065,7 +2065,7 @@ scroll_event(GtkWidget *widget, #endif #define DT_X11 1 #define DT_WAYLAND 2 - static display_type; + static int display_type; if (!display_type) display_type = gui_mch_get_display() ? DT_X11 : DT_WAYLAND; #endif |