-
Committer:
smspillaz
-
Author(s):
Łukasz Zemczak
-
Date:
2012-02-28 08:40:47 UTC
-
mfrom:
(118.1.3 compiz-workarounds-plugin)
-
Revision ID:
sam.spilsbury@canonical.com-20120228084047-u7f8v80e3x569t0h
= Problem description =
Sometimes, X returns strange XDamageNotifyEvent's to our processing damage callbacks. Those damage events seem to have invalid area coordinates, set to the same values as the geometry. One of the resulting bugs is, for instance, #931473 - as because of this sometimes menus on initial popup are not updated as they should.
= The fix =
As a workaround, we prepare a damageRect() callback that forces a complete window redraw for initial damage handling (as advised by Sam, thanks!)
= Test coverage =
It is possible to check if the fix works by trying to reproduce the #931473 bug with the fix applied. Fast titlebar context menu invoking now always shows the menu fully redrawn.
Merge lp:~sil2100/compiz-workarounds-plugin/initial_damage into lp:compiz-workarounds-plugin