all repos — fluxbox @ d4077526b46ed02a68bdce775d37f2d008c2017e

custom fork of the fluxbox windowmanager

antialias- and alpha-entries only in menu when its compiled in
akir akir
commit

d4077526b46ed02a68bdce775d37f2d008c2017e

parent

6a9942733130270c347650ab90adc9f2459b02cd

1 files changed, 5 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.285 2004/07/14 18:28:05 fluxgen Exp $ +// $Id: Screen.cc,v 1.286 2004/08/30 11:33:23 akir Exp $ #include "Screen.hh"

@@ -1813,18 +1813,20 @@ *resource.decorate_transient, saverc_cmd);

_BOOLITEM(Configmenu, ClickRaises, "Click Raises", "Click Raises", *resource.click_raises, saverc_cmd); +#ifdef USE_XFT // setup antialias cmd to reload style and save resource on toggle _BOOLITEM(Configmenu, AntiAlias, "AntiAlias", "Use Anti-aliased fonts", *resource.antialias, save_and_reconfigure); - +#endif // USE_XFT #undef _BOOLITEM +#ifdef HAVE_XRENDER FbTk::MenuItem *menu_alpha_item = new IntResMenuItem("Menu Alpha", resource.menu_alpha, 0, 255); menu_alpha_item->setCommand(saverc_cmd); menu.insert(menu_alpha_item); - +#endif // HAVE_XRENDER // finaly update menu