call arrange() or resize() depending on c->isfloating in commitnotify

このコミットが含まれているのは:
Leonardo Hernández Hernández 2022-12-12 10:51:03 -06:00
コミット 6682878009
この署名に対応する既知のキーがデータベースに存在しません
GPGキーID: E538897EE11B9624
1個のファイルの変更1行の追加1行の削除

2
dwl.c
ファイルの表示

@ -764,7 +764,7 @@ commitnotify(struct wl_listener *listener, void *data)
if (c->mon && !wlr_box_empty(&box) && (box.width != c->geom.width - 2 * c->bw
|| box.height != c->geom.height - 2 * c->bw))
arrange(c->mon);
c->isfloating ? resize(c, c->geom, 1) : arrange(c->mon);
/* mark a pending resize as completed */
if (c->resize && (c->resize <= c->surface.xdg->current.configure_serial