Skip to content
This repository has been archived by the owner on Aug 16, 2018. It is now read-only.

Commit

Permalink
Prevent switching indicators with touchscreen from closing
Browse files Browse the repository at this point in the history
  • Loading branch information
felescoto95@hotmail.com committed Feb 4, 2017
2 parents 693ac2a + fd39835 commit 9f21845
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/AyatanaIndicator.vala
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,7 @@ public class AyatanaCompatibility.Indicator : Wingpanel.Indicator {
if (main_stack == null) {
bool reloaded = false;
icon.parent.parent.enter_notify_event.connect ((w, e) => {
if (!reloaded) {
if (!reloaded && e.mode != Gdk.CrossingMode.TOUCH_BEGIN) {
/*
* workaround for indicators (e.g. dropbox) that only update menu children after
* the menu is popuped
Expand Down

0 comments on commit 9f21845

Please sign in to comment.