mirror of
https://github.com/DreamMaoMao/maomaowm.git
synced 2026-06-30 13:14:45 -04:00
opt: remove useless code
This commit is contained in:
parent
06223fc5b6
commit
c2e24a1ece
1 changed files with 1 additions and 2 deletions
|
|
@ -190,8 +190,7 @@ void client_check_tab_node_visible(Client *c) {
|
||||||
while (cur) {
|
while (cur) {
|
||||||
if (!c->mon->isoverview && cur->group_bar &&
|
if (!c->mon->isoverview && cur->group_bar &&
|
||||||
(cur->group_next || cur->group_prev) && VISIBLEON(c, c->mon) &&
|
(cur->group_next || cur->group_prev) && VISIBLEON(c, c->mon) &&
|
||||||
ISNORMAL(c) && !c->isfullscreen &&
|
ISNORMAL(c) && !c->isfullscreen) {
|
||||||
(!is_monocle_layout(c->mon) || c == c->mon->sel)) {
|
|
||||||
wlr_scene_node_set_enabled(&cur->group_bar->scene_buffer->node,
|
wlr_scene_node_set_enabled(&cur->group_bar->scene_buffer->node,
|
||||||
true);
|
true);
|
||||||
} else {
|
} else {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue