summaryrefslogtreecommitdiff
path: root/src/renderers/pieWindow.vala
diff options
context:
space:
mode:
authorJörg Frings-Fürst <debian@jff-webhosting.net>2015-04-19 07:34:05 +0200
committerJörg Frings-Fürst <debian@jff-webhosting.net>2015-04-19 07:34:05 +0200
commit5478fe2ceb86715f4ab9a51eb97c517465febfa6 (patch)
tree9e9ac02db8f5d399cdb05ee67178c9150b8c0d41 /src/renderers/pieWindow.vala
parent84a27086bbd9f493128b354300f9c77ccb32a56b (diff)
Imported Upstream version 0.6.1upstream/0.6.1
Diffstat (limited to 'src/renderers/pieWindow.vala')
-rwxr-xr-xsrc/renderers/pieWindow.vala13
1 files changed, 8 insertions, 5 deletions
diff --git a/src/renderers/pieWindow.vala b/src/renderers/pieWindow.vala
index 4d5d35a..c8ff455 100755
--- a/src/renderers/pieWindow.vala
+++ b/src/renderers/pieWindow.vala
@@ -118,12 +118,15 @@ public class PieWindow : Gtk.Window {
this.has_compositing = true;
}
+ //add_events() call was removed because it causes that gnome-pie sometimes enter
+ //and infinte loop while processing some mouse-motion events.
+ //(this was seen in Ubuntu 14.04.2 64/32-bits -Glib 2.19- and in MATE 14.04.2)
// set up event filter
- this.add_events(Gdk.EventMask.BUTTON_RELEASE_MASK |
- Gdk.EventMask.KEY_RELEASE_MASK |
- Gdk.EventMask.KEY_PRESS_MASK |
- Gdk.EventMask.POINTER_MOTION_MASK |
- Gdk.EventMask.SCROLL_MASK );
+ //this.add_events(Gdk.EventMask.BUTTON_RELEASE_MASK |
+ // Gdk.EventMask.KEY_RELEASE_MASK |
+ // Gdk.EventMask.KEY_PRESS_MASK |
+ // Gdk.EventMask.POINTER_MOTION_MASK |
+ // Gdk.EventMask.SCROLL_MASK );
// activate on left click
this.button_release_event.connect ((e) => {