mirror of
https://github.com/DreamMaoMao/maomaowm.git
synced 2026-04-01 07:16:11 -04:00
fix: some app frame skip fail when disable animaitons
This commit is contained in:
parent
52703a638f
commit
ff18d96e9e
1 changed files with 3 additions and 2 deletions
|
|
@ -3752,6 +3752,7 @@ void locksession(struct wl_listener *listener, void *data) {
|
||||||
|
|
||||||
void init_client_properties(Client *c) {
|
void init_client_properties(Client *c) {
|
||||||
c->isfocusing = false;
|
c->isfocusing = false;
|
||||||
|
c->isfloating = 0;
|
||||||
c->ismaximizescreen = 0;
|
c->ismaximizescreen = 0;
|
||||||
c->isfullscreen = 0;
|
c->isfullscreen = 0;
|
||||||
c->need_float_size_reduce = 0;
|
c->need_float_size_reduce = 0;
|
||||||
|
|
@ -4377,8 +4378,8 @@ void rendermon(struct wl_listener *listener, void *data) {
|
||||||
wl_list_for_each(c, &clients, link) {
|
wl_list_for_each(c, &clients, link) {
|
||||||
need_more_frames = client_draw_frame(c) || need_more_frames;
|
need_more_frames = client_draw_frame(c) || need_more_frames;
|
||||||
if (!animations && !(allow_tearing && frame_allow_tearing) &&
|
if (!animations && !(allow_tearing && frame_allow_tearing) &&
|
||||||
c->configure_serial && !c->isfloating &&
|
c->configure_serial && client_is_rendered_on_mon(c, m) &&
|
||||||
client_is_rendered_on_mon(c, m) && !client_is_stopped(c)) {
|
!client_is_stopped(c)) {
|
||||||
goto skip;
|
goto skip;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue