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

    • vrighter@discuss.tchncs.de
      link
      fedilink
      arrow-up
      17
      arrow-down
      4
      ·
      11 days ago

      missing feature that used to be there but has been removed in the name of protecting me from myself, is an inability to customize.

          • anyhow2503@lemmy.world
            link
            fedilink
            arrow-up
            14
            arrow-down
            2
            ·
            11 days ago

            Alright then, since everyone assumes I’m here to participate in this shitty flamewar instead of genuinely asking what someone is talking about: the article does a pretty good job of explaining what the idea is behind not giving applications absolute coordinates to position their windows in. If that isn’t enough and you’re one of those people who insist that it must be those evil Wayland devs pushing their security agenda down everyones throats, then you might consider how much of a pain this was for any WM that wanted to do something like scrollable workspaces or managing a device that doesn’t have a standard screen shape. If anything, giving apps access to global coordinates the way X did, just makes them less portable to other environments. There are trade-offs here and you might disagree with the compromise we landed on for now, but all of this has already been discussed for years so at this point I really don’t care for snarky commentary from people who aren’t willing to contribute towards the changes they want to see.

    • heartbreaker@sh.itjust.worksOP
      link
      fedilink
      arrow-up
      2
      ·
      11 days ago

      So, as far as I understand, this works with gtk3, which will still work with Xwayland, but will eventually be phased out? Anyway, I think I will just use gtk4 layer shell and hope it supports all compositors eventually

      • rtxn@lemmy.worldM
        link
        fedilink
        arrow-up
        7
        ·
        11 days ago

        It looks like GNOME is the only compositor that doesn’t support the wlr_layer_shell protocol, which is anything but surprising. Smithay works (Cosmic and Niri), wlroots works, Kwin and Mir work, Aquamarine (Hyprland) is not listed, but I know that it works.

  • Fizz@lemmy.nz
    link
    fedilink
    arrow-up
    15
    arrow-down
    1
    ·
    11 days ago

    I know this is pedantic but Linux does give users the free to do this. They just need to add a patch to their desktop and patch their app to make it so.

    • heartbreaker@sh.itjust.worksOP
      link
      fedilink
      arrow-up
      5
      arrow-down
      1
      ·
      12 days ago

      I meant as in keep the always on the bottom/background (or at least move it to the back on launch). I tried gtk4-layer-shell, but unfortunately, it doesn’t support some desktop environments (like GNOME).

  • bookmeat@lemmynsfw.com
    link
    fedilink
    arrow-up
    4
    ·
    10 days ago

    What actually bothers me is when a window opens and takes my keyboard focus away from where I was working. God, I hate what shit.

  • Jul (they/she)@piefed.blahaj.zone
    link
    fedilink
    English
    arrow-up
    7
    arrow-down
    4
    ·
    12 days ago

    Wayland is still too new for a lot of complex functionality. It works well enough for the vast majority of use cases, but X11 is still superior in terms of functionality. But like many systems, control means higher learning curve due to various quirks and complex configurations.

      • rtxn@lemmy.worldM
        link
        fedilink
        arrow-up
        14
        ·
        12 days ago

        X11 was released in 1987. The original X Window System was released in 1984. That is not just a few years of difference.

        If you meant the X.org implementation, then compare it to compositors, not to the protocol.

        • UnityDevice@lemmy.zip
          link
          fedilink
          English
          arrow-up
          3
          ·
          11 days ago

          And xorg is older than it appears, as it was forked from the much older XFree86 over licensing disagreements. XFree86 started in 1991 according to Wikipedia.