Merge lp:~mkhu/compiz/fix_workarounds_plugin_typo into lp:compiz/0.9.10

Proposed by Micheal Hsu
Status: Merged
Approved by: Sam Spilsbury
Approved revision: 3652
Merged at revision: 3653
Proposed branch: lp:~mkhu/compiz/fix_workarounds_plugin_typo
Merge into: lp:compiz/0.9.10
Diff against target: 12 lines (+1/-1)
1 file modified
plugins/workarounds/src/workarounds.cpp (+1/-1)
To merge this branch: bzr merge lp:~mkhu/compiz/fix_workarounds_plugin_typo
Reviewer Review Type Date Requested Status
PS Jenkins bot (community) continuous-integration Approve
Sam Spilsbury Approve
Review via email: mp+158036@code.launchpad.net

Commit message

workarounds.cpp: Fix typo in call to XShapeSelectInput.

(LP: #1167284)

Description of the change

in workarounds.cpp:

WorkaroundsWindow::clearInputShape (..)
{
...
XShapeSelectInput (screen->dpy (), xid, ShapeNotify);

}

ShapeNotify is the event code. it should be changed to ShapeNotifyMask here.

To post a comment you must log in.
Revision history for this message
Sam Spilsbury (smspillaz) wrote :

Yep, spot on thanks.

review: Approve
Revision history for this message
PS Jenkins bot (ps-jenkins) :
review: Approve (continuous-integration)

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== modified file 'plugins/workarounds/src/workarounds.cpp'
2--- plugins/workarounds/src/workarounds.cpp 2012-12-10 03:28:47 +0000
3+++ plugins/workarounds/src/workarounds.cpp 2013-04-10 11:14:22 +0000
4@@ -72,7 +72,7 @@
5 XShapeCombineRectangles (screen->dpy (), xid, ShapeInput, 0, 0,
6 NULL, 0, ShapeSet, 0);
7
8- XShapeSelectInput (screen->dpy (), xid, ShapeNotify);
9+ XShapeSelectInput (screen->dpy (), xid, ShapeNotifyMask);
10 }
11
12 /*

Subscribers

People subscribed via source and target branches