[PATCH weston] xwm: don't try to remove nonexistent frame
Kristian Høgsberg
krh at bitplanet.net
Fri Jun 1 08:29:00 PDT 2012
When does this happen?
Kristian
On Fri, Jun 1, 2012 at 8:51 AM, Tiago Vignatti <tiago.vignatti at intel.com> wrote:
> Signed-off-by: Tiago Vignatti <tiago.vignatti at intel.com>
> ---
> src/xwayland/window-manager.c | 3 +++
> 1 file changed, 3 insertions(+)
>
> diff --git a/src/xwayland/window-manager.c b/src/xwayland/window-manager.c
> index 92601e5..acec915 100644
> --- a/src/xwayland/window-manager.c
> +++ b/src/xwayland/window-manager.c
> @@ -568,6 +568,9 @@ weston_wm_handle_unmap_notify(struct weston_wm *wm, xcb_generic_event_t *event)
> return;
>
> window = hash_table_lookup(wm->window_hash, unmap_notify->window);
> + if (!window->frame_id)
> + return;
> +
> if (window->repaint_source)
> wl_event_source_remove(window->repaint_source);
> if (window->cairo_surface)
> --
> 1.7.9.5
>
> _______________________________________________
> wayland-devel mailing list
> wayland-devel at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/wayland-devel
More information about the wayland-devel
mailing list