summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorfluxgen <fluxgen>2002-11-21 15:57:47 (GMT)
committerfluxgen <fluxgen>2002-11-21 15:57:47 (GMT)
commitf14500832de7c69e3aa32c2e4c578638e40d373d (patch)
treea98f97ff479381c1bf824bcff3c1375f70d5d57f
parent36c4c79abd5fbf72539ed6ce859f8e97b1a4ff1d (diff)
downloadfluxbox_lack-f14500832de7c69e3aa32c2e4c578638e40d373d.zip
fluxbox_lack-f14500832de7c69e3aa32c2e4c578638e40d373d.tar.bz2
reconfigure theme directly after construction
-rw-r--r--src/Screen.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/Screen.cc b/src/Screen.cc
index 6cd8b72..08a5e02 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.81 2002/11/17 11:27:50 fluxgen Exp $ 25// $Id: Screen.cc,v 1.82 2002/11/21 15:57:47 fluxgen Exp $
26 26
27 27
28#include "Screen.hh" 28#include "Screen.hh"
@@ -285,6 +285,7 @@ resource(rm, screenname, altscreenname)
285 theme = new Theme(getBaseDisplay()->getXDisplay(), getRootWindow(), colormap(), getScreenNumber(), 285 theme = new Theme(getBaseDisplay()->getXDisplay(), getRootWindow(), colormap(), getScreenNumber(),
286 image_control, fluxbox->getStyleFilename(), getRootCommand().c_str()); 286 image_control, fluxbox->getStyleFilename(), getRootCommand().c_str());
287 287
288 theme->reconfigure(*resource.antialias);
288 289
289 const char *s = i18n->getMessage( 290 const char *s = i18n->getMessage(
290 FBNLS::ScreenSet, FBNLS::ScreenPositionLength, 291 FBNLS::ScreenSet, FBNLS::ScreenPositionLength,
@@ -447,7 +448,6 @@ resource(rm, screenname, altscreenname)
447 448
448 XFree(children); 449 XFree(children);
449 XFlush(getBaseDisplay()->getXDisplay()); 450 XFlush(getBaseDisplay()->getXDisplay());
450 theme->reconfigure(*resource.antialias);
451} 451}
452 452
453namespace { 453namespace {