NETFullscreenMonitors Struct Reference

#include <netwm_def.h>

Public Member Functions

 NETFullscreenMonitors ()
bool isSet () const

Public Attributes

int bottom
int left
int right
int top

Detailed Description

Simple multiple monitor topology class for NET classes.

This class is a convenience class, defining a multiple monitor topology for fullscreen applications that wish to be present on more than one monitor/head. As per the _NET_WM_FULLSCREEN_MONITORS hint in the EWMH spec, this topology consists of 4 monitor indices such that the bounding rectangle is defined by the top edge of the top monitor, the bottom edge of the bottom monitor, the left edge of the left monitor, and the right edge of the right monitor. See the _NET_WM_FULLSCREEN_MONITORS hint in the EWMH spec.

Definition at line 212 of file netwm_def.h.

Constructor & Destructor Documentation

NETFullscreenMonitors::NETFullscreenMonitors ( )

Constructor to initialize this struct to -1,0,0,0 (an initialized, albeit invalid, topology).

Definition at line 217 of file netwm_def.h.

Member Function Documentation

bool NETFullscreenMonitors::isSet ( ) const

Convenience check to make sure that we are not holding the initial (invalid) values.

Note that we don't want to call this isValid() because we're not actually validating the monitor topology here, but merely that our initial values were overwritten at some point by real (non-negative) monitor indices.

Definition at line 245 of file netwm_def.h.

Member Data Documentation

int NETFullscreenMonitors::bottom

Monitor index whose bottom border defines the bottom edge of the topology.

Definition at line 227 of file netwm_def.h.

int NETFullscreenMonitors::left

Monitor index whose left border defines the left edge of the topology.

Definition at line 232 of file netwm_def.h.

int NETFullscreenMonitors::right

Monitor index whose right border defines the right edge of the topology.

Definition at line 237 of file netwm_def.h.

int NETFullscreenMonitors::top

Monitor index whose top border defines the top edge of the topology.

Definition at line 222 of file netwm_def.h.

The documentation for this struct was generated from the following file:
This file is part of the KDE documentation.
Documentation copyright © 1996-2020 The KDE developers.
Generated on Thu Aug 6 2020 22:39:55 by doxygen 1.8.11 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.