Make use of API instead of hardcoded default font
Mathias Gumz akira@fluxbox.org
1 files changed,
3 insertions(+),
4 deletions(-)
jump to
M
src/FbWinFrameTheme.cc
→
src/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();