Merge ~kondor-dani/compiz:annotate_fix2 into compiz:master
Status: | Merged |
---|---|
Approved by: | Dmitry Shachnev |
Approved revision: | 939cb14bea4852ee81d1d0d568874208472fcb44 |
Merged at revision: | 7a327f3b305d878b1a41d007f0d672f0411c06f9 |
Proposed branch: | ~kondor-dani/compiz:annotate_fix2 |
Merge into: | compiz:master |
Diff against target: |
191 lines (+43/-35) 2 files modified
plugins/annotate/src/annotate.cpp (+41/-34) plugins/annotate/src/annotate.h (+2/-1) |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Alberts Muktupāvels | Approve | ||
Dmitry Shachnev | Approve | ||
Review via email: mp+383958@code.launchpad.net |
This proposal supersedes a proposal from 2020-05-14.
Commit message
Make annotate plugin D-Bus interface working, and clean up code.
Description of the change
Second iteration of fix for bug #1878545
Changes moved to separate commits.
Cause of bug (in plugins/
-- "tool" variable in AnnoScreen::draw() gets overwritten between lines 305 and 322 (is it undefined behavior to save the c_str() of the value returned by CompOption:
-- AnnoScreen::draw() needs to call handleEventSetE
Changes:
-- store tool in a local std::string
-- add missing calls to ensure result is drawn on the screen
I am setting it to Needs Information per Alberts' review.