From 7507098440e300c0126affbdd469456653b41e95 Mon Sep 17 00:00:00 2001 From: akir Date: Wed, 8 Sep 2004 16:50:42 +0000 Subject: cosmetic, removing unnecessary calls. --- src/fluxbox.cc | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/src/fluxbox.cc b/src/fluxbox.cc index a484434..f242f8c 100644 --- a/src/fluxbox.cc +++ b/src/fluxbox.cc @@ -22,7 +22,7 @@ // FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER // DEALINGS IN THE SOFTWARE. -// $Id: fluxbox.cc,v 1.251 2004/08/31 15:26:39 rathnor Exp $ +// $Id: fluxbox.cc,v 1.252 2004/09/08 16:50:42 akir Exp $ #include "fluxbox.hh" @@ -467,12 +467,13 @@ Fluxbox::Fluxbox(int argc, char **argv, const char *dpy_name, const char *rcfile FbTk::fontInit(); + Display *disp = FbTk::App::instance()->display(); // For KDE dock applets // KDE v1.x - m_kwm1_dockwindow = XInternAtom(FbTk::App::instance()->display(), + m_kwm1_dockwindow = XInternAtom(disp, "KWM_DOCKWINDOW", False); // KDE v2.x - m_kwm2_dockwindow = XInternAtom(FbTk::App::instance()->display(), + m_kwm2_dockwindow = XInternAtom(disp, "_KDE_NET_WM_SYSTEM_TRAY_WINDOW_FOR", False); // setup X error handler XSetErrorHandler((XErrorHandler) handleXErrors); @@ -501,8 +502,6 @@ Fluxbox::Fluxbox(int argc, char **argv, const char *dpy_name, const char *rcfile m_reconfig_timer.setCommand(reconfig_cmd); m_reconfig_timer.fireOnce(true); - Display *disp = FbTk::App::instance()->display(); - s_singleton = this; m_have_shape = false; m_shape_eventbase = 0; -- cgit v0.11.2