move xwm.h out of include/wlr

xwm.h was meant to be private, so move it to include/xwayland/xwm.h
We had an ifdef WLR_HAS_XCB_ICCCM in xwayland.h which was easy to move
to xwm, it is not safe to use the WLR_HAS_* in the public headers.

I checked a few of our current users and none rely on xwm.h being
public as expected (rootston, sway, hsroots)
This commit is contained in:
Dominique Martinet 2018-03-03 17:03:19 +01:00
parent f481791669
commit 7d1870c6f1
6 changed files with 10 additions and 15 deletions

View file

@ -8,10 +8,6 @@
#include <wlr/types/wlr_seat.h>
#include <xcb/xcb.h>
#ifdef WLR_HAS_XCB_ICCCM
#include <xcb/xcb_icccm.h>
#endif
struct wlr_xwm;
struct wlr_xwayland_cursor;