summaryrefslogtreecommitdiffstats
path: root/src/compositor/compositor_api/qwaylandcompositor.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/compositor/compositor_api/qwaylandcompositor.cpp')
-rw-r--r--src/compositor/compositor_api/qwaylandcompositor.cpp20
1 files changed, 9 insertions, 11 deletions
diff --git a/src/compositor/compositor_api/qwaylandcompositor.cpp b/src/compositor/compositor_api/qwaylandcompositor.cpp
index 2fd5ca43c..7338f060c 100644
--- a/src/compositor/compositor_api/qwaylandcompositor.cpp
+++ b/src/compositor/compositor_api/qwaylandcompositor.cpp
@@ -405,7 +405,7 @@ void QWaylandCompositorPrivate::loadServerBufferIntegration()
\qmltype WaylandCompositor
\inqmlmodule QtWayland.Compositor
\preliminary
- \brief Type managing the Wayland display server.
+ \brief Manages the Wayland display server.
The WaylandCompositor manages the connections to the clients, as well as the different
\l{WaylandOutput}{outputs} and \l{QWaylandInputDevice}{input devices}.
@@ -424,7 +424,7 @@ void QWaylandCompositorPrivate::loadServerBufferIntegration()
\class QWaylandCompositor
\inmodule QtWaylandCompositor
\preliminary
- \brief Class managing the Wayland display server.
+ \brief The QWaylandCompositor class manages the Wayland display server.
The QWaylandCompositor manages the connections to the clients, as well as the different \l{QWaylandOutput}{outputs}
and \l{QWaylandInputDevice}{input devices}.
@@ -483,9 +483,8 @@ bool QWaylandCompositor::isCreated() const
* clients. It must be set before the component is completed.
*
* If the socketName is empty (the default), the contents of the start argument
- * --wayland-socket-name is used instead. If this is not set, then the compositor
- * will try to find a socket name automatically, which in the default case will
- * be "wayland-0".
+ * \c --wayland-socket-name are used instead. If the argument is not set, the
+ * compositor tries to find a socket name, which is \c{wayland-0} by default.
*/
/*!
@@ -495,9 +494,8 @@ bool QWaylandCompositor::isCreated() const
* clients. This must be set before the QWaylandCompositor is \l{create()}{created}.
*
* If the socketName is empty (the default), the contents of the start argument
- * --wayland-socket-name is used instead. If this is not set, then the compositor
- * will try to find a socket name automatically, which in the default case will
- * be "wayland-0".
+ * \c --wayland-socket-name are used instead. If the argument is not set, the
+ * compositor tries to find a socket name, which is \c{wayland-0} by default.
*/
void QWaylandCompositor::setSocketName(const QByteArray &name)
{
@@ -832,11 +830,11 @@ void QWaylandCompositor::setUseHardwareIntegrationExtension(bool use)
/*!
* Grab the surface content from the given \a buffer.
* The default implementation requires a OpenGL context to be bound to the current thread
- * to work. If this is not possible reimplement this function in your compositor subclass
- * to implement custom logic.
+ * to work. If this is not possible, reimplement this function in your compositor subclass
+ * to implement a custom logic.
* The default implementation only grabs SHM and OpenGL buffers, reimplement this in your
* compositor subclass to handle more buffer types.
- * You should not call this manually, but rather use QWaylandSurfaceGrabber (\a grabber).
+ * \note You should not call this manually, but rather use QWaylandSurfaceGrabber (\a grabber).
*/
void QWaylandCompositor::grabSurface(QWaylandSurfaceGrabber *grabber, const QWaylandBufferRef &buffer)
{