Skip to content

Commit

Permalink
refactor: refactor server
Browse files Browse the repository at this point in the history
  • Loading branch information
werererer committed Dec 31, 2023
1 parent d48d263 commit 2dc0400
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
1 change: 1 addition & 0 deletions include/utils/coreUtils.h
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,7 @@ typedef GPtrArray GPtrArray2D;
// version management
#define WL_COMPOSITOR_VERSION 6
#define LAYER_SHELL_VERSION 4
#define XDG_SHELL_VERSION 2

#define foreach(item, array)\
for(int keep = 1, count = 0, size = LENGTH(array); keep && count < size; keep = 1, count++)\
Expand Down
2 changes: 0 additions & 2 deletions src/server.c
Original file line number Diff line number Diff line change
Expand Up @@ -38,8 +38,6 @@
#include "xdg_shell.h"
#include "container.h"

#define XDG_SHELL_VERSION 2

struct server server;

static void setup_event_handlers(struct server *server);
Expand Down

0 comments on commit 2dc0400

Please sign in to comment.