Also use dummy arg to togglefloating for mouseresizing

This commit is contained in:
Julien Danjou 2007-11-10 10:13:10 +01:00
parent 6ef4b8e741
commit 101e1783d8
1 changed files with 1 additions and 1 deletions

View File

@ -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);