From 29a67d193e8dbbb8985fbef4cc6f24589947b869 Mon Sep 17 00:00:00 2001 From: uint23 Date: Sat, 19 Apr 2025 20:57:18 +0100 Subject: adding workspace support --- src/sxwm.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'src/sxwm.c') diff --git a/src/sxwm.c b/src/sxwm.c index c2bf936..48af7ae 100644 --- a/src/sxwm.c +++ b/src/sxwm.c @@ -69,7 +69,9 @@ static Atom atom_net_wm_window_type_dock; static Atom atom_net_workarea; static Cursor c_normal, c_move, c_resize; -static Client *clients = NULL; +static Client *workspaces[NUM_WORKSPACES] = { NULL }; +static uint current_ws = 0; +static Client *clients = NULL; // TO BE REMOVED TODO static Client *drag_client = NULL; static Client *focused = NULL; static EventHandler evtable[LASTEvent]; -- cgit v1.2.3