Skip to content
Commit 8315aaf1 authored by Jonas Ådahl's avatar Jonas Ådahl
Browse files

xdg-shell: Turn xdg_surface into a generic base interface



Split out toplevel window like requests and events into a new interface
called xdg_toplevel, and turn xdg_surface into a generic base interface
which others extends.

xdg_popup is changed to extend the xdg_surface.

The configure event in xdg_surface was split up making
xdg_surface.configure an event only carrying the serial number, while a
new xdg_toplevel.configure event carries the other data previously sent
via xdg_surface.configure. xdg_toplevel.configure is made to extend,
via the latch-state mechanism, xdg_surface.configure and depends on
that event to synchronize state.

Other future xdg_surface based extensions are meant to also extend
xdg_surface.configure for relevant window type dependend state
synchronization.

Signed-off-by: default avatarJonas Ådahl <jadahl@gmail.com>
Signed-off-by: default avatarMike Blumenkrantz <zmike@samsung.com>
Reviewed-by: default avatarYong Bakos <ybakos@humanoriented.com>
Acked-by: default avatarQuentin Glidic <sardemff7+git@sardemff7.net>
parent 46f5d238
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment