Gtk2: do not ignore fsStayOnTop for borderless forms. fixes #15953

git-svn-id: trunk@23965 -
This commit is contained in:
zeljko 2010-03-12 14:56:33 +00:00
parent 44afccc3c4
commit 3b8ff2f3ba

View File

@ -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