Welcome, Guest. Please login or register. Did you miss your activation email?

Author Topic: stay on top  (Read 3705 times)

0 Members and 1 Guest are viewing this topic.

mentaman10

  • Newbie
  • *
  • Posts: 16
    • View Profile
stay on top
« on: December 21, 2011, 08:09:36 pm »
function which stays the window on top

App.StayOnTop();

Laurent

  • Administrator
  • Hero Member
  • *****
  • Posts: 32498
    • View Profile
    • SFML's website
    • Email
stay on top
« Reply #1 on: December 21, 2011, 08:17:09 pm »
Rejected.
Laurent Gomila - SFML developer

Haze

  • Full Member
  • ***
  • Posts: 201
    • View Profile
    • Github Profile
stay on top
« Reply #2 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.

nitrix

  • Newbie
  • *
  • Posts: 27
    • View Profile
stay on top
« Reply #3 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 ;)

mentaman10

  • Newbie
  • *
  • Posts: 16
    • View Profile
stay on top
« Reply #4 on: December 22, 2011, 10:39:18 pm »
yeh, but when the windows open, it should be on top.
not on the window inself...

zeocyte

  • Newbie
  • *
  • Posts: 9
    • View Profile
stay on top
« Reply #5 on: December 23, 2011, 08:08:11 am »
Its very intrusive and annoying for the user.
Everything is predetermined.

mentaman10

  • Newbie
  • *
  • Posts: 16
    • View Profile
stay on top
« Reply #6 on: December 23, 2011, 12:55:18 pm »
not all the time, just jump it to the top when the game is started.

Nexus

  • SFML Team
  • Hero Member
  • *****
  • Posts: 6287
  • Thor Developer
    • View Profile
    • Bromeon
stay on top
« Reply #7 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.
Zloxx II: action platformer
Thor Library: particle systems, animations, dot products, ...
SFML Game Development:

 

anything