]> git.mdlowis.com Git - proto/labwc.git/commitdiff
server.c: prefix protocol version define with LAB_
authorConsolatis <35009135+Consolatis@users.noreply.github.com>
Fri, 13 Jun 2025 15:23:37 +0000 (17:23 +0200)
committerJohan Malm <johanmalm@users.noreply.github.com>
Fri, 13 Jun 2025 16:44:16 +0000 (17:44 +0100)
src/server.c

index 2a4698b05fb09f70b92371881f21b76cca1bbd47..a9135b09355f72a6d06a636aa6241b7f39409715 100644 (file)
 #include "workspaces.h"
 #include "xwayland.h"
 
+#define LAB_EXT_FOREIGN_TOPLEVEL_LIST_VERSION 1
 #define LAB_WLR_COMPOSITOR_VERSION 6
 #define LAB_WLR_FRACTIONAL_SCALE_V1_VERSION 1
 #define LAB_WLR_LINUX_DMABUF_VERSION 4
-#define EXT_FOREIGN_TOPLEVEL_LIST_VERSION 1
 #define LAB_WLR_PRESENTATION_TIME_VERSION 2
 
 static void
@@ -677,7 +677,7 @@ server_init(struct server *server)
 
        server->foreign_toplevel_list =
                wlr_ext_foreign_toplevel_list_v1_create(
-                       server->wl_display, EXT_FOREIGN_TOPLEVEL_LIST_VERSION);
+                       server->wl_display, LAB_EXT_FOREIGN_TOPLEVEL_LIST_VERSION);
 
        session_lock_init(server);