all repos — fluxbox @ 7066ef620b5e6e05f7147011d6e5ef06a8956bad

custom fork of the fluxbox windowmanager

set antialias on toolbar before we load the theme
fluxgen fluxgen
commit

7066ef620b5e6e05f7147011d6e5ef06a8956bad

parent

3cd853536d59c0bda4e461599f3a92ce044a7ef4

1 files changed, 3 insertions(+), 3 deletions(-)

jump to
M src/Screen.ccsrc/Screen.cc

@@ -22,7 +22,7 @@ // LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING

// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER // DEALINGS IN THE SOFTWARE. -// $Id: Screen.cc,v 1.149 2003/05/08 01:51:18 rathnor Exp $ +// $Id: Screen.cc,v 1.150 2003/05/08 10:57:20 fluxgen Exp $ #include "Screen.hh"

@@ -832,6 +832,8 @@ // setup windowtheme, toolbartheme for antialias

winFrameTheme().font().setAntialias(*resource.antialias); m_menutheme->titleFont().setAntialias(*resource.antialias); m_menutheme->frameFont().setAntialias(*resource.antialias); + if (getToolbar() && getToolbar()->theme().font().isAntialias() != *resource.antialias) + getToolbar()->theme().font().setAntialias(*resource.antialias); // load theme std::string theme_filename(Fluxbox::instance()->getStyleFilename());

@@ -888,8 +890,6 @@

if (getToolbar()) { getToolbar()->setPlacement(*resource.toolbar_placement); - if (getToolbar()->theme().font().isAntialias() != *resource.antialias) - getToolbar()->theme().font().setAntialias(*resource.antialias); getToolbar()->reconfigure(); }