Skip to content
Projeler
Gruplar
Parçacıklar
Yardım
Yükleniyor...
Oturum aç / Kaydol
Gezinmeyi değiştir
C
core
Proje
Proje
Ayrıntılar
Etkinlik
Cycle Analytics
Depo (repository)
Depo (repository)
Dosyalar
Kayıtlar (commit)
Dallar (branch)
Etiketler
Katkıda bulunanlar
Grafik
Karşılaştır
Grafikler
Konular (issue)
0
Konular (issue)
0
Liste
Pano
Etiketler
Kilometre Taşları
Birleştirme (merge) Talepleri
0
Birleştirme (merge) Talepleri
0
CI / CD
CI / CD
İş akışları (pipeline)
İşler
Zamanlamalar
Grafikler
Paketler
Paketler
Wiki
Wiki
Parçacıklar
Parçacıklar
Üyeler
Üyeler
Collapse sidebar
Close sidebar
Etkinlik
Grafik
Grafikler
Yeni bir konu (issue) oluştur
İşler
Kayıtlar (commit)
Konu (issue) Panoları
Kenar çubuğunu aç
LibreOffice
core
Commits
2d5d1415
Kaydet (Commit)
2d5d1415
authored
Haz 03, 2013
tarafından
Michael Meeks
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
fdo#56583 - avoid setting user time on unrealized windows.
Change-Id: Iab776088b1d168295d636069e1a92ba948241653
üst
89935d18
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
2 deletions
+10
-2
gtksalframe.cxx
vcl/unx/gtk/window/gtksalframe.cxx
+10
-2
No files found.
vcl/unx/gtk/window/gtksalframe.cxx
Dosyayı görüntüle @
2d5d1415
...
...
@@ -1013,9 +1013,17 @@ static void lcl_set_user_time( GtkWindow* i_pWindow, guint32 i_nTime )
bGetSetUserTimeFn
=
false
;
p_gdk_x11_window_set_user_time
=
(
setUserTimeFn
)
osl_getAsciiFunctionSymbol
(
GetSalData
()
->
m_pPlugin
,
"gdk_x11_window_set_user_time"
);
}
bool
bSet
=
false
;
if
(
p_gdk_x11_window_set_user_time
)
p_gdk_x11_window_set_user_time
(
widget_get_window
(
GTK_WIDGET
(
i_pWindow
)),
i_nTime
);
else
{
GdkWindow
*
pWin
=
widget_get_window
(
GTK_WIDGET
(
i_pWindow
));
if
(
pWin
)
// only if the window is realized.
{
p_gdk_x11_window_set_user_time
(
pWin
,
i_nTime
);
bSet
=
true
;
}
}
if
(
!
bSet
)
{
Display
*
pDisplay
=
GetGtkSalData
()
->
GetGtkDisplay
()
->
GetDisplay
();
Atom
nUserTime
=
XInternAtom
(
pDisplay
,
"_NET_WM_USER_TIME"
,
True
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment