Got questions, comments, patches, etc.?
Contact Jason Woofenden
gitweb
/
dwm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (from parent 1:
c507ba6
)
monocle: don't resize windows when moving them offscreen
author
Jason Woofenden
<jason@jasonwoof.com>
Thu, 26 Mar 2015 01:24:49 +0000
(21:24 -0400)
committer
Jason Woofenden
<jason@jasonwoof.com>
Thu, 26 Mar 2015 01:24:49 +0000
(21:24 -0400)
dwm.c
patch
|
blob
|
history
diff --git
a/dwm.c
b/dwm.c
index
0a488fa
..
241c090
100644
(file)
--- a/
dwm.c
+++ b/
dwm.c
@@
-1205,7
+1205,8
@@
monocle(Monitor *m) {
if (c == m->sel) {
resize(c, m->wx, m->wy, m->ww - 2 * c->bw, m->wh - 2 * c->bw, False, 0);
} else {
if (c == m->sel) {
resize(c, m->wx, m->wy, m->ww - 2 * c->bw, m->wh - 2 * c->bw, False, 0);
} else {
- resize(c, m->wx, m->wy - 4000, m->ww - 2 * c->bw, m->wh - 2 * c->bw, False, 0);
+ // this window is should not be visible. move off top, but don't change h/w
+ resize(c, m->wx, m->wy - 4000, c->w, c->h, False, 0);
}
}
}
}
}
}