all repos — openbox @ 3001cec7901b119ec8cdfb87a78142be264f8039

openbox fork - make it a bit more like ryudo

more dithering fix.
Dana Jansens danakj@orodu.net
commit

3001cec7901b119ec8cdfb87a78142be264f8039

parent

b2453eec0ec7cc33140041c644cfa14bac232824

2 files changed, 3 insertions(+), 5 deletions(-)

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

@@ -91,8 +91,7 @@ return;

switch(item->function()) { case 1: { // dither - screen.getImageControl()-> - setDither((! screen.getImageControl()->doDither())); + screen.setImageDither(!screen.getImageControl()->doDither()); setItemSelected(index, screen.getImageControl()->doDither());
M src/Screen.ccsrc/Screen.cc

@@ -243,8 +243,6 @@ openbox.getCacheLife(), openbox.getCacheMax());

image_control->installRootColormap(); root_colormap_installed = True; - image_control->setDither(resource.image_dither); - load(); // load config options from Resources LoadStyle();

@@ -852,12 +850,13 @@

void BScreen::setImageDither(bool d, bool reconfig) { resource.image_dither = d; + image_control->setDither(d); std::ostrstream s; s << "session.screen" << getScreenNumber() << ".imageDither" << ends; config.setValue(s.str(), resource.image_dither); s.rdbuf()->freeze(0); if (reconfig) - openbox.reconfigure(); + reconfigure(); }