patch 9.2.0128: Wayland: using _Boolean instead of bool type
Commit:
https://github.com/vim/vim/commit/1f1b86ac60f9d7f0ace60304f839433ff95df9a4
Author: Christoffer Aasted <[email protected]>
Date: Mon Mar 9 18:33:51 2026 +0000
patch 9.2.0128: Wayland: using _Boolean instead of bool type
Problem: Wayland: using _Boolean instead of bool type
Solution: Change type of variable (Christoffer Aasted).
related: #19473
closes: #19610
Signed-off-by: Christoffer Aasted <[email protected]>
Signed-off-by: Christian Brabandt <[email protected]>
diff --git a/src/gui_gtk_x11.c b/src/gui_gtk_x11.c
index 785d3069c..21e8768ab 100644
--- a/src/gui_gtk_x11.c
+++ b/src/gui_gtk_x11.c
@@ -6936,7 +6936,7 @@ gui_gtk_surface_copy_rect(int dest_x, int dest_y,
static int scratch_h = 0;
int last_row = Rows - 1;
int last_row_y = last_row * gui.char_height;
- _Bool last_row_overlap = (dest_y + height) > last_row_y;
+ bool last_row_overlap = (dest_y + height) > last_row_y;
if (gui.is_wayland && ( !(State & MODE_CMDLINE) || !last_row_overlap) )
{
/*
diff --git a/src/version.c b/src/version.c
index 47c695c44..1526bc451 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 */
+/**/
+ 128,
/**/
127,
/**/
--
--
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/E1vzfbD-00Eofs-8e%40256bit.org.