[PATCH 0/7] XDG-shell and some changes

antognolli at gmail.com antognolli at gmail.com
Fri Jul 19 12:42:42 PDT 2013


From: Rafael Antognolli <rafael.antognolli at intel.com>

In this patch series, I change weston to use the xdg-shell protocol extension,
added to wayland in another patch series. Its build is optional and will
disable build of desktop-shell, and also make weston use xdg-surface instead of
desktop-shell. Then the toytoolkit is also changed to use it.

After that, some changes are made to remove the fullscreen and maximized
surface types, and add/use the respective surface states. Toytoolkit is also
updated to use them.

Some important things to notice:

 - Building of desktop-shell is disabled if this is enabled, just to make sure
   that I'm not using the wrong API accidentally. Of course in the future we
   can enable building of both by default;
 - should we use xdg_shell.xml or xdg_surface.xml?
 - I'm building the extension protocol from weston, but it was added to
   wayland. Instead of doing this, I could just build this extension inside
   wayland itself, and thus there would be no need to install the extra .xml
   and call wayland_scanner for it. What would be preferred?


Rafael Antognolli (7):
  shell: Add xdg-shell support to weston.
  toytoolkit: Use the new xdg-shell interface.
  xdg-shell: Remove SHELL_SURFACE_MAXIMIZED and use maximized state.
  xdg-shell: Remove SHELL_SURFACE_FULLSCREEN and use fullscreen state.
  xdg-shell: Implement state set functions.
  xdg-shell: Remove surface_set_maximized and surface_set_fullscreen.
  toytoolkit: Make toytoolkit use state_set related calls.

 clients/.gitignore   |    2 +
 clients/Makefile.am  |   31 +-
 clients/xdg_window.c | 5312 ++++++++++++++++++++++++++++++++++++++++++++++++++
 clients/xdg_window.h |  532 +++++
 configure.ac         |   21 +-
 src/.gitignore       |    2 +
 src/Makefile.am      |   30 +
 src/compositor.c     |    5 +
 src/xdg-surface.c    | 4593 +++++++++++++++++++++++++++++++++++++++++++
 9 files changed, 10525 insertions(+), 3 deletions(-)
 create mode 100644 clients/xdg_window.c
 create mode 100644 clients/xdg_window.h
 create mode 100644 src/xdg-surface.c

-- 
1.7.11.7



More information about the wayland-devel mailing list