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

  • Fmstrat@lemmy.world
    link
    fedilink
    arrow-up
    1
    ·
    12 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
      ·
      11 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.