wlroots icon indicating copy to clipboard operation
wlroots copied to clipboard

Full EWMH 1.3 support

Open emersion opened this issue 6 years ago • 10 comments

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

Properties that MUST be supported:

  • [ ] _NET_SUPPORTED (there are missing atoms here)
  • [ ] _NET_DESKTOP_VIEWPORT
  • [ ] _NET_CURRENT_DESKTOP
  • [ ] _NET_REQUEST_FRAME_EXTENTS
  • [x] _NET_WM_STATE
  • [ ] _NET_FRAME_EXTENTS

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

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

emersion avatar Jan 25 '19 08:01 emersion

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?

chrisjbillington avatar Jan 29 '19 19:01 chrisjbillington

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

Instead, clients should use the window-management protocol.

emersion avatar Jan 29 '19 19:01 emersion

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)?

ammen99 avatar Jan 29 '19 20:01 ammen99

Gah, yes, thanks!

emersion avatar Jan 29 '19 20:01 emersion

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

chrisjbillington avatar Jan 30 '19 01:01 chrisjbillington

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.

progandy avatar Jan 30 '19 02:01 progandy

@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.

ammen99 avatar Jan 30 '19 07:01 ammen99

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

ddevault avatar Jan 30 '19 13:01 ddevault

Unless, god forbid, GTK tooltips are xdg toplevels?

ddevault avatar Jan 30 '19 13:01 ddevault

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.

ammen99 avatar Jan 30 '19 15:01 ammen99