SFML community forums

General => Feature requests => Topic started by: mentaman10 on December 21, 2011, 08:09:36 pm

Title: stay on top
Post by: mentaman10 on December 21, 2011, 08:09:36 pm
function which stays the window on top

App.StayOnTop();
Title: stay on top
Post by: Laurent on December 21, 2011, 08:17:09 pm
Rejected.
Title: stay on top
Post by: Haze on December 22, 2011, 12:43:10 pm
This should be the user's choice, and you can already do that with your window manager.
Title: stay on top
Post by: nitrix on December 22, 2011, 02:37:46 pm
I had the same though too, it should be left to the user's choice. Some of them have tiling window managers and stuff that could break.

I mean you could always use sf::Style::Fullscreen if you have no choice. Just don't control the windows for them ;)
Title: stay on top
Post by: mentaman10 on December 22, 2011, 10:39:18 pm
yeh, but when the windows open, it should be on top.
not on the window inself...
Title: stay on top
Post by: zeocyte on December 23, 2011, 08:08:11 am
Its very intrusive and annoying for the user.
Title: stay on top
Post by: mentaman10 on December 23, 2011, 12:55:18 pm
not all the time, just jump it to the top when the game is started.
Title: stay on top
Post by: Nexus on December 23, 2011, 12:58:38 pm
I agree with the others, such a feature only leads to pop-up like behavior which is extremely annoying at best.

Newly opened windows appear automatically at the top. And generally, it should be up to the user to give windows the focus.