Bugfix: Don’t draw window title when titlebar is disabled (Thanks msi)
This commit is contained in:
parent
c0c4dd2978
commit
51b937741d
@ -199,7 +199,7 @@ void decorate_window(xcb_connection_t *conn, Client *client, xcb_drawable_t draw
|
||||
}
|
||||
|
||||
/* If the client has a title, we draw it */
|
||||
if (client->name != NULL) {
|
||||
if (client->name != NULL && client->titlebar_position != TITLEBAR_OFF) {
|
||||
/* Draw the font */
|
||||
uint32_t mask = XCB_GC_FOREGROUND | XCB_GC_BACKGROUND | XCB_GC_FONT;
|
||||
uint32_t values[] = { color->text, color->background, font->id };
|
||||
|
Loading…
Reference in New Issue
Block a user