swaywm / wlroots

A modular Wayland compositor library
https://gitlab.freedesktop.org/wlroots/wlroots/
MIT License
2.14k stars 340 forks source link

Full EWMH 1.3 support #1496

Open emersion opened 5 years ago

emersion commented 5 years ago

Spec: https://specifications.freedesktop.org/wm-spec/wm-spec-1.3.html

Properties that MUST be supported:


wlroots has migrated to gitlab.freedesktop.org. This issue has been moved to:

https://gitlab.freedesktop.org/wlroots/wlroots/-/issues/1496

chrisjbillington commented 5 years ago

Just a question, is this intended to provide EWMH information about all windows/surfaces (whatever the nomenclature is for wayland), or just about Xwayland clients?

Basically, is there hope that an existing panel application for X like tint2 might be able to usefully run in a wlroots-based WM?

emersion commented 5 years ago

No, this isn't possible, Wayland windows don't have X11 IDs.

Instead, clients should use the window-management protocol.

ammen99 commented 5 years ago

Instead, clients should use the window-management protocol.

Did you mean the foreign-toplevel protocol? (https://github.com/swaywm/wlr-protocols/blob/master/unstable/wlr-foreign-toplevel-management-unstable-v1.xml)?

emersion commented 5 years ago

Gah, yes, thanks!

chrisjbillington commented 5 years ago

Ok no worries. I suppose we can hope for similar panel applications using the foreign-toplevel protocol at some point in the future then.

progandy commented 5 years ago

Ok no worries. I suppose we can hope for similar panel applications using the foreign-toplevel protocol at some point in the future then.

https://github.com/WayfireWM/wf-shell has a dock with foreign-toplevel protocol.

ammen99 commented 5 years ago

@progandy Sadly the dock now uses wayfire-shell because of issues with GTK tooltips and layer-shell. If somebody knows a workaround, I'd be happy to switch to layer-shell, at least for the dock.

ddevault commented 5 years ago

Hm, layer-shell supports xdg-popup. I'm surprised that it doesn't work.

ddevault commented 5 years ago

Unless, god forbid, GTK tooltips are xdg toplevels?

ammen99 commented 5 years ago

Unless, god forbid, GTK tooltips are xdg toplevels?

Yes, they are, if you use custom GTK backend for GtkWindow. It is a GTK bug though AFAIK.