Merge lp:~jpakkane/libgrip/unsubscribe-fix into lp:libgrip
Proposed by
Jussi Pakkanen
Status: | Merged |
---|---|
Merged at revision: | 59 |
Proposed branch: | lp:~jpakkane/libgrip/unsubscribe-fix |
Merge into: | lp:libgrip |
Diff against target: |
33 lines (+10/-6) 1 file modified
src/gripgesturemanager.c (+10/-6) |
To merge this branch: | bzr merge lp:~jpakkane/libgrip/unsubscribe-fix |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Chase Douglas (community) | Approve | ||
Review via email: mp+73781@code.launchpad.net |
Description of the change
When subscribing to new gestures, libgrip unsubscribes every device type but only resubscribes the specified gesture types.
This patch fixes the issue by only unsubscribing those gesture types that will get resubscribed.
To post a comment you must log in.
Is the stray additional line supposed to be there? If it's a random cleanup that was just folded into the commit, then that's fine, but if it's accidental it should be fixed before merging.
I'm going to assume that it's intentional and give approval. It looks like a good fix for an obvious bug in hindsight :).