Commit c778475f authored by Frederik Gladhorn's avatar Frederik Gladhorn Committed by Frederik Gladhorn
Browse files

Improve documentation

Summary:
Some of the documentation did not say what the purpose of the
respective class was, but rather gave a tautology.
For people new to the code base it helps to mention that
DPMS is power management.

That DataDevice is for copy-and-paste and drag-and-drop is
maybe obvious to people used to X11 API, but not very clear
to most others.

When first reading the KWayland code, some explanations
help getting around.

Reviewers: #kwin, romangg

Reviewed By: #kwin, romangg

Subscribers: romangg, zzag, kde-frameworks-devel

Tags: #frameworks

Differential Revision: https://phabricator.kde.org/D23915
parent f5d371a6
......@@ -38,7 +38,12 @@ class SeatInterface;
class SurfaceInterface;
/**
* @brief Represents the Resource for the wl_data_device interface.
* @brief DataDeviceInterface allows clients to share data by copy-and-paste and drag-and-drop.
*
* The data device is per seat.
* Copy-and-paste use the selection functions.
*
* Represents the Resource for the wl_data_device interface.
*
* @see SeatInterface
* @see DataSourceInterface
......
......@@ -33,12 +33,13 @@ namespace Server
class Display;
/**
* @brief Global for the org_kde_kwin_dpms_manager interface.
* @brief Global for server side Display Power Management Signaling interface.
*
* If the DpmsManagerInterface is created it allows a client to
* query the Dpms state on a given OutputInterface and request
* changes for it. The code interaction happens only via the
* OutputInterface.
* A DpmsManagerInterface allows a client to query the DPMS state
* on a given OutputInterface and request changes to it.
* Server-side the interaction happens only via the OutputInterface,
* for clients the Dpms class provides the API.
* This global implements org_kde_kwin_dpms_manager.
*
* To create a DpmsManagerInterface use:
* @code
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment