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

  • 🍉 Albert 🍉@lemmy.world
    link
    fedilink
    arrow-up
    7
    ·
    1 day ago

    Carpentry gives you the ability to make whatever furniture you want

    Why dont you make a table that floats in the air with no legs?

  • Fizz@lemmy.nz
    link
    fedilink
    arrow-up
    18
    ·
    2 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.

    • anyhow2503@lemmy.world
      link
      fedilink
      arrow-up
      79
      ·
      3 days ago

      They are even free to thanklessly maintain X11 for all the other contrarian fossils, because the developers sure aren’t doing it anymore.

      • ExLisperA
        link
        fedilink
        arrow-up
        6
        ·
        1 day ago

        There’s nothing contrarian in using software that works and and fulfills all your needs.

        • mech@feddit.org
          link
          fedilink
          arrow-up
          7
          ·
          1 day ago

          Quote from their readme:

          It’s explicitly free of any “DEI” or similar discriminatory policies.
          Together we’ll make X great again!

          I’ll pass.

          • heartbreaker@sh.itjust.worksOP
            link
            fedilink
            arrow-up
            2
            ·
            1 day ago

            It sounded quite bad until I took the time to visit the website and read the entire text:

            Xlibre is a fork of the Xorg Xserver with lots of code cleanups and enhanced functionality.

            This fork was necessary since toxic elements within Xorg projects, moles from BigTech, are boycotting any substantial work on Xorg, in order to destroy the project, to eliminate competition of their own products. Classic “embrace, extend, extinguish” tactics.

            Right after journalists first began covering the planned fork Xlibre, on June 6th 2025, Redhat employees started a purge on the Xlibre founder’s GitLab account on freedesktop.org: deleted the git repo, tickets, merge requests, etc, and so fired the shot that the whole world heard.

            This is an independent project, not at all affiliated with BigTech or any of their subsidiaries or tax evasion tools, nor any political activists groups, state actors, etc. It’s explicitly free of any “DEI” or similar discriminatory policies. Anybody who’s treating others nicely is welcomed.

            It doesn’t matter which country you’re coming from, your political views, your race, your sex, your age, your food menu, whether you wear boots or heels, whether you’re furry or fairy, Conan or McKay, comic character, a small furry creature from Alpha Centauri, or just a boring average person. Anybody who’s interested in bringing X forward is welcome.

            Together we’ll make X great again!

            It seems to me this person is a bit of a conspiracy theorist and simply has a different understanding of what DEI means. Maybe an important lesson is not to believe everything you read on the internet.

      • mycodesucks@lemmy.world
        link
        fedilink
        arrow-up
        14
        ·
        edit-2
        3 days ago

        Keep angrily gaslighting. Surely you’ll EVENTUALLY shame veterans who have been using Linux productively for decades into joining the cult of security over function.

        You come into MY home, into MY workflow, take features away from me that have been there ignoring all protests, then have the sheer unmitigated GALL to mock me when I dare to complain?

        • kuhli@lemmy.dbzer0.com
          link
          fedilink
          arrow-up
          5
          ·
          edit-2
          2 days ago

          Noones going into your home and taking features away from you, they just decided they don’t want to be putting a ton of effort into something 2 people care about.

          The beauty of FOSS is devs are free to make these decisions just like you’re free to develop what you need.

        • vapeloki@lemmy.world
          link
          fedilink
          arrow-up
          46
          ·
          3 days ago

          Dude, I am using Linux since 25 years.

          Just because you like it so much does not mean that anybody will maintain Xorg for you. Feel free to do it yourself.

          I chose Wayland. Not because security, but because I have a primary HDR ultrawide and an old secondary monitor.

          Running variable refreshrate does not work with this configuration on Xorg.

          HDR does not exist in Xorg.

          And never will be.

          Just keep in complaining just because someone points out that Xorg is dead.

          Xorg is dead! That is not gaslighting, this is a fact

          • mycodesucks@lemmy.world
            link
            fedilink
            arrow-up
            11
            ·
            edit-2
            3 days ago

            I WILL continue to use Xorg. My workflow requires it. If that means I have to use an unmaintained window manager forever, so be it.

            None of this would be an issue if the Wayland developers weren’t so pigheaded that they insist upon forcing their pure, untainted design philosophy onto the project rather than building an inclusive model that allows for backwards compatibility with the system it’s meant to replace.

            • Railcar8095@lemmy.world
              link
              fedilink
              arrow-up
              24
              ·
              3 days ago

              building an inclusive model that allows for backwards compatibility with the system it’s meant to replace.

              That’s honestly a terrible approach and defeats the porpoises. For example, screen recording. You can’t be “backwards compatible” (aka any app can record at any time) and have them ask for permission (the honestly better way to go).

              Bear in mind, Wayland devs didn’t force anything. They offered an alternative to X and the distros chose that after evaluating pros and cons.

              Pick a distro that aligns with your needs like we all do.

            • anyhow2503@lemmy.world
              link
              fedilink
              arrow-up
              34
              ·
              3 days ago

              I will concede that not every obscure feature has been kept but the vast majority of users are now better served by wayland compositors. I have no idea what you mean by “project”, but if they had no concerns for backwards compatibility, then XWayland wouldn’t exist.

              Stopping work on X11 because it’s been an unmaintainable mess for ages doesn’t really count as “forcing” anything upon anyone. I won’t pretend that Wayland protocol development hasn’t seen plenty of disagreements, but it is still a collaborative process.

              Your disagreements seem fairly vague to me and I can’t help but think that the “pigheaded” label is somewhat ironic, after your first paragraph.

              • vapeloki@lemmy.world
                link
                fedilink
                arrow-up
                15
                ·
                3 days ago

                There is currently one major Usecase that does not work yet with Wayland. Multiwindow positioning through the application.

                In science, and some stuff like KICaf or Gimp use this feature excessively. And as someones that relies on KiCad, it is a fucking pain.

                But, solutions are being discussed and implementations will follow

              • jdr@lemmy.ml
                link
                fedilink
                arrow-up
                2
                ·
                2 days ago

                The “forcing” was in making Wayland shit, rather than replacing it with something with at least the same capabilities as X11 (even if they are now guarded by granular permissions).

            • ☂️-@lemmy.ml
              link
              fedilink
              arrow-up
              7
              ·
              3 days ago

              i’m just curious what is the feature you are using in xorg you can’t replicate in wayland?

              • bobo@lemmy.ml
                link
                fedilink
                arrow-up
                7
                ·
                3 days ago

                Not who you asked, but:

                • sxkhd: no global hotkey daemons allowed except the compositor

                • i3wm inside of xfce/plasma: every compositor is implemenyed as a monolithic DE, fuck modularity

                I still switched to Wayland, but can’t be bothered to customise a new wm

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

      Why so salty? I am making an app that I want to stick on the background, and would like it to be cross-platform. I mean, there should be some way to achieve something this basic right? Also, Wayland is going to become the default, and most distros will switch to it.

      • kittenzrulz123@lemmy.blahaj.zone
        link
        fedilink
        arrow-up
        1
        ·
        1 day ago

        Bold of you to assume Wayland devs do things like absolutely everything else, in fact the opposite is true. As a rule of thumb Wayland devs must always do everything completely differently from everyone else and if you dont like that feel free to ignore the less than 2% of people who use Linux.

      • the_riviera_kid@lemmy.world
        link
        fedilink
        English
        arrow-up
        18
        ·
        3 days ago

        Any time you point out any flaw in linux the fanboys come out to have a screech and tell you how its all your fault actually. I’ve learned you just gotta ignore them.

        • highball@lemmy.world
          link
          fedilink
          English
          arrow-up
          10
          ·
          3 days ago

          If’s FOSS, don’t cry about it, implement the feature the way you think is best; just like every one else.

            • highball@lemmy.world
              link
              fedilink
              English
              arrow-up
              2
              ·
              2 days ago

              You got me. Average FOSS user here. Be the change you want to see or make the changes you want to see. Stop whining and complaining. Pretty simple.

            • highball@lemmy.world
              link
              fedilink
              English
              arrow-up
              2
              ·
              2 days ago

              You have the opportunity to be the change you want to see or make the change you want to see. Whining and crying about it doesn’t help anybody. It’s time you learned that.

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

            It is a design decision to have it implemented by each compositor. which means each one will implement it differently. Currently, the gtk4 layer shell supports some, like sway and hyperland, but not others, like gnome

              • heartbreaker@sh.itjust.worksOP
                link
                fedilink
                arrow-up
                1
                ·
                edit-2
                1 day ago

                Obviously, I can’t create the entire universe by my own, adding features in the way I see fit depends also on what others create. In this case, the app won’t be cross-platform, and users will complain when it doesn’t work properly on their distro. So I don’t see the issue with me complaining a bit as well.

      • mycodesucks@lemmy.world
        link
        fedilink
        arrow-up
        3
        ·
        edit-2
        3 days ago

        Then I’ll make my OWN distro. With blackjack. And hookers.

        Seriously though… I will have NO desktop environment and run terminal only before I will accept Wayland. Either reach feature parity and stop gaslighting me about functionality that has been there in X11 for decades and is a necessary part of my workflow, or back off.

    • heartbreaker@sh.itjust.worksOP
      link
      fedilink
      arrow-up
      1
      ·
      edit-2
      2 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
        ·
        2 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.

  • istdaslol@feddit.org
    link
    fedilink
    arrow-up
    7
    ·
    3 days ago

    It is easy, just loop through all active windows and increase their layer by one, making yours the most bottom