зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1661450 - 6/8 Separate code for X11 and wayland r=stransky
Depends on D139531 Differential Revision: https://phabricator.services.mozilla.com/D139532
This commit is contained in:
Родитель
297f530b7c
Коммит
798a827ca4
|
@ -49,9 +49,20 @@ GtkCompositorWidget::GtkCompositorWidget(
|
|||
auto size = mClientSize.Lock();
|
||||
*size = aInitData.InitialClientSize();
|
||||
|
||||
LOG("GtkCompositorWidget::GtkCompositorWidget() [%p] mXWindow %p "
|
||||
"mIsRenderingSuspended %d\n",
|
||||
(void*)mWidget.get(), (void*)mXWindow, !!mIsRenderingSuspended);
|
||||
#if defined(MOZ_X11)
|
||||
if (GdkIsX11Display()) {
|
||||
LOG("GtkCompositorWidget::GtkCompositorWidget() [%p] mXWindow %p "
|
||||
"mIsRenderingSuspended %d\n",
|
||||
(void*)mWidget.get(), (void*)mXWindow, !!mIsRenderingSuspended);
|
||||
}
|
||||
#endif
|
||||
#if defined(MOZ_WAYLAND)
|
||||
if (GdkIsWaylandDisplay()) {
|
||||
LOG("GtkCompositorWidget::GtkCompositorWidget() [%p] mWidget %p "
|
||||
"mIsRenderingSuspended %d\n",
|
||||
(void*)mWidget.get(), (void*)mWidget, !!mIsRenderingSuspended);
|
||||
}
|
||||
#endif
|
||||
}
|
||||
|
||||
GtkCompositorWidget::~GtkCompositorWidget() {
|
||||
|
|
Загрузка…
Ссылка в новой задаче