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.
This commit is contained in:
@@ -9,7 +9,7 @@
|
||||
|
||||
<request name="set_background">
|
||||
<arg name="output" type="object" interface="wl_output"/>
|
||||
<arg name="surface" type="object" interface="wl_shell_surface"/>
|
||||
<arg name="surface" type="object" interface="wl_surface"/>
|
||||
</request>
|
||||
|
||||
<request name="set_panel">
|
||||
@@ -31,7 +31,7 @@
|
||||
they'll share the configure event. -->
|
||||
<event name="configure">
|
||||
<arg name="edges" type="uint"/>
|
||||
<arg name="surface" type="object" interface="wl_shell_surface"/>
|
||||
<arg name="surface" type="object" interface="wl_surface"/>
|
||||
<arg name="width" type="int"/>
|
||||
<arg name="height" type="int"/>
|
||||
</event>
|
||||
|
||||
Reference in New Issue
Block a user