From 8832a07533a12e404bd9ee7370388157a19bd4d5 Mon Sep 17 00:00:00 2001 From: fluxgen Date: Fri, 25 Apr 2003 16:07:46 +0000 Subject: cleaning --- src/Screen.cc | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/Screen.cc b/src/Screen.cc index ac60d79..58a64dc 100644 --- a/src/Screen.cc +++ b/src/Screen.cc @@ -22,7 +22,7 @@ // FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER // DEALINGS IN THE SOFTWARE. -// $Id: Screen.cc,v 1.133 2003/04/25 11:56:13 fluxgen Exp $ +// $Id: Screen.cc,v 1.134 2003/04/25 16:07:46 fluxgen Exp $ #include "Screen.hh" @@ -673,7 +673,7 @@ BScreen::BScreen(ResourceManager &rm, if (children[i] == None) continue; - XWMHints *wmhints = XGetWMHints(getBaseDisplay()->getXDisplay(), + XWMHints *wmhints = XGetWMHints(FbTk::App::instance()->display(), children[i]); if (wmhints) { @@ -1034,7 +1034,7 @@ void BScreen::changeWorkspaceID(unsigned int id) { return; if (id != current_workspace->workspaceID()) { - XSync(BaseDisplay::getXDisplay(), true); + XSync(FbTk::App::instance()->display(), true); FluxboxWindow *focused = Fluxbox::instance()->getFocusedWindow(); #ifdef DEBUG cerr<<__FILE__<<"("<<__FUNCTION__<<"): focused = "<getFocusedWindow(); if (id != current_workspace->workspaceID()) { - XSync(BaseDisplay::getXDisplay(), True); + XSync(FbTk::App::instance()->display(), True); if (win && &win->getScreen() == this && (! win->isStuck())) { -- cgit v0.11.2