summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2016-10-18 15:37:59 +0100
committerCaolán McNamara <caolanm@redhat.com>2016-10-18 15:40:02 +0100
commitc0d6fa1417141a3a7e9deb2f4d50acc28b32f1b4 (patch)
tree0c9eba1a9d0771a6e73aac2322c2e58f43b7329e
parent0eebe7387fd88aaef12fc3e303ed477d0aea6066 (diff)
Resolves: tdf#98807 gtk3 isn't giving utility windows focus
so just give up on that and give them a dialog hint instead Change-Id: Icca0c707dc464b0dbf362988b1dfee56866eadc0
-rw-r--r--vcl/unx/gtk3/gtk3gtkframe.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/vcl/unx/gtk3/gtk3gtkframe.cxx b/vcl/unx/gtk3/gtk3gtkframe.cxx
index 0ddab74db79e..9fc972dad2d9 100644
--- a/vcl/unx/gtk3/gtk3gtkframe.cxx
+++ b/vcl/unx/gtk3/gtk3gtkframe.cxx
@@ -1240,7 +1240,7 @@ void GtkSalFrame::Init( SalFrame* pParent, SalFrameStyleFlags nStyle )
}
else if( (nStyle & SalFrameStyleFlags::TOOLWINDOW ) )
{
- eType = GDK_WINDOW_TYPE_HINT_UTILITY;
+ eType = GDK_WINDOW_TYPE_HINT_DIALOG;
gtk_window_set_skip_taskbar_hint( GTK_WINDOW(m_pWindow), true );
}
else if( (nStyle & SalFrameStyleFlags::OWNERDRAWDECORATION) )