rerun icon indicating copy to clipboard operation
rerun copied to clipboard

Set app-id properly in wayland

Open jleibs opened this issue 2 years ago • 1 comments

With the new native window frame support from https://github.com/rerun-io/rerun/pull/1094 it would be nice to be able to strip off the wayland-provided titlebar in some contexts. The mechanism wayland exposes for doing this is a configuration that filters applications based on app-id, which seems not to be set.

It looks like we want to be making a call to: https://docs.rs/winit/latest/winit/platform/wayland/trait.WindowBuilderExtWayland.html#tymethod.with_name

jleibs avatar Feb 06 '23 18:02 jleibs

Yes!! Not only that, but the app-id is used by a lot of window managers to set per-application settings independent of the actual window titles!

I have long been dreaming of the day where I can configure my swaywm with:

for_window [app_id="rerun"] floating enable

teh-cmc avatar Feb 06 '23 20:02 teh-cmc

Related:

  • https://github.com/rerun-io/rerun/issues/1063

emilk avatar Feb 28 '23 16:02 emilk

We do this via eframe now! Our app-id is rerun

emilk avatar Aug 31 '23 13:08 emilk

Confirmed this is there and works as expected.

jleibs avatar Aug 31 '23 14:08 jleibs

:partying_face:

teh-cmc avatar Aug 31 '23 14:08 teh-cmc