Setting a win to full when no window is present causes a segfault

Issue #8 resolved
Jon Sagotsky created an issue

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)

  1. Log in to comment