xwayland: Move SHM declarations to their own header

Graphics / X.Org / X.Org Server - Olivier Fourdan [redhat.com] - 20 December 2019 15:19 UTC

Currently, `xwayland.h` contains all the declarations, which is a bit awkward and hard to follow.

Move the SHM relevant declarations to their own header file.

177c8a230 xwayland: Move SHM declarations to their own header
hw/xwayland/Makefile.am | 1 +
hw/xwayland/meson.build | 1 +
hw/xwayland/xwayland-cursor.c | 12 +++++++++++-
hw/xwayland/xwayland-shm.c | 15 ++++++++-------
hw/xwayland/xwayland-shm.h | 41 +++++++++++++++++++++++++++++++++++++++++
hw/xwayland/xwayland.c | 7 ++++---
hw/xwayland/xwayland.h | 6 ------
7 files changed, 66 insertions(+), 17 deletions(-)

Upstream: cgit.freedesktop.org


  • Share