[gtk/wip/on-the-fence-about-damage: 1/4] gdkframeclockidle: handle frame clock getting frozen during paint
- From: Ray Strode <halfline src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk/wip/on-the-fence-about-damage: 1/4] gdkframeclockidle: handle frame clock getting frozen during paint
- Date: Wed, 27 May 2020 19:45:23 +0000 (UTC)
commit 977cb6536df330f6c266023ec557f442b7f1836d
Author: Ray Strode <rstrode redhat com>
Date: Wed May 27 14:50:17 2020 -0400
gdkframeclockidle: handle frame clock getting frozen during paint
At the moment if the frame clock is frozen while in the paint phase,
when it's later thawed, it redoes the paint phase instead of
correctly proceeding to after_paint.
This commit fixes that.
gdk/gdkframeclockidle.c | 1 +
1 file changed, 1 insertion(+)
---
diff --git a/gdk/gdkframeclockidle.c b/gdk/gdkframeclockidle.c
index 2312e30b25..77346786be 100644
--- a/gdk/gdkframeclockidle.c
+++ b/gdk/gdkframeclockidle.c
@@ -452,6 +452,7 @@ gdk_frame_clock_paint_idle (void *data)
priv->requested &= ~GDK_FRAME_CLOCK_PHASE_PAINT;
_gdk_frame_clock_emit_paint (clock);
}
+ priv->phase = GDK_FRAME_CLOCK_PHASE_AFTER_PAINT;
}
G_GNUC_FALLTHROUGH;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]