equal
deleted
inserted
replaced
116 return; |
116 return; |
117 } |
117 } |
118 } |
118 } |
119 } |
119 } |
120 else if((c = getclient(ev->window))) { |
120 else if((c = getclient(ev->window))) { |
121 higher(c); |
|
122 focus(c); |
121 focus(c); |
123 switch(ev->button) { |
122 switch(ev->button) { |
124 default: |
123 default: |
125 break; |
124 break; |
126 case Button1: |
125 case Button1: |
127 if(!c->ismax && (arrange == dofloat || c->isfloat)) |
126 if(!c->ismax && (arrange == dofloat || c->isfloat)) { |
|
127 restack(c); |
128 movemouse(c); |
128 movemouse(c); |
|
129 } |
129 break; |
130 break; |
130 case Button2: |
131 case Button2: |
131 zoom(NULL); |
132 zoom(NULL); |
132 break; |
133 break; |
133 case Button3: |
134 case Button3: |
134 if(!c->ismax && (arrange == dofloat || c->isfloat)) |
135 if(!c->ismax && (arrange == dofloat || c->isfloat)) { |
|
136 restack(c); |
135 resizemouse(c); |
137 resizemouse(c); |
|
138 } |
136 break; |
139 break; |
137 } |
140 } |
138 } |
141 } |
139 } |
142 } |
140 |
143 |