Qt
Internal/Contributor docs for the Qt SDK. <b>Note:</b> These are NOT official API docs; those are found <a href='https://doc.qt.io/'>here</a>.
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
QtWaylandClient::QWaylandFullScreenShellV1Surface::QWaylandFullScreenShellV1Surface
QWaylandFullScreenShellV1Surface(QtWayland::zwp_fullscreen_shell_v1 *shell, QWaylandWindow *window)
Definition
qwaylandfullscreenshellv1surface.cpp:12
QtWaylandClient::QWaylandShellSurface
Definition
qwaylandshellsurface_p.h:40
QtWaylandClient::QWaylandWindow
Definition
qwaylandwindow_p.h:66
QtWaylandClient::QWaylandWindow::waylandScreen
QWaylandScreen * waylandScreen() const
Definition
qwaylandwindow.cpp:966
QtWaylandClient::QWaylandWindow::wlSurface
::wl_surface * wlSurface() const
Definition
qwaylandwindow.cpp:941
QT_BEGIN_NAMESPACE
Combined button and popup list for selecting options.
Definition
qstandardpaths_haiku.cpp:21
QT_END_NAMESPACE
Definition
qsharedpointer.cpp:1590
QtWaylandClient
Definition
qwaylandclientextension.h:15
screen
QScreen * screen
[1]
Definition
main.cpp:29
output
QT_BEGIN_NAMESPACE typedef uchar * output
Definition
qvideoframeconversionhelper_p.h:24
qwaylandfullscreenshellv1surface.h
window
aWidget window() -> setWindowTitle("New Window Title")
[2]
qtwayland
src
plugins
shellintegration
fullscreen-shell-v1
qwaylandfullscreenshellv1surface.cpp
Generated by
1.10.0