From: Daniel Déchelotte <[email protected]>

---
 src/dock.c |   11 +++++++++--
 1 file changed, 9 insertions(+), 2 deletions(-)

diff --git a/src/dock.c b/src/dock.c
index eb83c27..39444b6 100644
--- a/src/dock.c
+++ b/src/dock.c
@@ -3599,8 +3599,15 @@ static void iconDblClick(WObjDescriptor *desc, XEvent 
*event)
                                        
handleClipChangeWorkspace(dock->screen_ptr, event);
                                else if 
(wPreferences.flags.clip_merged_in_dock) {
                                        // Is actually the dock
-                                       if (btn->command && !btn->launching && 
(!btn->running || (event->xbutton.state & ControlMask)))
-                                               launchDockedApplication(btn, 
False);
+                                       if (btn->command)
+                                       {
+                                               if (!btn->launching && 
(!btn->running || (event->xbutton.state & ControlMask)))
+                                                       
launchDockedApplication(btn, False);
+                                       }
+                                       else
+                                       {
+                                               
wShowInfoPanel(dock->screen_ptr);
+                                       }
                                }
                                else
                                        toggleCollapsed(dock);
-- 
1.7.10.4


-- 
To unsubscribe, send mail to [email protected].

Reply via email to