OK, I've figured out a terrible hack that seems to solve the problem
(although it generates constant damage and constant CPU usage):

_X_EXPORT RegionPtr
xmir_window_get_dirty(xmir_window *xmir_win)
{
    return &xmir_win->region;   /* Terrible hack */

This seems to solve the bug, suggesting xmir_window_get_dirty is
returning incorrect damage regions.

It's not definitive and not a fix. But looks like good progress.

** Also affects: xorg-server (Ubuntu)
   Importance: Undecided
       Status: New

** Changed in: xorg-server (Ubuntu)
       Status: New => Confirmed

** Changed in: xorg-server (Ubuntu)
   Importance: Undecided => Critical

** Changed in: mir
       Status: In Progress => Invalid

** Changed in: mir (Ubuntu)
       Status: Confirmed => Invalid

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1216472

Title:
  [xmir] [multimonitor] Frames eventually get slightly out of order,
  look like glitches or typing will feel slow

To manage notifications about this bug go to:
https://bugs.launchpad.net/mir/+bug/1216472/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to