What steps will reproduce the problem?
1. right click on the "iconify all windows" applet, click properties, check the
"alternate iconify/shade..." box, press Close
2. make sure you have some windows open
3. double-click the button
What is the expected output? What do you see instead?
i expect it to trigger 2 utton clicks.
it triggers 3 clicks instead, because double-click is sent as a separate
button_press event
What version of the product are you using? On what operating system?
Please provide any additional information below.
patch:
Index: src/plugins/wincmd.c
===================================================================
--- src/plugins/wincmd.c (revision 574)
+++ src/plugins/wincmd.c (working copy)
@@ -132,7 +132,7 @@
return TRUE;
/* Left-click to iconify. */
- if (event->button == 1)
+ if (event->button == 1 && event->type == GDK_BUTTON_PRESS)
{
GdkScreen* screen = gtk_widget_get_screen(widget);
static GdkAtom atom = 0;
Original issue reported on code.google.com by waker...@gmail.com on 3 Nov 2012 at 11:11
Original issue reported on code.google.com by
waker...@gmail.com
on 3 Nov 2012 at 11:11