all repos — fluxbox @ ac1314c3604691632a2388ff2758b51103445852

custom fork of the fluxbox windowmanager

fixed fallback for pressed texture
fluxgen fluxgen
commit

ac1314c3604691632a2388ff2758b51103445852

parent

57eb4097500f227b382241a9b02f008336730ea7

1 files changed, 6 insertions(+), 0 deletions(-)

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

@@ -22,6 +22,12 @@ if (item.name().find(".borderColor") != std::string::npos) {

return FbTk::ThemeManager::instance().loadItem(item, "borderColor", "BorderColor"); } + if (item.name().find(".pressed") != std::string::npos) { + // copy texture + *m_pressed_texture = texture(); + return true; + } + return ToolTheme::fallback(item); }