mirror of
https://github.com/gryf/wmaker.git
synced 2025-12-20 21:08:08 +01:00
Add drawers to wmaker!
Drawers are horizontal docks, and they can themselves only live in the dock To use them, right click on the dock or a docked appicon and select "Add a drawer". Then move appicons into the drawer (drag them with the mouse). You may change the icon of the drawer. By default, drawers auto-expand and -collapse, and auto-raise/lower. This can be customized in the same way as for the clip. Set DisableDrawers to YES in G/D/WindowMaker if you do not want to see the menu entry to add a drawer. Just discovered this bug: the auto-attract icon functionality will not work (to be precise, it crashes WM!) if the clip is disabled (NoClip=YES). Will fix shortly, of course.
This commit is contained in:
committed by
Carlos R. Mafra
parent
707ce34a5e
commit
e14e6b3da8
@@ -772,6 +772,14 @@ void StartUp(Bool defaultScreenOnly)
|
||||
}
|
||||
}
|
||||
}
|
||||
/* auto-launch apps in drawers */
|
||||
if (!wPreferences.flags.nodrawer) {
|
||||
WDrawerChain *dc;
|
||||
for (dc = wScreen[j]->drawers; dc; dc = dc->next) {
|
||||
wScreen[j]->last_dock = dc->adrawer;
|
||||
wDockDoAutoLaunch(dc->adrawer, 0);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
/* go to workspace where we were before restart */
|
||||
|
||||
Reference in New Issue
Block a user