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

  • dustyData@lemmy.world
    link
    fedilink
    arrow-up
    2
    ·
    8 hours ago

    Is it something specific to a particular model or combination of those? Because I run a laptop with amd integrated GPU and discrete nvidia GPU (not that rare, actually) and Wayland works flawlessly. Games use xwayland without any issues when necessary.

    I used to have my reservations a year or so ago, but Wayland has grown in leaps and bounds over the last couple of years. It is much more ready now.

    • rozodru@pie.andmc.ca
      link
      fedilink
      English
      arrow-up
      2
      ·
      8 hours ago

      yeah it works flawlessly on Wayland, that wasn’t what I was saying. I’m saying on x11 it doesn’t work for gaming because of the setup. Say I want to use I3 or Herbstfluftwm. If I open a game and ONLY stay on that game it’s fine. but if I navigate away from it to look at a web browser or check discord and then toggle back to the game it results in a black screen or simply shows the desktop and the game is unresponsive. And from what I was able to find online the consensus seems to be it’s because x11 doesn’t play well with integrated and discrete dual GPUs.

      • dustyData@lemmy.world
        link
        fedilink
        English
        arrow-up
        1
        ·
        7 hours ago

        Oh, my bad. Misread it the other way around. Disregard the comment then. That said. I disagree with the other commenter. Such a combination of GPUs is not rare at all. It was even recommended frequently to PC builders about 5+ years ago.