mirror of
https://github.com/DreamMaoMao/maomaowm.git
synced 2026-05-19 21:38:07 -04:00
avoid useless action
This commit is contained in:
parent
ee2e21e20b
commit
d8d2952d56
1 changed files with 2 additions and 0 deletions
|
|
@ -2220,6 +2220,8 @@ void place_drag_tile_client(Client *c) {
|
||||||
closest->drop_direction == UP;
|
closest->drop_direction == UP;
|
||||||
dwindle_insert(&c->mon->pertag->dwindle_root[tag], c, closest,
|
dwindle_insert(&c->mon->pertag->dwindle_root[tag], c, closest,
|
||||||
config.dwindle_split_ratio, insert_before);
|
config.dwindle_split_ratio, insert_before);
|
||||||
|
setfloating(c, 0);
|
||||||
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (closest->drop_direction == LEFT || closest->drop_direction == UP) {
|
if (closest->drop_direction == LEFT || closest->drop_direction == UP) {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue