summaryrefslogtreecommitdiff
path: root/default_sxwmrc
diff options
context:
space:
mode:
authorelbachir-one <bachiralfa@gmail.com>2025-06-07 03:50:35 +0100
committerelbachir-one <bachiralfa@gmail.com>2025-06-07 15:00:05 +0100
commitac10525a89a0349bc1b4fed5f48045fd3476762d (patch)
treefc28702df40d5b580b4c0e19a5f148f5dfcd52a6 /default_sxwmrc
parentac68ac42bf84b0ff3fc669708708de3b20549d3b (diff)
Fix memory leaks, buffer overflows, and add resource cleanup in parser()
- Fixed potential memory leaks in `should_float` allocation and exec command duplication. - Prevented buffer overflows by using `snprintf` and properly bounded copies. - Ensured all allocated memory is freed on parser failure for robust cleanup.
Diffstat (limited to 'default_sxwmrc')
-rw-r--r--default_sxwmrc2
1 files changed, 1 insertions, 1 deletions
diff --git a/default_sxwmrc b/default_sxwmrc
index 89cf67d..c0cb057 100644
--- a/default_sxwmrc
+++ b/default_sxwmrc
@@ -12,7 +12,7 @@ resize_stack_amt : 20
snap_distance : 5
motion_throttle : 60 # Set to screen refresh rate for smoothest motions
should_float : "pcmanfm"
-new_win_focus : true
+new_win_focus : true
warp_cursor : true
# Keybinds: