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 (parent:
c8eaab2
)
fixed the tile() issue with xpdf
author
Anselm R Garbe
<garbeam@gmail.com>
Sun, 1 Jun 2008 16:51:22 +0000
(17:51 +0100)
committer
Anselm R Garbe
<garbeam@gmail.com>
Sun, 1 Jun 2008 16:51:22 +0000
(17:51 +0100)
dwm.c
patch
|
blob
|
history
diff --git
a/dwm.c
b/dwm.c
index
90ce40d
..
8930100
100644
(file)
--- a/
dwm.c
+++ b/
dwm.c
@@
-1442,13
+1442,13
@@
tile(void) {
/* master */
c = nexttiled(clients);
mw = mfact * ww;
/* master */
c = nexttiled(clients);
mw = mfact * ww;
- resize(c, wx, wy, ((n == 1) ? ww : mw) - 2 * c->bw, wh - 2 * c->bw, resizehints);
+ resize(c, wx, wy, (n == 1 ? ww : mw) - 2 * c->bw, wh - 2 * c->bw, resizehints);
if(--n == 0)
return;
/* tile stack */
if(--n == 0)
return;
/* tile stack */
- x = (wx + mw > c->x + c->w) ? c->x + c->w + 2 * c->bw : ww - mw;
+ x = (wx + mw > c->x + c->w) ? c->x + c->w + 2 * c->bw : wx + mw;
y = wy;
w = (wx + mw > c->x + c->w) ? wx + ww - x : ww - mw;
h = wh / n;
y = wy;
w = (wx + mw > c->x + c->w) ? wx + ww - x : ww - mw;
h = wh / n;