diff options
author | Mark Tiefenbruck <mark@fluxbox.org> | 2007-12-21 07:07:46 (GMT) |
---|---|---|
committer | Mark Tiefenbruck <mark@fluxbox.org> | 2007-12-21 07:07:46 (GMT) |
commit | 0a14d911c64a8f6378665bf3e49b868b9175b51f (patch) | |
tree | 43190276675fd6c4a29c451c50d6f511be8a94cf /src/CurrentWindowCmd.cc | |
parent | c7b698757faeffcfe1a2487edbbb79074f93e545 (diff) | |
download | fluxbox_pavel-0a14d911c64a8f6378665bf3e49b868b9175b51f.zip fluxbox_pavel-0a14d911c64a8f6378665bf3e49b868b9175b51f.tar.bz2 |
added key command StartTabbing
Diffstat (limited to 'src/CurrentWindowCmd.cc')
-rw-r--r-- | src/CurrentWindowCmd.cc | 10 |
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 | ||
316 | REGISTER_OBJECT(starttabbing, StartTabbingCmd, Command); | ||
317 | |||
318 | void 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 | |||
316 | FbTk::Command *MoveCmd::parse(const string &command, const string &args, | 326 | FbTk::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()); |