mirror of
https://github.com/DreamMaoMao/maomaowm.git
synced 2025-10-31 22:25:29 -04:00
fix: client miss set visible when restore from mimimize in activate event
This commit is contained in:
parent
47cf6a1a84
commit
11da6487ad
1 changed files with 4 additions and 0 deletions
|
|
@ -7370,6 +7370,10 @@ void activatex11(struct wl_listener *listener, void *data) {
|
|||
c->is_in_scratchpad = 0;
|
||||
wlr_foreign_toplevel_handle_v1_set_minimized(c->foreign_toplevel, false);
|
||||
setborder_color(c);
|
||||
if (VISIBLEON(c, c->mon)) {
|
||||
wlr_scene_node_set_enabled(&c->scene->node, true);
|
||||
client_set_suspended(c, false);
|
||||
}
|
||||
}
|
||||
|
||||
if (focus_on_activate && c != selmon->sel) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue