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>
This commit is contained in:
Boyan Ding 2014-07-04 15:19:23 +08:00 committed by Jason Ekstrand
parent c4902124f9
commit 9c5aedfff2
1 changed files with 1 additions and 0 deletions

View File

@ -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;