all repos — fluxbox @ b16528de87e80dcd1ae9f70c8c76fd8da722d2da

custom fork of the fluxbox windowmanager

Make use of API instead of hardcoded default font
Mathias Gumz akira@fluxbox.org
commit

b16528de87e80dcd1ae9f70c8c76fd8da722d2da

parent

c47280236f2e6d3cb9aa267184a4081ec4e844c6

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

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

@@ -20,10 +20,10 @@ // FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER

// DEALINGS IN THE SOFTWARE. #include "FbWinFrameTheme.hh" +#include "IconbarTheme.hh" + #include "FbTk/App.hh" #include "FbTk/Util.hh" - -#include "IconbarTheme.hh" #include <X11/cursorfont.h>

@@ -49,8 +49,7 @@ m_iconbar_theme(screen_num, "window.label" + extra,

"Window.Label" + altextra) { *m_title_height = 0; - // set defaults - m_font->load("__DEFAULT__"); + m_font->load(FbTk::Font::DEFAULT_FONT); // create cursors Display *disp = FbTk::App::instance()->display();