From f93f847b3369857dcbfc8dc662009a338f2c2a6f Mon Sep 17 00:00:00 2001 From: =?utf8?q?Daniel=20D=C3=A9chelotte?= Date: Fri, 12 Apr 2013 01:42:36 +0200 Subject: [PATCH] Bring back some "About" information when double-clicking the dock When dock is double-clicked and no application is defined to be launched, show the information panel (instead of doing nothing). --- src/dock.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/dock.c b/src/dock.c index 9c2f35e8..476f59e1 100644 --- a/src/dock.c +++ b/src/dock.c @@ -3242,6 +3242,8 @@ static void iconDblClick(WObjDescriptor *desc, XEvent *event) } else if (btn->command) { if (!btn->launching && (!btn->running || (event->xbutton.state & ControlMask))) launchDockedApplication(btn, False); + } else if (btn->xindex == 0 && btn->yindex == 0 && btn->dock->type == WM_DOCK) { + wShowInfoPanel(dock->screen_ptr); } } } -- 2.11.4.GIT