Basic wayland support though wl_shm (#8)

* x11: need to return somethin from processEvents()

* Added wayland support

* Documented how to use wayland support

* wayland: re-attach the buffer to actually trigger an update

* wayland: use the seat_listener
This commit is contained in:
Marcus Fritzsch
2017-01-24 20:14:11 +01:00
committed by Daniel Collin
parent 494af34aab
commit b0f1590fc5
5 changed files with 305 additions and 3 deletions

View File

@ -104,7 +104,7 @@ static int processEvents()
KeySym sym;
if (!XPending(s_display))
return;
return 0;
XNextEvent(s_display, &event);