shell: Don't make desktop_shell background a wl_shell_surface
authorKristian Høgsberg <krh@bitplanet.net>
Tue, 26 Jun 2012 20:29:50 +0000 (16:29 -0400)
committerKristian Høgsberg <krh@bitplanet.net>
Tue, 26 Jun 2012 20:29:53 +0000 (16:29 -0400)
commit962342cb8ef44c598a248746c5b30a23ac004336
tree94fc6c3b201e31c9cfd8cfaf2d6c76e93fb5d31f
parent129decbdf77b17a1f0bc0957fdc9412582447ff3
shell: Don't make desktop_shell background a wl_shell_surface

We don't gain anything from taking a wl_shell_surface in
desktop_surface.set_background, except making wl_shell_surface
gratuitously dependent on wl_shell.  In shell.c we can also handle
backgrounds in their own background_configure function which simplifies
the mapping and placement logic.
clients/desktop-shell.c
clients/window.c
clients/window.h
protocol/desktop-shell.xml
src/shell.c