aboutsummaryrefslogtreecommitdiff
path: root/src/Screen.cc
diff options
context:
space:
mode:
authormathias <mathias>2004-11-30 22:19:35 (GMT)
committermathias <mathias>2004-11-30 22:19:35 (GMT)
commitec5724e807e5fa5ecb7ff4e5c3d4ed052644c118 (patch)
tree8df9fa06b4935650ba83d9f71f9e86cb716328b1 /src/Screen.cc
parentdc4e74367ebc938cd008c87ecb33d2de7ff53a8a (diff)
downloadfluxbox-ec5724e807e5fa5ecb7ff4e5c3d4ed052644c118.zip
fluxbox-ec5724e807e5fa5ecb7ff4e5c3d4ed052644c118.tar.bz2
fix a problem with java-dialogs which dont open correct (thanx Scott Moser)
furthermore, and this is really interesting, this seems to fix also the bug widely known as g.o.d - the grab of death. the g.o.d seems to freeze fluxbox but let the mouse still be moving and no high-cpuload can be seen. the (un)lucky can force the g.o.d by clicking like a weirdo and pressing keys like crazy and then maybe it will happen. we are not quite sure WHY exactly this happens but as it seems: XSync(true) caused the trouble. we still keep watching this issue but hopefully noone experiences bad "freezes" anymore. (/me crosses fingers)
Diffstat (limited to 'src/Screen.cc')
-rw-r--r--src/Screen.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/Screen.cc b/src/Screen.cc
index ebf2b40..f125f7f 100644
--- a/src/Screen.cc
+++ b/src/Screen.cc
@@ -893,7 +893,7 @@ void BScreen::changeWorkspaceID(unsigned int id) {
893 id == m_current_workspace->workspaceID()) 893 id == m_current_workspace->workspaceID())
894 return; 894 return;
895 895
896 FbTk::App::instance()->sync(true); 896 FbTk::App::instance()->sync(false);
897 897
898 WinClient *focused_client = Fluxbox::instance()->getFocusedWindow(); 898 WinClient *focused_client = Fluxbox::instance()->getFocusedWindow();
899 FluxboxWindow *focused = 0; 899 FluxboxWindow *focused = 0;
@@ -958,7 +958,7 @@ void BScreen::sendToWorkspace(unsigned int id, FluxboxWindow *win, bool changeWS
958 } 958 }
959 959
960 960
961 FbTk::App::instance()->sync(true); 961 FbTk::App::instance()->sync(false);
962 962
963 if (win && &win->screen() == this && 963 if (win && &win->screen() == this &&
964 (! win->isStuck())) { 964 (! win->isStuck())) {