wayland: use an invisible surface as shell surface (#835)

This decorelates the window management from the actual user content,
meaning:

- the created window no longer needs the user to draw something to
  start existing
- it reduces our need to do roundtrips during initialization to
  avoid protocol errors
This commit is contained in:
Victor Berger 2019-06-13 18:50:02 +02:00 committed by Osspial
parent cf713bef31
commit 65587ef43a
3 changed files with 48 additions and 15 deletions

View file

@ -68,7 +68,7 @@ features = [
[target.'cfg(any(target_os = "linux", target_os = "dragonfly", target_os = "freebsd", target_os = "openbsd", target_os = "netbsd"))'.dependencies]
wayland-client = { version = "0.23.0", features = [ "dlopen", "egl", "cursor", "eventloop"] }
calloop = "0.4.2"
smithay-client-toolkit = "0.6"
smithay-client-toolkit = "0.6.1"
x11-dl = "2.18.3"
percent-encoding = "1.0"