diff options
| -rw-r--r-- | monsterwm.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/monsterwm.c b/monsterwm.c index 1299337..bc0dbad 100644 --- a/monsterwm.c +++ b/monsterwm.c @@ -150,8 +150,7 @@ void addwindow(Window w) { head = c; } - (current = c)->win = w; - XSelectInput(dis, c->win, PropertyChangeMask); + XSelectInput(dis, ((current = c)->win = w), PropertyChangeMask); if (FOLLOW_MOUSE) XSelectInput(dis, c->win, EnterWindowMask); } |
