projects
/
suckless
/
dwm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0c5f47e
)
applied Jukkas patch
author
arg@mig29
<unknown>
Fri, 3 Nov 2006 07:29:39 +0000
(08:29 +0100)
committer
arg@mig29
<unknown>
Fri, 3 Nov 2006 07:29:39 +0000
(08:29 +0100)
view.c
patch
|
blob
|
history
diff --git
a/view.c
b/view.c
index abd8ca6cd0ad5a309517f340aaedcfcbb75cce89..0c9ea6f0374c3edab6e26934ca266c1f5016c8e3 100644
(file)
--- a/
view.c
+++ b/
view.c
@@
-196,9
+196,13
@@
isvisible(Client *c) {
void
resizemaster(Arg *arg) {
- if(master + arg->i > 950 || master + arg->i < 50)
- return;
- master += arg->i;
+ if(arg->i == 0)
+ master = MASTER;
+ else {
+ if(master + arg->i > 950 || master + arg->i < 50)
+ return;
+ master += arg->i;
+ }
arrange();
}