index
:
dwm.git
master
My build of suckless dwm
summary
refs
log
tree
commit
diff
log msg
author
committer
range
diff options
context:
1
2
3
4
5
6
7
8
9
10
15
20
25
30
35
40
space:
include
ignore
mode:
unified
ssdiff
stat only
Diffstat
-rw-r--r--
dwm.c
2
1 files changed, 2 insertions, 0 deletions
diff --git a/dwm.c b/dwm.c
index 7a6b626..f3aa3d5 100644
--- a/
dwm.c
+++ b/
dwm.c
@@ -951,6 +951,8 @@ void
togglefocusfloat(const Arg *arg)
{
Client *c = NULL;
+ if (!selmon->sel)
+ return;
if(focusfloat) {
c = nexttiled(selmon->clients);