comparison src/os_unix.c @ 34238:995b539939c4 v9.1.0064

patch 9.1.0064: No Wayland support Commit: https://github.com/vim/vim/commit/6e0a18f82bd04a45e9682523c42af9cbbc37684c Author: lilydjwg <lilydjwg@gmail.com> Date: Mon Jan 29 20:54:28 2024 +0100 patch 9.1.0064: No Wayland support Problem: No Wayland support Solution: Add Wayland UI support (lilydjwg) closes: #9639 Signed-off-by: lilydjwg <lilydjwg@gmail.com> Signed-off-by: Christian Brabandt <cb@256bit.org>
author Christian Brabandt <cb@256bit.org>
date Mon, 29 Jan 2024 21:15:05 +0100
parents 1629cc65d78d
children fc2c34371f5c
comparison
equal deleted inserted replaced
34237:ee5646ba0689 34238:995b539939c4
2318 * if the window ID and the display is known, we may use X11 calls 2318 * if the window ID and the display is known, we may use X11 calls
2319 */ 2319 */
2320 #ifdef FEAT_X11 2320 #ifdef FEAT_X11
2321 if (get_x11_windis() == OK) 2321 if (get_x11_windis() == OK)
2322 type = 1; 2322 type = 1;
2323 #else 2323 #endif
2324 # if defined(FEAT_GUI_PHOTON) \ 2324 #if defined(FEAT_GUI_PHOTON) \
2325 || defined(FEAT_GUI_GTK) || defined(FEAT_GUI_HAIKU) 2325 || defined(FEAT_GUI_GTK) || defined(FEAT_GUI_HAIKU)
2326 if (gui.in_use) 2326 if (gui.in_use)
2327 type = 1; 2327 type = 1;
2328 # endif
2329 #endif 2328 #endif
2330 2329
2331 /* 2330 /*
2332 * Note: if "t_ts" is set, title is set with escape sequence rather 2331 * Note: if "t_ts" is set, title is set with escape sequence rather
2333 * than x11 calls, because the x11 calls don't always work 2332 * than x11 calls, because the x11 calls don't always work