mirror of
https://github.com/macvim-dev/macvim.git
synced 2026-05-28 00:21:57 +02:00
patch 9.2.0038: Wayland: Not using bool type
Problem: Wayland: Not using Boolean type (after v9.2.0010) Solution: Use bool type instead of int (Hirohito Higashi). closes: #19473 Signed-off-by: Hirohito Higashi <h.east.727@gmail.com> Signed-off-by: Christian Brabandt <cb@256bit.org>
This commit is contained in:
committed by
Christian Brabandt
parent
bd1dc5b1a6
commit
e998305ff2
@@ -484,7 +484,7 @@ gui_init_check(void)
|
||||
#else
|
||||
# ifdef FEAT_GUI_GTK
|
||||
# ifdef GDK_WINDOWING_WAYLAND
|
||||
gui.is_wayland = FALSE;
|
||||
gui.is_wayland = false;
|
||||
# endif
|
||||
/*
|
||||
* Note: Don't call gtk_init_check() before fork, it will be called after
|
||||
|
||||
@@ -390,7 +390,7 @@ typedef struct Gui
|
||||
|
||||
guint32 event_time;
|
||||
# ifdef GDK_WINDOWING_WAYLAND
|
||||
_Bool is_wayland; // active gdk backend in gtk is wayland
|
||||
bool is_wayland; // active gdk backend in gtk is wayland
|
||||
# endif
|
||||
#endif // FEAT_GUI_GTK
|
||||
|
||||
|
||||
+1
-1
@@ -4006,7 +4006,7 @@ gui_mch_init(void)
|
||||
#ifdef GDK_WINDOWING_WAYLAND
|
||||
GdkDisplay *d = gdk_display_get_default();
|
||||
if (GDK_IS_WAYLAND_DISPLAY(d))
|
||||
gui.is_wayland = TRUE;
|
||||
gui.is_wayland = true;
|
||||
#endif
|
||||
|
||||
// Determine which events we will filter.
|
||||
|
||||
@@ -734,6 +734,8 @@ static char *(features[]) =
|
||||
|
||||
static int included_patches[] =
|
||||
{ /* Add new patch number below this line */
|
||||
/**/
|
||||
38,
|
||||
/**/
|
||||
37,
|
||||
/**/
|
||||
|
||||
Reference in New Issue
Block a user