mirror of
https://github.com/gryf/wmaker.git
synced 2025-12-20 21:08:08 +01:00
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).
This commit is contained in:
committed by
Carlos R. Mafra
parent
525ab89d01
commit
f93f847b33
@@ -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);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user