all repos — fluxbox @ f72da2f9678efab09c4ea91fbd493d13933331eb

custom fork of the fluxbox windowmanager

Small casting
fluxgen fluxgen
commit

f72da2f9678efab09c4ea91fbd493d13933331eb

parent

618c8bd6de064be221f1753ca94507329a8e4a85

1 files changed, 2 insertions(+), 1 deletions(-)

jump to
M src/Toolbar.ccsrc/Toolbar.cc

@@ -1400,7 +1400,8 @@ BasemenuItem *item = find(index);

if (! item) return; - toolbarmenu->toolbar->screen->saveToolbarPlacement(item->function()); + toolbarmenu->toolbar->screen->saveToolbarPlacement( + static_cast<Toolbar::Placement>(item->function())); hide(); toolbarmenu->toolbar->reconfigure();