diff options
| author | Ivan Kanakarakis <ivan.kanak@gmail.com> | 2012-07-09 22:53:33 +0300 |
|---|---|---|
| committer | Ivan Kanakarakis <ivan.kanak@gmail.com> | 2012-07-20 18:52:17 +0300 |
| commit | d598fa82684f00fcc958502170a445e66a427ef9 (patch) | |
| tree | 810917bc285ddd6d6331894659a741276e5685bd | |
| parent | b9a58cfc42d79619b088281c713f6f4f63e9d26a (diff) | |
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.
| -rw-r--r-- | monsterwm.c | 1 |
1 files changed, 0 insertions, 1 deletions
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 { |
