~vanvugt/compiz-plugins-main/fix-930192

Viewing all changes in revision 20.

  • Committer: smspillaz
  • Date: 2012-02-28 09:11:23 UTC
  • Revision ID: sam.spilsbury@canonical.com-20120228091123-n3mzw965itozupn0
Merge rev 199 from lp:compiz-workarounds-plugin

------------------------------------------------------------
revno: 119 [merge]
author: Łukasz Zemczak
committer: smspillaz <sam.spilsbury@canonical.com>
branch nick: compiz-workarounds-plugin
timestamp: Tue 2012-02-28 16:40:47 +0800
message:
  = 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
------------------------------------------------------------

expand all expand all

Show diffs side-by-side

added added

removed removed

Lines of Context: