From 9c5aedfff21be0f1d785d2254691b4129451f560 Mon Sep 17 00:00:00 2001 From: Boyan Ding Date: Fri, 4 Jul 2014 15:19:23 +0800 Subject: [PATCH] cairo-util: Set geometry_dirty in frame_set_title Title can decide the geometry of a frame because it may affect the existence of titlebar, so setting geometry_dirty in frame_set_title for potential change. Signed-off-by: Boyan Ding --- shared/frame.c | 1 + 1 file changed, 1 insertion(+) diff --git a/shared/frame.c b/shared/frame.c index aacca608..53f3f5f7 100644 --- a/shared/frame.c +++ b/shared/frame.c @@ -385,6 +385,7 @@ frame_set_title(struct frame *frame, const char *title) free(frame->title); frame->title = dup; + frame->geometry_dirty = 1; frame->status |= FRAME_STATUS_REPAINT; return 0;