From: Daniel Déchelotte <[email protected]>
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 9c2f35e..476f59e 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);
}
}
}
--
1.7.10.4
--
To unsubscribe, send mail to [email protected].