Resizeinfo: Damage rectangle calculation is broken, popup_size+window_size are used
Bug #1166195 reported by
MC Return
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Compiz |
Fix Released
|
Medium
|
MC Return | ||
compiz (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
Instead it would be enough to damage the resize_popup_width and resize_
This is how it *should* be:
int x = resizeGeometry.x + resizeGeometry.
RESIZE_
int y = resizeGeometry.y + resizeGeometry.
RESIZE_
CompRegion reg (x - 5, y - 5,
(
(
[How to reproduce]
1. Enable the "Resizeinfo" and "Show Repaint" plugins and turn "Show Repaint" on
2. Open and resize a terminal window and watch the damage rectangle redrawing
Related branches
lp://staging/~mc-return/compiz/compiz.merge-fix1166195-fix1166196-fix116245-resizeinfo-fixes
- PS Jenkins bot (community): Approve (continuous-integration)
- Sam Spilsbury: Approve
-
Diff: 384 lines (+90/-74)3 files modifiedplugins/resizeinfo/resizeinfo.xml.in (+19/-7)
plugins/resizeinfo/src/resizeinfo.cpp (+66/-62)
plugins/resizeinfo/src/resizeinfo.h (+5/-5)
Changed in compiz: | |
assignee: | nobody → MC Return (mc-return) |
status: | New → In Progress |
Changed in compiz: | |
milestone: | none → 0.9.10.0 |
importance: | Undecided → Medium |
To post a comment you must log in.
The branch linked fixes this problem.