moveWindowLeft,
moveWindowRight,
+ sendTo, //done
+
nextWindow, //done for now
prevWindow, //done for now
nextWindowOnAllWorkspaces, //done
XKeysymToKeycode(getXDisplay(),
XStringToKeysym("O")),
Mod1Mask | ControlMask));
+ _actions.push_back(Action(Action::sendTo,
+ XKeysymToKeycode(getXDisplay(),
+ XStringToKeysym("1")),
+ Mod1Mask | ControlMask, 0));
+ _actions.push_back(Action(Action::sendTo,
+ XKeysymToKeycode(getXDisplay(),
+ XStringToKeysym("2")),
+ Mod1Mask | ControlMask, 1));
+ _actions.push_back(Action(Action::sendTo,
+ XKeysymToKeycode(getXDisplay(),
+ XStringToKeysym("3")),
+ Mod1Mask | ControlMask, 2));
+ _actions.push_back(Action(Action::sendTo,
+ XKeysymToKeycode(getXDisplay(),
+ XStringToKeysym("4")),
+ Mod1Mask | ControlMask, 3));
activateGrabs();
}
window->lower();
return;
+ case Action::sendTo:
+ window->sendTo(it->number());
+ return;
+
case Action::toggleomnipresent:
if (window->desktop() == 0xffffffff)
window->sendTo(_active_desktop);