KDEUI
NETWinInfo2 Class Reference
This class is an extension of the NETWinInfo class, and exists solely for binary compatibility reasons (adds new virtual methods) until KDE5. More...
#include <netwm.h>
Inheritance diagram for NETWinInfo2:

Public Member Functions | |
NETFullscreenMonitors | fullscreenMonitors () const |
NETWinInfo2 (Display *display, Window window, Window rootWindow, unsigned long properties, Role role=Client) | |
NETWinInfo2 (Display *display, Window window, Window rootWindow, const unsigned long properties[], int properties_size, Role role=Client) | |
void | setFullscreenMonitors (NETFullscreenMonitors topology) |
Protected Member Functions | |
virtual void | changeFullscreenMonitors (NETFullscreenMonitors topology) |
Detailed Description
This class is an extension of the NETWinInfo class, and exists solely for binary compatibility reasons (adds new virtual methods) until KDE5.Simply use it instead of NETWinInfo and override also the added virtual methods.
- Since:
- 4.2
Definition at line 1299 of file netwm.h.
Constructor & Destructor Documentation
NETWinInfo2::NETWinInfo2 | ( | Display * | display, | |
Window | window, | |||
Window | rootWindow, | |||
const unsigned long | properties[], | |||
int | properties_size, | |||
Role | role = Client | |||
) |
NETWinInfo2::NETWinInfo2 | ( | Display * | display, | |
Window | window, | |||
Window | rootWindow, | |||
unsigned long | properties, | |||
Role | role = Client | |||
) |
Member Function Documentation
virtual void NETWinInfo2::changeFullscreenMonitors | ( | NETFullscreenMonitors | topology | ) | [inline, protected, virtual] |
A Window Manager should subclass NETWinInfo2 and reimplement this function when it wants to know when a Client made a request to change the fullscreen monitor topology for its fullscreen state.
- Parameters:
-
topology A structure (top, bottom, left, right) representing the fullscreen monitor topology.
NETFullscreenMonitors NETWinInfo2::fullscreenMonitors | ( | ) | const |
void NETWinInfo2::setFullscreenMonitors | ( | NETFullscreenMonitors | topology | ) |
Sets the desired multiple-monitor topology (4 monitor indices indicating the top, bottom, left, and right edges of the window) when the fullscreen state is enabled.
The indices are from the set returned by the Xinerama extension. See _NET_WM_FULLSCREEN_MONITORS for details.
- Parameters:
-
topology A struct that models the desired monitor topology, namely: top is the monitor whose top edge defines the top edge of the fullscreen window, bottom is the monitor whose bottom edge defines the bottom edge of the fullscreen window, left is the monitor whose left edge defines the left edge of the fullscreen window, and right is the monitor whose right edge defines the right edge of the fullscreen window.
The documentation for this class was generated from the following files: