aboutsummaryrefslogtreecommitdiff
path: root/src/CurrentWindowCmd.cc
diff options
context:
space:
mode:
authorMark Tiefenbruck <mark@fluxbox.org>2007-12-21 07:07:46 (GMT)
committerMark Tiefenbruck <mark@fluxbox.org>2007-12-21 07:07:46 (GMT)
commit0a14d911c64a8f6378665bf3e49b868b9175b51f (patch)
tree43190276675fd6c4a29c451c50d6f511be8a94cf /src/CurrentWindowCmd.cc
parentc7b698757faeffcfe1a2487edbbb79074f93e545 (diff)
downloadfluxbox_pavel-0a14d911c64a8f6378665bf3e49b868b9175b51f.zip
fluxbox_pavel-0a14d911c64a8f6378665bf3e49b868b9175b51f.tar.bz2
added key command StartTabbing
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());