113 Commits

Author SHA1 Message Date
653b5112ba add tests for wm_treenode_remove_client 2023-12-29 20:38:00 +01:00
3742a49f32 fix wm_treenode_remove_client 2023-12-29 20:34:04 +01:00
70d06f7888 rewrite NodeArray: use heap allocated struct pointer, remove unused ClientArray functions 2023-12-29 19:08:58 +01:00
ff1c32bb33 add test for wm_treenode_all_keyroots 2023-12-29 15:15:49 +01:00
8629efe06f implement wm_treenode_all_keyroots 2023-12-29 15:14:44 +01:00
d5c745f8e1 add Makefile target for running tests 2023-12-28 16:11:38 +01:00
eaecb59ba8 add tests for tree edit distance utility functions 2023-12-28 16:07:19 +01:00
a0f2f48ef2 implement tree edit distance utility functions 2023-12-28 15:59:07 +01:00
557a43e265 fix warnings 2023-11-25 14:02:07 +01:00
2ea1e96401 logging changes 2023-11-25 13:59:28 +01:00
62bf51d706 add pid field to client 2023-11-25 13:57:49 +01:00
f14a75b83e add wm state logging 2023-11-16 20:19:46 +01:00
35c5a820a1 implement moving client to workspace 2023-09-29 21:52:55 +02:00
3e5f29057f update ws_treenode_remove_node, add printing util function 2023-09-29 21:51:04 +02:00
f8bd395e50 add default keybinds for moving client to workspace 2023-09-29 21:49:52 +02:00
25dbe40cb3 add json-c to makefile libs 2023-09-29 21:39:47 +02:00
9e2070500a implement TreeNode to JSON conversion 2023-09-28 20:21:10 +02:00
0b878dd9d7 remove unused variables and functions 2023-09-17 15:36:28 +02:00
ee88d8a600 remove unused mstack layout function 2023-09-17 15:27:10 +02:00
c220aec518 add wm_treenode_to_str function, remove unnecessary wm_treenode_free 2023-09-17 15:25:40 +02:00
7b2e92d256 zero-initialize Client struct on allocation 2023-09-17 15:18:59 +02:00
56a7a98ed9 move debug flags to new variable, move address sanitizer flags to debug flags 2023-09-17 15:18:13 +02:00
1aace4baa9 add debug target 2023-09-12 19:54:08 +02:00
4d0e9218e5 update DEBUG_PRINT macro definition 2023-09-12 19:53:50 +02:00
588f9e0c60 clean up targets 2023-09-12 19:21:17 +02:00
3eee3ea684 add tests.c 2023-09-09 14:14:53 +02:00
f885f08dcc add targets for building tests 2023-09-09 14:13:51 +02:00
8c49238e95 implement moving clients directionally 2023-09-09 14:11:27 +02:00
449911a089 Merge branch 'treenode_heap' 2023-08-10 12:05:04 +02:00
57cfbe4496 fix client removal edge case 2023-08-10 12:02:43 +02:00
ce2fb27ccb fix XGetWMName leak 2023-08-10 12:01:38 +02:00
077c2b5f69 update TreeNode function usages to use pointers 2023-08-09 20:00:06 +02:00
b0f446a514 make TreeNode struct heap-allocated 2023-08-09 19:59:05 +02:00
beaa017c87 formatting: remove trailing whitespace and commented code 2023-07-06 16:07:29 +02:00
a0e2f2d7df add undefined behavior sanitizer and address sanitizer to Makefile 2023-07-06 14:57:29 +02:00
f822c400e5 replace old client linked list code 2023-07-06 14:54:33 +02:00
4b1a638633 fix memory leaks 2023-07-06 14:41:54 +02:00
cbd694b42c zero-initialize Wm struct 2023-07-05 22:36:55 +02:00
977a8df56b read config file, early return in wm_layout when there are no clients 2023-07-05 22:36:25 +02:00
c85bbd8f09 add config file implementation 2023-07-05 22:33:35 +02:00
f4aa263368 initialize client field to NULL in wm_treenode_new 2023-07-05 20:38:46 +02:00
72663656e4 swap assertions for if checks 2023-07-05 20:36:08 +02:00
f98f9e6826 move config-related variables and functions to config.c 2023-07-04 19:31:38 +02:00
12351bdf99 add config.h and config.c 2023-07-04 19:30:37 +02:00
6db707686a fix treenode removal edge case 2023-07-04 16:08:04 +02:00
3252773ff7 fix borders 2023-07-04 16:07:24 +02:00
bcbe755176 move setting supported ewmh atoms to new function 2023-07-03 18:07:46 +02:00
32d4a52800 fix workspace switching 2023-07-03 18:02:12 +02:00
784fd89cf8 move source files to src/ directory 2023-07-02 23:36:22 +02:00
6778471950 Merge branch 'tree' 2023-07-02 23:26:15 +02:00