From d598fa82684f00fcc958502170a445e66a427ef9 Mon Sep 17 00:00:00 2001 From: Ivan Kanakarakis Date: Mon, 9 Jul 2012 22:53:33 +0300 Subject: rework mousemotion function - do not unset fullscreen state either way, this can only be done by the client. if the wm wishes the client to toggle fullscreen state the wm should send an appropriate XEvent, and not just change the property for the client. --- monsterwm.c | 1 - 1 file changed, 1 deletion(-) diff --git a/monsterwm.c b/monsterwm.c index 46dadaa..a5ccbe1 100644 --- a/monsterwm.c +++ b/monsterwm.c @@ -556,7 +556,6 @@ void mousemotion(const Arg *arg) { int rx, ry, c, xw, yh; unsigned int m; Window w; XQueryPointer(dis, root, &w, &w, &rx, &ry, &c, &c, &m); - if (d->curr->isfull) setfullscreen(d->curr, False); if (!d->curr->isfloat && !d->curr->istrans) { d->curr->isfloat = True; tile(d); focus(d->curr, d); } do { -- cgit v1.3.1