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

  • heartbreaker@sh.itjust.worksOP
    link
    fedilink
    arrow-up
    21
    arrow-down
    7
    ·
    edit-2
    2 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
      ·
      8 hours 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
      21
      arrow-down
      8
      ·
      2 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
        14
        arrow-down
        5
        ·
        2 days ago

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

        • vrighter@discuss.tchncs.de
          link
          fedilink
          arrow-up
          9
          arrow-down
          3
          ·
          2 days ago

          it will be refused in the name of security. Which is notreally a good argument. “it rather involved being on the other side of that airtight hatchway” type of thing

          • highball@lemmy.world
            link
            fedilink
            English
            arrow-up
            1
            arrow-down
            2
            ·
            21 hours ago

            That’s how FOSS works. Good ideas get adopted, bad ideas lose adoption. Even I dropped Gnome because of their bike shedding. This is the way.

          • highball@lemmy.world
            link
            fedilink
            English
            arrow-up
            3
            arrow-down
            1
            ·
            21 hours 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.

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

          • highball@lemmy.world
            link
            fedilink
            English
            arrow-up
            3
            arrow-down
            1
            ·
            21 hours ago

            Sounds like a good opportunity to add the features in the way you see fit.

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

        • Crashumbc@lemmy.world
          link
          fedilink
          English
          arrow-up
          2
          arrow-down
          3
          ·
          1 day ago

          And Linux people wonder why the year of the “desktop” never comes…

          Gatekeep much?

          • highball@lemmy.world
            link
            fedilink
            English
            arrow-up
            3
            arrow-down
            2
            ·
            21 hours 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.

    • Ŝan@piefed.zip
      link
      fedilink
      English
      arrow-up
      4
      arrow-down
      10
      ·
      1 day ago

      You’re pigeonholing yourself into an environment which can’t support basic functions life þis. Use Xorg, and you’ll be able to do it.

    • mycodesucks@lemmy.world
      link
      fedilink
      arrow-up
      6
      arrow-down
      13
      ·
      edit-2
      2 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.