mirror of
https://github.com/DreamMaoMao/maomaowm.git
synced 2026-06-30 13:14:45 -04:00
opt: logic hide client not need draw frame
This commit is contained in:
parent
869bafd26c
commit
58ab7ff4e7
1 changed files with 6 additions and 0 deletions
|
|
@ -5251,6 +5251,9 @@ void rendermon(struct wl_listener *listener, void *data) {
|
|||
}
|
||||
|
||||
wl_list_for_each_safe(c, tmp, &fadeout_clients, fadeout_link) {
|
||||
if (c->is_logic_hide)
|
||||
continue;
|
||||
|
||||
need_more_frames = client_draw_fadeout_frame(c) || need_more_frames;
|
||||
}
|
||||
|
||||
|
|
@ -5260,6 +5263,9 @@ void rendermon(struct wl_listener *listener, void *data) {
|
|||
|
||||
// 绘制客户端
|
||||
wl_list_for_each(c, &clients, link) {
|
||||
if (c->is_logic_hide)
|
||||
continue;
|
||||
|
||||
need_more_frames = client_draw_frame(c) || need_more_frames;
|
||||
if (!config.animations && !grabc && c->configure_serial &&
|
||||
client_is_rendered_on_mon(c, m)) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue