all repos — fluxbox @ f049bb407a2b81fa9ff0c45dcb8c272038988061

custom fork of the fluxbox windowmanager

using sendToWorkspace
fluxgen fluxgen
commit

f049bb407a2b81fa9ff0c45dcb8c272038988061

parent

61cfe16b70ee0fbb5c28be361f19ff89f142e69a

1 files changed, 5 insertions(+), 7 deletions(-)

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

@@ -261,14 +261,12 @@ if (index <= windowmenu->screen->getCount()) {

if (index == windowmenu->screen->getCurrentWorkspaceID()) return; if (windowmenu->window->isStuck()) windowmenu->window->stick(); - if (button == 1) windowmenu->window->withdraw(); - windowmenu->screen->reassociateWindow(windowmenu->window, index, True); - if (windowmenu->window->getTab()) { - windowmenu->window->getTab()->disconnect(); - windowmenu->window->getTab()->setPosition(); - } - if (button == 2) windowmenu->screen->changeWorkspaceID(index); + if (button == 1) + windowmenu->screen->sendToWorkspace(index, False); + else if (button == 2) + windowmenu->screen->sendToWorkspace(index); } + hide(); }