Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
Loading...
Searching...
No Matches
qwaylandfullscreenshellv1surface.cpp
Go to the documentation of this file.
1
// Copyright (C) 2018 Pier Luigi Fiorini <pierluigi.fiorini@gmail.com>
2
// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
3
4
#
include
<
QtWaylandClient
/
private
/
qwaylandscreen_p
.
h
>
5
6
#
include
"qwaylandfullscreenshellv1surface.h"
7
8
QT_BEGIN_NAMESPACE
9
10
namespace
QtWaylandClient
{
11
12
QWaylandFullScreenShellV1Surface
::
QWaylandFullScreenShellV1Surface
(
QtWayland
::
zwp_fullscreen_shell_v1
*
shell
,
QWaylandWindow
*
window
)
13
:
QWaylandShellSurface
(
window
)
14
,
m_shell
(
shell
)
15
,
m_window
(
window
)
16
{
17
auto
*
screen
=
m_window
->
waylandScreen
();
18
auto
*
output
=
screen
?
screen
->
output
() :
nullptr
;
19
m_shell
->
present_surface
(
m_window
->
wlSurface
(),
20
QtWayland
::
zwp_fullscreen_shell_v1
::
present_method_default
,
21
output
);
22
}
23
24
}
// namespace QtWaylandClient
25
26
QT_END_NAMESPACE
QPlatformGraphicsBufferHelper
\inmodule QtGui
QtWaylandClient
Definition
qwaylandclientextension.h:15
qtbase
src
plugins
platforms
wayland
plugins
shellintegration
fullscreen-shell-v1
qwaylandfullscreenshellv1surface.cpp
Generated on
for Qt by
1.14.0