aboutsummaryrefslogtreecommitdiff
path: root/src/Gnome.cc
diff options
context:
space:
mode:
authorfluxgen <fluxgen>2004-02-20 09:07:27 (GMT)
committerfluxgen <fluxgen>2004-02-20 09:07:27 (GMT)
commit3c78d753c0c1b293d20ad52e38586929bf47f13e (patch)
treefc146deff9fe5ebb0afb51f9882f17f54a45336c /src/Gnome.cc
parent1e405808fb3cba1b19d6af9697312a6f4d8ec3ba (diff)
downloadfluxbox-3c78d753c0c1b293d20ad52e38586929bf47f13e.zip
fluxbox-3c78d753c0c1b293d20ad52e38586929bf47f13e.tar.bz2
fixed focus issues with remember hidden, patch from Mathias Gumz
Diffstat (limited to 'src/Gnome.cc')
-rw-r--r--src/Gnome.cc7
1 files changed, 5 insertions, 2 deletions
diff --git a/src/Gnome.cc b/src/Gnome.cc
index c046184..dcfb029 100644
--- a/src/Gnome.cc
+++ b/src/Gnome.cc
@@ -19,7 +19,7 @@
19// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER 19// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
20// DEALINGS IN THE SOFTWARE. 20// DEALINGS IN THE SOFTWARE.
21 21
22// $Id: Gnome.cc,v 1.33 2004/01/19 18:36:27 fluxgen Exp $ 22// $Id: Gnome.cc,v 1.34 2004/02/20 09:05:38 fluxgen Exp $
23 23
24#include "Gnome.hh" 24#include "Gnome.hh"
25 25
@@ -369,7 +369,10 @@ void Gnome::setState(FluxboxWindow *win, int state) {
369 win->shade(); 369 win->shade();
370 370
371 if (state & WIN_STATE_HIDDEN) 371 if (state & WIN_STATE_HIDDEN)
372 win->setHidden(! win->isHidden()); 372 {
373 win->setFocusHidden(! win->isFocusHidden());
374 win->setIconHidden(! win->isIconHidden());
375 }
373 376
374 377
375 /* 378 /*