Merge lp://staging/~sil2100/compiz-shift-plugin/terminate_button into lp://staging/compiz-shift-plugin

Proposed by Łukasz Zemczak
Status: Merged
Merged at revision: 117
Proposed branch: lp://staging/~sil2100/compiz-shift-plugin/terminate_button
Merge into: lp://staging/compiz-shift-plugin
Diff against target: 15 lines (+0/-5)
1 file modified
shift.xml.in (+0/-5)
To merge this branch: bzr merge lp://staging/~sil2100/compiz-shift-plugin/terminate_button
Reviewer Review Type Date Requested Status
Daniel van Vugt Approve
Review via email: mp+97816@code.staging.launchpad.net

Commit message

Remove the terminate_button option as it's not referenced anywhere in the code.

The terminate_button option was defined in XML but is not actually used or referenced anywhere in the plugin code. Therefore actually using the binding resulted in compiz crashing. Fixes #954079.

Description of the change

Forwarded from the merge proposal to compiz-plugins-main:

Problem:

By default, the shift plugin has the terminate_button option set to Button3 (right-click). Whenever the plugin was enabled, compiz would die horribly every time the right mouse button was used (bug #954079). By browsing through the code, I noticed that actually the terminate_button option is not used or referenced anywhere in the code.

Fix:

Removing the actual terminate_button option in overall. No use in keeping something that is not used and breaks the system.

Tests:

After applying this fix, the shift plugin can be enabled and right-clicks no longer result with compiz crashing.

To post a comment you must log in.
Revision history for this message
Daniel van Vugt (vanvugt) :
review: Approve

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
The diff is not available at this time. You can reload the page or download it.

Subscribers

People subscribed via source and target branches