mirror of
https://github.com/DreamMaoMao/maomaowm.git
synced 2026-07-03 00:06:47 -04:00
fix: Fix ignoring hidden clients
This commit is contained in:
parent
22ecd84225
commit
bffa140a78
3 changed files with 5 additions and 7 deletions
|
|
@ -661,8 +661,7 @@ struct ivec2 clip_to_hide(Client *c, struct wlr_box *clip_box) {
|
|||
(ISSCROLLTILED(c) || c->animation.tagouting || c->animation.tagining)) {
|
||||
c->is_clip_to_hide = true;
|
||||
wlr_scene_node_set_enabled(&c->scene->node, false);
|
||||
} else if (c->is_clip_to_hide && VISIBLEON(c, c->mon) &&
|
||||
!c->is_logic_hide) {
|
||||
} else if (c->is_clip_to_hide && VISIBLEON(c, c->mon)) {
|
||||
c->is_clip_to_hide = false;
|
||||
c->is_logic_hide = false;
|
||||
wlr_scene_node_set_enabled(&c->scene->node, true);
|
||||
|
|
|
|||
|
|
@ -45,8 +45,7 @@ void set_tagin_animation(Monitor *m, Client *c) {
|
|||
|
||||
void set_arrange_visible(Monitor *m, Client *c, bool want_animation) {
|
||||
|
||||
if ((!ISTILED(c) || (!c->is_clip_to_hide || !is_scroller_layout(c->mon))) &&
|
||||
!c->is_logic_hide) {
|
||||
if (!ISTILED(c) || (!c->is_clip_to_hide || !is_scroller_layout(c->mon))) {
|
||||
c->is_clip_to_hide = false;
|
||||
c->is_logic_hide = false;
|
||||
wlr_scene_node_set_enabled(&c->scene->node, true);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue