weston/desktop-shell
Kristian Høgsberg 70f2901989 shell: Make sure we still have touch or pointer focus when moving/resizing
It's possible to touch a surface to move it and let go before we get
to common_surface_move(), in which case we don't have a touch focus
when we get there.  For pointers, we could click a surface, but have the
surface go away before we get to common_surface_move(), in which
case the button count is non-zero, but we don't have a surface.

In either case we crash, so let's add a check to make sure we still
have a focus surface before we try to move it.

Closes: https://bugs.freedesktop.org/show_bug.cgi?id=73448
2014-01-09 15:43:17 -08:00
..
.gitignore Update .gitignore 2013-12-09 12:15:41 -08:00
exposay.c exposay: set an alpha on fullscreen surfaces 2014-01-07 21:46:36 -08:00
input-panel.c shell: Start the input panel slide slightly on the output 2014-01-02 01:33:42 -08:00
Makefile.am build: Fix out-of-tree build for desktop-shell 2013-12-04 12:57:02 -08:00
shell.c shell: Make sure we still have touch or pointer focus when moving/resizing 2014-01-09 15:43:17 -08:00
shell.h exposay: set an alpha on fullscreen surfaces 2014-01-07 21:46:36 -08:00