weston/compositor
Pekka Paalanen 92a0dc455a shell: check for missing wl_shell_surface
get_shell_surface() returns NULL, if the client has not created or has
destroyed the wl_shell_surface object.

All but one use of get_shell_surface() just retrieve the surface type,
so just fall back to SHELL_SURFACE_NORMAL there.

Resize hot-key binding really needs the wl_shell_surface object, as that
is the only way to send configure events. For surfaces without a
wl_shell_surface, simply do not resize them.

Signed-off-by: Pekka Paalanen <ppaalanen@gmail.com>
2011-12-04 14:55:19 -05:00
..
.gitignore Update .gitignores 2011-10-28 13:32:17 -04:00
compositor-drm.c compositor-drm: Fix setting O_CLOEXEC 2011-11-05 22:04:03 -04:00
compositor-openwfd.c compositor-*: check for surfaceless_gles2 instead of surfaceless_opengl 2011-11-01 11:18:39 -04:00
compositor-wayland.c wl_shell_surface adaptation 2011-12-04 14:54:26 -05:00
compositor-x11.c compositor-*: check for surfaceless_gles2 instead of surfaceless_opengl 2011-11-01 11:18:39 -04:00
compositor.c Implement the new dnd/selection protocol 2011-11-23 16:20:28 -05:00
compositor.h compositor: eliminate wlsc_surface::shell_priv 2011-12-04 14:54:40 -05:00
data-device.c Implement the new dnd/selection protocol 2011-11-23 16:20:28 -05:00
evdev.c evdev: Silence warning 2011-12-02 06:39:13 -05:00
image-loader.c compositor: Split backends into modules 2011-05-02 22:09:20 -04:00
Makefile.am Implement the new dnd/selection protocol 2011-11-23 16:20:28 -05:00
screenshooter.c Change remaining GPLv2 headers to MIT 2011-09-19 17:29:24 -04:00
shell.c shell: check for missing wl_shell_surface 2011-12-04 14:55:19 -05:00
switcher.c Make use of wl_resource.destroy_listener_list for surfaces. 2011-05-06 16:03:33 -04:00
tablet-shell.c tablet-shell: Add a stub tablet-shell client 2011-11-26 17:37:54 -05:00
tty.c tty: fix command line parsing 2011-11-21 18:07:18 +02:00
xserver-launcher.c x11: Fix last-minute edit bug 2011-10-12 00:01:18 -04:00