summaryrefslogtreecommitdiff
path: root/shared
diff options
context:
space:
mode:
authorBoyan Ding <stu_dby@126.com>2014-07-04 15:19:23 +0800
committerJason Ekstrand <jason.ekstrand@intel.com>2014-07-05 01:05:07 -0700
commit9c5aedfff21be0f1d785d2254691b4129451f560 (patch)
tree39758032e1adc206c2e84f30b885fb9000046b01 /shared
parentc4902124f95b37239552e1e3d4017c74caf6db9e (diff)
downloadweston-9c5aedfff21be0f1d785d2254691b4129451f560.tar.gz
weston-9c5aedfff21be0f1d785d2254691b4129451f560.tar.bz2
weston-9c5aedfff21be0f1d785d2254691b4129451f560.zip
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 <stu_dby@126.com>
Diffstat (limited to 'shared')
-rw-r--r--shared/frame.c1
1 files changed, 1 insertions, 0 deletions
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;