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

you are viewing a single comment's thread
view the rest of the comments
[–] 6 points 1 year ago (5 children)

ugh I wish I could but my Laptop set up says "no, you can't." discrete Nividia GPU with onboard AMD GPU and gaming on x11 is a no go for me. So my only choice is wayland :/

  • source
  • parent
  • hideshow 5 child comments
  • [–] 2 points 1 year ago (2 children)

    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.

  • source
  • parent
  • hideshow 2 child comments
  • [–] 2 points 1 year ago (1 child)

    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.

  • source
  • parent
  • hideshow 1 child comment
  • [–] 1 point 1 year 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.

  • source
  • parent