Dirty Wayland backend implementation.

This commit is contained in:
Sergio L. Pascual 2016-02-16 23:30:32 +01:00 committed by Ivan Vučica
parent ecfa661d7a
commit 81456203b2
13 changed files with 2772 additions and 7 deletions

View file

@ -45,6 +45,11 @@
@interface WIN32Server (Initialize)
+ (void) initializeBackend;
@end
#elif BUILD_SERVER == SERVER_wayland
#include <wayland/WaylandServer.h>
@interface WaylandServer (Initialize)
+ (void) initializeBackend;
@end
#endif
/* Call the correct initalization routines for the choosen
@ -63,6 +68,8 @@
[XGServer initializeBackend];
#elif BUILD_SERVER == SERVER_win32
[WIN32Server initializeBackend];
#elif BUILD_SERVER == SERVER_wayland
[WaylandServer initializeBackend];
#else
[NSException raise: NSInternalInconsistencyException
format: @"No Window Server configured in backend"];