mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-09-26 21:49:29 +02:00
Gtk2: skip taskbarhint after call to gtk_window_present() for modal forms. issue #18323
git-svn-id: trunk@34060 -
This commit is contained in:
parent
59c140bec2
commit
8efdf7144d
@ -824,10 +824,12 @@ begin
|
||||
gtk_window_set_modal(GtkWindow, true);
|
||||
{$ENDIF}
|
||||
|
||||
gtk_window_present(GtkWindow);
|
||||
|
||||
if (AForm <> nil) and (AForm.ShowInTaskBar <> stAlways) and
|
||||
(gtk_window_get_type_hint(GtkWindow) <> GDK_WINDOW_TYPE_HINT_DIALOG) then
|
||||
gtk_window_set_skip_taskbar_hint(GtkWindow, True);
|
||||
gtk_window_present(GtkWindow);
|
||||
|
||||
{$IFDEF VerboseTransient}
|
||||
DebugLn('TGtkWidgetSet.ShowModal ',Sender.ClassName);
|
||||
{$ENDIF}
|
||||
|
Loading…
Reference in New Issue
Block a user