- changed status to resolved
Setting a win to full when no window is present causes a segfault
I accidentally hit my shortcut for dkcmd win full
when I was on an empty workspace. This killed dk. I’ve tried it a few more times to make sure it wasn’t a one-off and this happens reliably.
Here’s some output from ~/.xsession-errors.
/home/sagotsky/scripts/wm.sh: line 21: 1709234 Segmentation fault (core dumped) ~/bin/dk
I tried sleep 3 ; dkcmd win full
and then swapped to a blank workspace. dkcmd
completes with a 0 exit status and no ouptput.
This is only a minor annoyance for me. I run my WMs in a loop so they come back fairly quickly and I don’t lose any of my work. I’m probably in the minority in that regard though.
Comments (4)
-
repo owner -
repo owner This should now be fixed with d333589
Thanks for finding it.
-
reporter TY for the quick fix! LGTM
-
repo owner Update README, move sxhkdrc to dk folder avoiding collisions, see
#8→ <<cset a7e21dc97df8>>
- Log in to comment
Fix: Issue
#8- crash on win commands when on empty workspace→ <<cset d3335892797f>>