B_avoid_front and hey

Hello, as i wrote above I’m trying to set the flag B_AVOID_FRONT to a window using hey (as window.h says I’m adding 0x80 or dec 128 to the current flags of a window ) but doesn’t happen anything, but if I apply other flags (not closable, avoid focus, etc), this method works.

Do I misunderstand what that flags does? Or this flag can be applied only to a certain kind of window?

TNX in advance

1 Like

I tried playing around with B_AVOID_FRONT using the test app in the Haiku sources. I didn’t see any real changes to windows that had this property set. I very briefly glanced at the code and saw that it doesn’t apply to a couple of special windows (like the Desktop) but it should work on others. Maybe it’s broken?

2 Likes