Also use dummy arg to togglefloating for mouseresizing
This commit is contained in:
parent
6ef4b8e741
commit
101e1783d8
2
event.c
2
event.c
|
@ -224,7 +224,7 @@ handle_event_buttonpress(XEvent * e, awesome_config *awesomeconf)
|
||||||
if((get_current_layout(awesomeconf[c->screen].tags,
|
if((get_current_layout(awesomeconf[c->screen].tags,
|
||||||
awesomeconf[c->screen].ntags)->arrange != layout_floating)
|
awesomeconf[c->screen].ntags)->arrange != layout_floating)
|
||||||
&& !c->isfloating)
|
&& !c->isfloating)
|
||||||
uicb_togglefloating(&awesomeconf[c->screen], NULL);
|
uicb_togglefloating(&awesomeconf[c->screen], "DUMMY");
|
||||||
else
|
else
|
||||||
restack(&awesomeconf[c->screen]);
|
restack(&awesomeconf[c->screen]);
|
||||||
resizemouse(c, awesomeconf);
|
resizemouse(c, awesomeconf);
|
||||||
|
|
Loading…
Reference in New Issue