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 277 of file netwm_def.h.

Constructor & Destructor Documentation

◆ NETFullscreenMonitors()

NETFullscreenMonitors::NETFullscreenMonitors ( )

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

Definition at line 282 of file netwm_def.h.

Member Function Documentation

◆ isSet()

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 316 of file netwm_def.h.

Member Data Documentation

◆ bottom

int NETFullscreenMonitors::bottom

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

Definition at line 298 of file netwm_def.h.

◆ left

int NETFullscreenMonitors::left

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

Definition at line 303 of file netwm_def.h.

◆ right

int NETFullscreenMonitors::right

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

Definition at line 308 of file netwm_def.h.

◆ top

int NETFullscreenMonitors::top

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

Definition at line 293 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-2024 The KDE developers.
Generated on Tue Mar 26 2024 11:15:04 by doxygen 1.10.0 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.