Code: Select all
If OpenWindow(1, 0, 0, 322, 150, "Nonsticky Window", #PB_Window_SystemMenu | #PB_Window_ScreenCentered)
StickyWindow(1,1)
Repeat
Until WaitWindowEvent() = #PB_Event_CloseWindow
EndIf
Windows stays on top
What does happen:
Window moves to background, requires two clicks to be brought to active state.
Does not stay on top
Video
There is a button to make windows stay on top, it should be highlighted if the state is successfully activated, like it is when I click the button in the video.
Focus stealing prevention is turned off.
System:
Kubuntu 18.04
Purebasic 5.70
StickyWindow() works with gtk subsystems.