Xinqi Bao's Git
projects
/
dwm.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
raw
|
inline
| side by side
removed useless abs() calls
[dwm.git]
/
view.c
diff --git
a/view.c
b/view.c
index
daf0711
..
85bfabf
100644
(file)
--- a/
view.c
+++ b/
view.c
@@
-44,6
+44,9
@@
reorder(void) {
static void
togglemax(Client *c) {
XEvent ev;
static void
togglemax(Client *c) {
XEvent ev;
+
+ if(c->isfixed)
+ return;
if((c->ismax = !c->ismax)) {
c->rx = c->x; c->x = sx;
if((c->ismax = !c->ismax)) {
c->rx = c->x; c->x = sx;