[PATCH 2/2] cairo-util: Set geometry_dirty in frame_set_title
Jason Ekstrand
jason at jlekstrand.net
Sat Jul 5 01:08:36 PDT 2014
Both patches look good and are committed. I also grabbed them for 1.5
since they're simple bugfixes.
Thanks,
--Jason Ekstrand
On Fri, Jul 4, 2014 at 12:19 AM, Boyan Ding <stu_dby at 126.com> wrote:
> 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 at 126.com>
> ---
> shared/frame.c | 1 +
> 1 file changed, 1 insertion(+)
>
> diff --git a/shared/frame.c b/shared/frame.c
> index aacca60..53f3f5f 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;
> --
> 2.0.1
>
>
> _______________________________________________
> wayland-devel mailing list
> wayland-devel at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/wayland-devel
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/wayland-devel/attachments/20140705/6c80f0c5/attachment.html>
More information about the wayland-devel
mailing list