See for details. Modified with further fixes from . From 95d15648fa375bb131ff897f0db03b764dabaf65 Mon Sep 17 00:00:00 2001 From: Kovid Goyal Date: Wed, 5 Jul 2023 10:29:33 +0530 Subject: [PATCH] Fix not building with wayland-protocols 1.32 Fix #6422 diff --git a/glfw/wl_platform.h b/glfw/wl_platform.h index f35b55e94..42c90b1fa 100644 --- a/glfw/wl_platform.h +++ b/glfw/wl_platform.h @@ -122,6 +122,7 @@ typedef enum WaylandWindowState { TOPLEVEL_STATE_TILED_RIGHT = 32, TOPLEVEL_STATE_TILED_TOP = 64, TOPLEVEL_STATE_TILED_BOTTOM = 128, + TOPLEVEL_STATE_SUSPENDED = 256, } WaylandWindowState; diff --git a/glfw/wl_window.c b/glfw/wl_window.c index f7e329609..23868154f 100644 --- a/glfw/wl_window.c +++ b/glfw/wl_window.c @@ -420,6 +420,9 @@ static void xdgToplevelHandleConfigure(void* data, 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 } } id=cb141aaf677ecd1fc846999cf3d091c021d6655e'>treecommitdiff
AgeCommit message (Expand)Author
2022-04-14daemon: Support systemd-style socket activation....* nix/nix-daemon/guix-daemon.cc (SD_LISTEN_FDS_START): New macro. (systemd_activation_sockets): New function. (main): Use it. Remove obsolete 'printMsg' call. * doc/guix.texi (Invoking guix-daemon): Document socket activation. Ludovic Courtès
2021-04-03daemon: Remove dead code....Reported by Noisytoot on #guix. * nix/nix-daemon/shared.hh (showManPage): Remove. * nix/nix-daemon/nix-daemon.cc (printHelp, programId): Remove. Ludovic Courtès
2021-03-17daemon: Correctly handle '--discover' with no value....Previously, we'd get: $ guix-daemon --discover error: basic_string::_M_construct null not valid * nix/nix-daemon/guix-daemon.cc (parse_opt): Change second argument to 'settings.set' to properly handle case where ARG is NULL. Ludovic Courtès
2020-11-29Use substitute servers on the local network....* guix/scripts/discover.scm: New file. * Makefile.am (MODULES): Add it. * nix/nix-daemon/guix-daemon.cc (options): Add "discover" option, (parse-opt): parse it, (main): start "guix discover" process when the option is set. * guix/scripts/substitute.scm (%local-substitute-urls): New variable, (substitute-urls): add it. * gnu/services/base.scm (<guix-configuration>): Add "discover?" field, (guix-shepherd-service): honor it. * doc/guix.texi (Invoking guix-daemon): Document "discover" option, (Base Services): ditto. Mathieu Othacehe