kitty/wayland-protocols-1.32.diff
Scott Bradnick 38cbaa23f2 Accepting request 1097531 from home:sbradnick:branches:X11:terminals
- Adding wayland-protocols-1.32.diff patch to account for 'compiler crashes'
  from wayland-protocols-devel update (#6422)
  * This is patched upstream via 95d1564 and 7d2dc25
- Removing -Wno-error=switch flag as this was a workaround to deal with
  scenario from above

- Renaming the following files:
  * fix-librsync-leap.{.patch -> .diff}
  * optional-disable-docs.{.patch -> diff}

- Set -Wno-error=switch flag to prevent compiler crashes for RISCV
  and ARM

- Cleaning up "wayland-devel obsoletes libwayland-egl-devel"
- Adding 'Recommends: python3-importlib_resources'

- Use python3.11 on Leap 15.5
  * python3.11 is the only python3 > 3.6 version would be shipped
    in Leap 15.5

OBS-URL: https://build.opensuse.org/request/show/1097531
OBS-URL: https://build.opensuse.org/package/show/X11:terminals/kitty?expand=0&rev=119
2023-07-07 15:39:05 +00:00

23 lines
765 B
Diff

--- glfw/wl_platform.h.smb 2023-07-06 12:27:14.522040038 -0400
+++ glfw/wl_platform.h 2023-07-06 12:28:00.202071997 -0400
@@ -125,6 +125,7 @@
TOPLEVEL_STATE_TILED_RIGHT = 32,
TOPLEVEL_STATE_TILED_TOP = 64,
TOPLEVEL_STATE_TILED_BOTTOM = 128,
+ TOPLEVEL_STATE_SUSPENDED = 256,
} WaylandWindowState;
typedef struct glfw_wl_xdg_activation_request {
--- glfw/wl_window.c.smb 2023-07-06 12:29:16.262125204 -0400
+++ glfw/wl_window.c 2023-07-06 12:30:46.422188255 -0400
@@ -529,6 +529,9 @@
C(TOPLEVEL_STATE_TILED_RIGHT);
C(TOPLEVEL_STATE_TILED_TOP);
C(TOPLEVEL_STATE_TILED_BOTTOM);
+#ifdef XDG_TOPLEVEL_STATE_SUSPENDED_SINCE_VERSION
+ C(TOPLEVEL_STATE_SUSPENDED);
+#endif
#undef C
}
}