diff options
author | Mark Tiefenbruck <mark@fluxbox.org> | 2008-08-16 13:30:09 (GMT) |
---|---|---|
committer | Mark Tiefenbruck <mark@fluxbox.org> | 2008-08-16 13:30:09 (GMT) |
commit | 72fd5e03a48396e6feec86534d266c68a9edd915 (patch) | |
tree | a822f86184eb84f44db5cda77866ef14800e6f2b /src/CommandDialog.cc | |
parent | 38654bae459716409ad2ee7975671fc2f131c869 (diff) | |
download | fluxbox_pavel-72fd5e03a48396e6feec86534d266c68a9edd915.zip fluxbox_pavel-72fd5e03a48396e6feec86534d266c68a9edd915.tar.bz2 |
revert focus when closing dialogs
Diffstat (limited to 'src/CommandDialog.cc')
-rw-r--r-- | src/CommandDialog.cc | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/src/CommandDialog.cc b/src/CommandDialog.cc index 8534dcd..5e7aa7d 100644 --- a/src/CommandDialog.cc +++ b/src/CommandDialog.cc | |||
@@ -130,7 +130,6 @@ void CommandDialog::keyPressEvent(XKeyEvent &event) { | |||
130 | XLookupString(&event, &keychar, 1, &ks, 0); | 130 | XLookupString(&event, &keychar, 1, &ks, 0); |
131 | 131 | ||
132 | if (ks == XK_Return) { | 132 | if (ks == XK_Return) { |
133 | hide(); // hide and return focus to a FluxboxWindow | ||
134 | // create Command<void> from line | 133 | // create Command<void> from line |
135 | auto_ptr<FbTk::Command<void> > cmd(FbTk::CommandParser<void>::instance().parse(m_precommand + m_textbox.text())); | 134 | auto_ptr<FbTk::Command<void> > cmd(FbTk::CommandParser<void>::instance().parse(m_precommand + m_textbox.text())); |
136 | if (cmd.get()) | 135 | if (cmd.get()) |