mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-09-08 06:20:51 +02:00
Gtk2: do not ignore fsStayOnTop for borderless forms. fixes #15953
git-svn-id: trunk@23965 -
This commit is contained in:
parent
44afccc3c4
commit
3b8ff2f3ba
@ -194,8 +194,7 @@ begin
|
||||
gtk_window_set_transient_for(PGtkWindow(P), PGtkWindow(PopupParent.Handle))
|
||||
else
|
||||
if not (csDesigning in ACustomForm.ComponentState)
|
||||
and (ACustomForm.FormStyle = fsStayOnTop)
|
||||
and not (ACustomForm.BorderStyle in [bsNone]) then
|
||||
and (ACustomForm.FormStyle = fsStayOnTop) then
|
||||
gtk_window_set_keep_above(PGtkWindow(P), gboolean(True));
|
||||
|
||||
// the clipboard needs a widget
|
||||
|
Loading…
Reference in New Issue
Block a user