diff --git a/src/sna/sna_xmir.c b/src/sna/sna_xmir.c
index ae1f2c9..e056129 100644
--- a/src/sna/sna_xmir.c
+++ b/src/sna/sna_xmir.c
@@ -111,13 +111,12 @@ sna_xmir_buffer_available(WindowPtr win)
}
static void
-sna_xmir_submit_dirty_window(WindowPtr win, DamagePtr damage)
+sna_xmir_submit_dirty_window(WindowPtr win)
{
if (!xmir_window_has_free_buffer(win))
return;
- if (sna_xmir_copy_to_mir(win, DamageRegion(damage)))
- DamageEmpty(damage);
+ sna_xmir_copy_to_mir(win, xmir_window_get_dirty(win));
}
static const xmir_driver sna_xmir_driver = {
** Attachment added: "xf86-video-intel patch"
https://bugs.launchpad.net/ubuntu/+source/xserver-xorg-video-intel/+bug/1204778/+attachment/3749668/+files/thingy
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1204778
Title:
[xmir] Graphics corruption - damage tracking
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/xserver-xorg-video-intel/+bug/1204778/+subscriptions
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs