Commit 9dc8b315 authored by Yann Leboulanger's avatar Yann Leboulanger

[maxima] show and hide properly when left-clicking very fast on systray. Fixes #2388

parent 05f762fc
......@@ -275,7 +275,7 @@ class Systray:
def on_clicked(self, widget, event):
self.on_tray_leave_notify_event(widget, None)
if event.button == 1: # Left click
if event.type == gtk.gdk.BUTTON_PRESS and event.button == 1: # Left click
elif event.button == 2: # middle click
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment