Does anybody know how to set a window always on bottom in rust gtk4? set_type_hint() does not exist.

  • DefederateLemmyMl@feddit.nl
    link
    fedilink
    arrow-up
    1
    ·
    12 hours ago

    No. Those are X11 only.

    I had a bunch of wmctrl window placement scripts that I had to rewrite in kwin’s (awful) scripting language when I switched to wayland.

    • Fmstrat@lemmy.world
      link
      fedilink
      arrow-up
      1
      ·
      10 hours ago

      While not all functions work, they do a lot of things in Wayland. xdotool search, xdotool winactivate, xdotool windowsize, xdotool windowmove, xdotool keyup, and wmctrl -r all work fine, and my “move to” script (that positions all my windows on startup) works in Wayland using those.

      • DefederateLemmyMl@feddit.nl
        link
        fedilink
        arrow-up
        1
        ·
        10 hours ago

        wmctrl and xdotool don’t do anything for me with native Wayland windows. It only seems to work for applications that use Xwayland.

        So while I can use it to resize and position xterm or urxvt windows, it does not work with foot or kitty or firefox windows.