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
69e7f449
Kaydet (Commit)
69e7f449
authored
Mar 10, 2014
tarafından
Jan-Marek Glogowski
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Revert "fdo#67011: Run Display::Yield through KDEXLib::Yield."
This reverts commit
95f60222
.
üst
52a2bde7
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
16 deletions
+6
-16
KDESalDisplay.cxx
vcl/unx/kde4/KDESalDisplay.cxx
+6
-16
No files found.
vcl/unx/kde4/KDESalDisplay.cxx
Dosyayı görüntüle @
69e7f449
...
...
@@ -25,8 +25,6 @@
#include <assert.h>
#include <unx/saldata.hxx>
#include <qthread.h>
SalKDEDisplay
*
SalKDEDisplay
::
selfptr
=
NULL
;
SalKDEDisplay
::
SalKDEDisplay
(
Display
*
pDisp
)
...
...
@@ -50,26 +48,18 @@ SalKDEDisplay::~SalKDEDisplay()
void
SalKDEDisplay
::
Yield
()
{
// We yield the display throught the main Qt thread.
// Actually this Yield may call the Display::Yield, which results in an
// unlimited cycle.
static
bool
break_cyclic_yield_recursion
=
false
;
bool
is_qt_gui_thread
=
(
qApp
->
thread
()
==
QThread
::
currentThread
()
);
if
(
DispatchInternalEvent
()
||
break_cyclic_yield_recursion
)
if
(
DispatchInternalEvent
()
)
return
;
if
(
is_qt_gui_thread
)
break_cyclic_yield_recursion
=
true
;
DBG_ASSERT
(
static_cast
<
SalYieldMutex
*>
(
GetSalData
()
->
m_pInstance
->
GetYieldMutex
())
->
GetThreadId
()
==
osl
::
Thread
::
getCurrentIdentifier
(),
"will crash soon since solar mutex not locked in SalKDEDisplay::Yield"
);
static_cast
<
KDEXLib
*>
(
GetXLib
())
->
Yield
(
true
,
false
);
if
(
is_qt_gui_thread
)
break_cyclic_yield_recursion
=
false
;
XEvent
event
;
XNextEvent
(
pDisp_
,
&
event
);
if
(
checkDirectInputEvent
(
&
event
))
return
;
qApp
->
x11ProcessEvent
(
&
event
);
}
// HACK: When using Qt event loop, input methods (japanese, etc.) will get broken because
...
...
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