Don't change border style if BS_NORMAL is requested in motif hints (#2386)

Fixes #2385
next
yshui 2016-06-25 15:35:36 -04:00 committed by Michael Stapelberg
parent 45012189bc
commit 3ffa88e54a
1 changed files with 1 additions and 1 deletions

View File

@ -1193,7 +1193,7 @@ static bool handle_motif_hints_change(void *data, xcb_connection_t *conn, uint8_
border_style_t motif_border_style;
window_update_motif_hints(con->window, prop, &motif_border_style);
if (motif_border_style != con->border_style) {
if (motif_border_style != con->border_style && motif_border_style != BS_NORMAL) {
DLOG("Update border style of con %p to %d\n", con, motif_border_style);
con_set_border_style(con, motif_border_style, con->current_border_width);