aboutsummaryrefslogtreecommitdiff
path: root/src/CurrentWindowCmd.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/CurrentWindowCmd.cc')
-rw-r--r--src/CurrentWindowCmd.cc10
1 files changed, 10 insertions, 0 deletions
diff --git a/src/CurrentWindowCmd.cc b/src/CurrentWindowCmd.cc
index d7b05ab..072f3c5 100644
--- a/src/CurrentWindowCmd.cc
+++ b/src/CurrentWindowCmd.cc
@@ -313,6 +313,16 @@ void StartResizingCmd::real_execute() {
313 } 313 }
314} 314}
315 315
316REGISTER_OBJECT(starttabbing, StartTabbingCmd, Command);
317
318void StartTabbingCmd::real_execute() {
319 const XEvent &last = Fluxbox::instance()->lastEvent();
320 if (last.type == ButtonPress) {
321 const XButtonEvent &be = last.xbutton;
322 fbwindow().startTabbing(be);
323 }
324}
325
316FbTk::Command *MoveCmd::parse(const string &command, const string &args, 326FbTk::Command *MoveCmd::parse(const string &command, const string &args,
317 bool trusted) { 327 bool trusted) {
318 FbTk_istringstream is(args.c_str()); 328 FbTk_istringstream is(args.c_str());