aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorfluxgen <fluxgen>2003-05-07 11:33:56 (GMT)
committerfluxgen <fluxgen>2003-05-07 11:33:56 (GMT)
commit7981cc0fc77566fce821d5543f4ecb2f302f8062 (patch)
treeecf92dd8e7972be4613630c10ceb2d6c89f91609 /src
parentac931c2215a7c7cab6a9fe259c251d6248899184 (diff)
downloadfluxbox-7981cc0fc77566fce821d5543f4ecb2f302f8062.zip
fluxbox-7981cc0fc77566fce821d5543f4ecb2f302f8062.tar.bz2
fixed focus new on deiconify
Diffstat (limited to 'src')
-rw-r--r--src/Window.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/Window.cc b/src/Window.cc
index bd930db..1364254 100644
--- a/src/Window.cc
+++ b/src/Window.cc
@@ -22,7 +22,7 @@
22// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER 22// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
23// DEALINGS IN THE SOFTWARE. 23// DEALINGS IN THE SOFTWARE.
24 24
25// $Id: Window.cc,v 1.158 2003/05/04 16:55:40 rathnor Exp $ 25// $Id: Window.cc,v 1.159 2003/05/07 11:33:56 fluxgen Exp $
26 26
27#include "Window.hh" 27#include "Window.hh"
28 28
@@ -1238,7 +1238,7 @@ void FluxboxWindow::deiconify(bool reassoc, bool do_raise) {
1238 1238
1239 m_frame.show(); 1239 m_frame.show();
1240 1240
1241 if (was_iconic && screen.doFocusNew()) 1241 if (was_iconic || screen.doFocusNew())
1242 setInputFocus(); 1242 setInputFocus();
1243 1243
1244 if (focused != m_frame.focused()) 1244 if (focused != m_frame.focused())