aboutsummaryrefslogtreecommitdiff
path: root/src/fluxbox.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/fluxbox.cc')
-rw-r--r--src/fluxbox.cc6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/fluxbox.cc b/src/fluxbox.cc
index d9deea7..27a0b68 100644
--- a/src/fluxbox.cc
+++ b/src/fluxbox.cc
@@ -179,7 +179,8 @@ int handleXErrors(Display *d, XErrorEvent *e) {
179//static singleton var 179//static singleton var
180Fluxbox *Fluxbox::s_singleton=0; 180Fluxbox *Fluxbox::s_singleton=0;
181 181
182Fluxbox::Fluxbox(int argc, char **argv, const char *dpy_name, const char *rcfilename) 182Fluxbox::Fluxbox(int argc, char **argv, const char *dpy_name,
183 const char *rcfilename, bool xsync)
183 : FbTk::App(dpy_name), 184 : FbTk::App(dpy_name),
184 m_fbatoms(new FbAtoms()), 185 m_fbatoms(new FbAtoms()),
185 m_resourcemanager(rcfilename, true), 186 m_resourcemanager(rcfilename, true),
@@ -263,7 +264,8 @@ Fluxbox::Fluxbox(int argc, char **argv, const char *dpy_name, const char *rcfile
263 m_reconfig_timer.setCommand(reconfig_cmd); 264 m_reconfig_timer.setCommand(reconfig_cmd);
264 m_reconfig_timer.fireOnce(true); 265 m_reconfig_timer.fireOnce(true);
265 266
266 // XSynchronize(disp, True); 267 if (xsync)
268 XSynchronize(disp, True);
267 269
268 s_singleton = this; 270 s_singleton = this;
269 m_have_shape = false; 271 m_have_shape = false;