1
0
mirror of https://github.com/gryf/wmaker.git synced 2025-12-20 12:58: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:
Daniel Déchelotte
2013-04-12 01:42:36 +02:00
committed by Carlos R. Mafra
parent 525ab89d01
commit f93f847b33

View File

@@ -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);
}
}
}