mirror of
https://github.com/DreamMaoMao/maomaowm.git
synced 2025-11-01 22:58:44 -04:00
opt: Avoid shaking of the unmanged window position
This commit is contained in:
parent
5aaf8d7625
commit
7ec47d95b1
1 changed files with 2 additions and 2 deletions
|
|
@ -4532,8 +4532,8 @@ mapnotify(struct wl_listener *listener, void *data) {
|
|||
if (client_is_unmanaged(c)) {
|
||||
/* Unmanaged clients always are floating */
|
||||
wlr_scene_node_reparent(&c->scene->node, layers[LyrFloat]);
|
||||
wlr_scene_node_set_position(&c->scene->node, c->geom.x + borderpx,
|
||||
c->geom.y + borderpx);
|
||||
wlr_scene_node_set_position(&c->scene->node, c->geom.x,
|
||||
c->geom.y);
|
||||
if (client_wants_focus(c)) {
|
||||
focusclient(c, 1);
|
||||
exclusive_focus = c;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue