aboutsummaryrefslogtreecommitdiff
path: root/src/CommandDialog.cc
diff options
context:
space:
mode:
authorMark Tiefenbruck <mark@fluxbox.org>2008-08-16 13:30:09 (GMT)
committerMark Tiefenbruck <mark@fluxbox.org>2008-08-16 13:30:09 (GMT)
commit72fd5e03a48396e6feec86534d266c68a9edd915 (patch)
treea822f86184eb84f44db5cda77866ef14800e6f2b /src/CommandDialog.cc
parent38654bae459716409ad2ee7975671fc2f131c869 (diff)
downloadfluxbox_pavel-72fd5e03a48396e6feec86534d266c68a9edd915.zip
fluxbox_pavel-72fd5e03a48396e6feec86534d266c68a9edd915.tar.bz2
revert focus when closing dialogs
Diffstat (limited to 'src/CommandDialog.cc')
-rw-r--r--src/CommandDialog.cc1
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())