aboutsummaryrefslogtreecommitdiff
path: root/src/Screen.cc
diff options
context:
space:
mode:
authorrathnor <rathnor>2004-06-19 15:04:28 (GMT)
committerrathnor <rathnor>2004-06-19 15:04:28 (GMT)
commit4589ecdbbc719cc49f10cef4a9460d89b6a8fba7 (patch)
treec5c12affeb3f6de45439f14478c931a78d549b44 /src/Screen.cc
parente68a7a4e72f0a0b3303d89e3b6a7d345997bf987 (diff)
downloadfluxbox-4589ecdbbc719cc49f10cef4a9460d89b6a8fba7.zip
fluxbox-4589ecdbbc719cc49f10cef4a9460d89b6a8fba7.tar.bz2
fix initialisation of state when a window is first mapped
Diffstat (limited to 'src/Screen.cc')
-rw-r--r--src/Screen.cc9
1 files changed, 1 insertions, 8 deletions
diff --git a/src/Screen.cc b/src/Screen.cc
index b76f174..f90b3dc 100644
--- a/src/Screen.cc
+++ b/src/Screen.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: Screen.cc,v 1.281 2004/06/14 12:25:31 fluxgen Exp $ 25// $Id: Screen.cc,v 1.282 2004/06/19 15:04:27 rathnor Exp $
26 26
27 27
28#include "Screen.hh" 28#include "Screen.hh"
@@ -1186,10 +1186,6 @@ FluxboxWindow *BScreen::createWindow(Window client) {
1186 win->attachClient(otherwin->winClient()); 1186 win->attachClient(otherwin->winClient());
1187 } 1187 }
1188 1188
1189 if (!win->isIconic() && (win->workspaceNumber() == currentWorkspaceID() || win->isStuck())) {
1190 win->show();
1191 }
1192
1193 m_clientlist_sig.notify(); 1189 m_clientlist_sig.notify();
1194 1190
1195 FbTk::App::instance()->sync(false); 1191 FbTk::App::instance()->sync(false);
@@ -1229,9 +1225,6 @@ FluxboxWindow *BScreen::createWindow(WinClient &client) {
1229 // WinClient already exists). 1225 // WinClient already exists).
1230 1226
1231 Fluxbox::instance()->attachSignals(*win); 1227 Fluxbox::instance()->attachSignals(*win);
1232 // winclient actions should have been setup when the WinClient was created
1233 if (win->workspaceNumber() == currentWorkspaceID() || win->isStuck())
1234 win->show();
1235 1228
1236 m_clientlist_sig.notify(); 1229 m_clientlist_sig.notify();
1237 1230