Window ontop method ?

macOS specific usage questions
Michael Z Freeman
New Cone
New Cone
Posts: 1
Joined: 15 Nov 2024 10:57

Window ontop method ?

Postby Michael Z Freeman » 15 Nov 2024 11:02

Hi,

I’ve been constantly told that I can’t put windows ontop (above all others) in macOS. Yet VLC can do this. What method does VLC use to do this ?

fkuehne
Developer
Developer
Posts: 7265
Joined: 16 Mar 2004 19:37
VLC version: 0.4.6 - present
Operating System: Darwin
Location: Germany
Contact:

Re: Window ontop method ?

Postby fkuehne » 18 Nov 2024 16:02

We enable the "float on top" boolean variable on the native NSWindow class. This is not magical, but indeed very rarely used by other apps.
VideoLAN
Felix Paul Kühne
Medic. VLC developer for appleOS since before you were born.
Blog: https://www.feepk.net


Return to “VLC media player for macOS Troubleshooting”

Who is online

Users browsing this forum: Google [Bot] and 18 guests