patch 9.2.0038: Wayland: Not using bool type

Commit: 
https://github.com/vim/vim/commit/e998305ff2454238ed20b65653ab09900ae7df51
Author: Hirohito Higashi <[email protected]>
Date:   Sat Feb 21 10:36:13 2026 +0000

    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 <[email protected]>
    Signed-off-by: Christian Brabandt <[email protected]>

diff --git a/src/gui.c b/src/gui.c
index 9eef90f92..366168673 100644
--- a/src/gui.c
+++ b/src/gui.c
@@ -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
diff --git a/src/gui.h b/src/gui.h
index 2069e7486..875db148b 100644
--- a/src/gui.h
+++ b/src/gui.h
@@ -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
 
diff --git a/src/gui_gtk_x11.c b/src/gui_gtk_x11.c
index 073280898..63adebfc9 100644
--- a/src/gui_gtk_x11.c
+++ b/src/gui_gtk_x11.c
@@ -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.
diff --git a/src/version.c b/src/version.c
index 0ced1173e..871f3b239 100644
--- a/src/version.c
+++ b/src/version.c
@@ -734,6 +734,8 @@ static char *(features[]) =
 
 static int included_patches[] =
 {   /* Add new patch number below this line */
+/**/
+    38,
 /**/
     37,
 /**/

-- 
-- 
You received this message from the "vim_dev" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

--- 
You received this message because you are subscribed to the Google Groups 
"vim_dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion visit 
https://groups.google.com/d/msgid/vim_dev/E1vtkTv-005gaU-GF%40256bit.org.

Raspunde prin e-mail lui