diff options
| author | uint23 <abhinav.prsai@gmail.com> | 2025-04-19 20:57:18 +0100 |
|---|---|---|
| committer | uint23 <abhinav.prsai@gmail.com> | 2025-04-19 20:57:18 +0100 |
| commit | 29a67d193e8dbbb8985fbef4cc6f24589947b869 (patch) | |
| tree | 52e5a05190348713a61ba83adb586aa4952d8d73 /src/sxwm.c | |
| parent | 1ae8d76f4f49b6ae69844e9920b314d5c9f6b6b4 (diff) | |
adding workspace support
Diffstat (limited to 'src/sxwm.c')
| -rw-r--r-- | src/sxwm.c | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -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]; |
