/[packages]/updates/5/libreoffice/current/SOURCES/0001-Resolves-tdf-98807-gtk3-isn-t-giving-utility-windows.patch
ViewVC logotype

Contents of /updates/5/libreoffice/current/SOURCES/0001-Resolves-tdf-98807-gtk3-isn-t-giving-utility-windows.patch

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1142874 - (show annotations) (download)
Tue Aug 22 07:52:48 2017 UTC (6 years, 7 months ago) by neoclust
File size: 1149 byte(s)
New version 5.2.4
1 From 488e672f34d4590c3ec29a0660d5a9bc52b2819d Mon Sep 17 00:00:00 2001
2 From: =?UTF-8?q?Caol=C3=A1n=20McNamara?= <caolanm@redhat.com>
3 Date: Tue, 18 Oct 2016 15:37:59 +0100
4 Subject: [PATCH] Resolves: tdf#98807 gtk3 isn't giving utility windows focus
5
6 so just give up on that and give them a dialog hint instead
7
8 Change-Id: Icca0c707dc464b0dbf362988b1dfee56866eadc0
9 (cherry picked from commit c0d6fa1417141a3a7e9deb2f4d50acc28b32f1b4)
10 ---
11 vcl/unx/gtk3/gtk3gtkframe.cxx | 2 +-
12 1 file changed, 1 insertion(+), 1 deletion(-)
13
14 diff --git a/vcl/unx/gtk3/gtk3gtkframe.cxx b/vcl/unx/gtk3/gtk3gtkframe.cxx
15 index 812e4b8..109cccb 100644
16 --- a/vcl/unx/gtk3/gtk3gtkframe.cxx
17 +++ b/vcl/unx/gtk3/gtk3gtkframe.cxx
18 @@ -1226,7 +1226,7 @@ void GtkSalFrame::Init( SalFrame* pParent, SalFrameStyleFlags nStyle )
19 }
20 else if( (nStyle & SalFrameStyleFlags::TOOLWINDOW ) )
21 {
22 - eType = GDK_WINDOW_TYPE_HINT_UTILITY;
23 + eType = GDK_WINDOW_TYPE_HINT_DIALOG;
24 gtk_window_set_skip_taskbar_hint( GTK_WINDOW(m_pWindow), true );
25 }
26 else if( (nStyle & SalFrameStyleFlags::OWNERDRAWDECORATION) )
27 --
28 2.9.3
29

  ViewVC Help
Powered by ViewVC 1.1.30