Got questions, comments, patches, etc.?
Contact Jason Woofenden
gitweb
/
dwm.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
removed uneccessary line
[dwm.git]
/
dwm.c
diff --git
a/dwm.c
b/dwm.c
index
ed7fc0d
..
37e833e
100644
(file)
--- a/
dwm.c
+++ b/
dwm.c
@@
-330,7
+330,7
@@
buttonpress(XEvent *e) {
x = bgw;
for(i = 0; i < LENGTH(tags); i++) {
x += textw(tags[i]);
x = bgw;
for(i = 0; i < LENGTH(tags); i++) {
x += textw(tags[i]);
- if(ev->x > bgw && ev->x < x) {
+ if(ev->x >= bgw && ev->x < x) {
if(ev->button == Button1) {
if(ev->state & MODKEY)
tag(tags[i]);
if(ev->button == Button1) {
if(ev->state & MODKEY)
tag(tags[i]);
@@
-1467,7
+1467,7
@@
void
setmfact(const char *arg) {
double delta;
setmfact(const char *arg) {
double delta;
- if(!arg)
+ if(!arg || lt->isfloating)
return;
delta = strtod(arg, NULL);
if(arg[0] == '-' || arg[0] == '+') {
return;
delta = strtod(arg, NULL);
if(arg[0] == '-' || arg[0] == '+') {