-
Notifications
You must be signed in to change notification settings - Fork 21
Wayland
Unfortunately, it's not possible for KDocker to work with Wayland. It's unlikely KDocker will ever be able to dock Wayland managed windows. This isn't anything to do with KDocker but design decisions of Wayland itself.
X11 exposes a lot of information about windows to the world and allows applications to interact with another application's windows. This is how KDocker does what it does. KDocker asks X11 to send it events about windows it's interested in. KDocker will send messages through X11 to the window manager telling the window manager what it should do with a given window. This is how KDocker is able to hide and show windows.
Wayland is not only a different code base but a major change in how the windowing system works. Only the window manager is able to see and interact with windows running on the system. A 3rd app like KDocker can't query, receive events, or send messages like it can with X11.
When you think about it, this restriction is good from a security standpoint. While KDocker is useful, it's also pretty scary that any application on your X11 desktop can do everything KDocker can and more. All it takes is one misbehaved or malicious application to ruin your day.
The only way for KDocker to work with Wayland is for the window manager to expose all of the events and accept all of the messages KDocker needs. But at that point the window manager has basically reimplemented KDocker itself.