Skip to content

Commit 5de3cee

Browse files
committed
Fix X11Monitor has no queue_draw
1 parent 35e0b42 commit 5de3cee

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

gtk/tests_backend/probe.py

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,11 @@ class BaseProbe:
99

1010
async def redraw(self, message=None, delay=0):
1111
"""Request a redraw of the app, waiting until that redraw has completed."""
12-
if hasattr(self, "native") and self.native:
12+
if (
13+
hasattr(self, "native")
14+
and self.native
15+
and hasattr(self.native, "queue_draw")
16+
):
1317
self.native.queue_draw()
1418

1519
if frame_clock := self.native.get_frame_clock():

0 commit comments

Comments
 (0)