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-X,
which is subscribed to xorg-server in 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

_______________________________________________
Mailing list: https://launchpad.net/~ubuntu-x-swat
Post to     : ubuntu-x-swat@lists.launchpad.net
Unsubscribe : https://launchpad.net/~ubuntu-x-swat
More help   : https://help.launchpad.net/ListHelp

Reply via email to