Merge lp:~philip.scott/wingpanel-indicator-ayatana/touch-closing-fix into lp:~wingpanel-devs/wingpanel-indicator-ayatana/trunk

Proposed by Felipe Escoto on 2017-02-04
Status: Merged
Approved by: Daniel Fore on 2017-02-04
Approved revision: 22
Merged at revision: 22
Proposed branch: lp:~philip.scott/wingpanel-indicator-ayatana/touch-closing-fix
Merge into: lp:~wingpanel-devs/wingpanel-indicator-ayatana/trunk
Diff against target: 12 lines (+1/-1)
1 file modified
src/AyatanaIndicator.vala (+1/-1)
To merge this branch: bzr merge lp:~philip.scott/wingpanel-indicator-ayatana/touch-closing-fix
Reviewer Review Type Date Requested Status
WingPanel Devs 2017-02-04 Pending
Review via email: mp+316394@code.launchpad.net

Commit message

Prevent switching indicators with touchscreen from closing

To post a comment you must log in.

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== modified file 'src/AyatanaIndicator.vala'
2--- src/AyatanaIndicator.vala 2016-09-28 21:25:19 +0000
3+++ src/AyatanaIndicator.vala 2017-02-04 21:46:49 +0000
4@@ -128,7 +128,7 @@
5 if (main_stack == null) {
6 bool reloaded = false;
7 icon.parent.parent.enter_notify_event.connect ((w, e) => {
8- if (!reloaded) {
9+ if (!reloaded && e.mode != Gdk.CrossingMode.TOUCH_BEGIN) {
10 /*
11 * workaround for indicators (e.g. dropbox) that only update menu children after
12 * the menu is popuped

Subscribers

People subscribed via source and target branches

to all changes: