JWM Source Documentation
Data Fields
ClientNode Struct Reference

Struture to store information about a client window. More...

#include <client.h>

Data Fields

Window window
 The client window.
 
Window parent
 The frame window.
 
Window owner
 The owner window (for transients).
 
int x
 
int y
 The location of the window.
 
int width
 The width of the window.
 
int height
 The height of the window.
 
int oldx
 The old x coordinate (for maximize).
 
int oldy
 The old y coordinate (for maximize).
 
int oldWidth
 The old width (for maximize).
 
int oldHeight
 The old height (for maximize).
 
long sizeFlags
 Size flags from XGetWMNormalHints.
 
int baseWidth
 Base width for resizing.
 
int baseHeight
 Base height for resizing.
 
int minWidth
 Minimum width of this window.
 
int minHeight
 Minimum height of this window.
 
int maxWidth
 Maximum width of this window.
 
int maxHeight
 Maximum height of this window.
 
int xinc
 Resize x increment.
 
int yinc
 Resize y increment.
 
AspectRatio aspect
 Aspect ratio.
 
int gravity
 Gravity for reparenting.
 
Colormap cmap
 This window's colormap.
 
ColormapNodecolormaps
 Colormaps assigned to this window.
 
char * name
 Name of this window for display.
 
char * instanceName
 Name of this window for properties.
 
char * className
 Name of the window class.
 
ClientState state
 Window state.
 
BorderActionType borderAction
 
struct IconNodeicon
 Icon assigned to this window.
 
void(* controller )(int wasDestroyed)
 Callback to stop move/resize.
 
struct ClientNodeprev
 The previous client in this layer.
 
struct ClientNodenext
 The next client in this layer.
 

Detailed Description

Struture to store information about a client window.

Definition at line 114 of file client.h.

Field Documentation

AspectRatio ClientNode::aspect
int ClientNode::baseHeight

Base height for resizing.

Definition at line 131 of file client.h.

Referenced by PlaceMaximizedClient(), ReadWMNormalHints(), ResizeClient(), and ResizeClientKeyboard().

int ClientNode::baseWidth

Base width for resizing.

Definition at line 130 of file client.h.

Referenced by PlaceMaximizedClient(), ReadWMNormalHints(), ResizeClient(), and ResizeClientKeyboard().

BorderActionType ClientNode::borderAction

Definition at line 150 of file client.h.

Referenced by AddClientWindow(), HandleEnterNotify(), and HandleMotionNotify().

char* ClientNode::className

Name of the window class.

Definition at line 146 of file client.h.

Referenced by AddClientToTaskBar(), ApplyGroups(), FocusGroup(), ReadWMClass(), RemoveClient(), Render(), and SignalTaskbar().

Colormap ClientNode::cmap

This window's colormap.

Definition at line 141 of file client.h.

Referenced by AddClientWindow(), HandleColormapChange(), and UpdateClientColormap().

ColormapNode* ClientNode::colormaps

Colormaps assigned to this window.

Definition at line 142 of file client.h.

Referenced by ReadWMColormaps(), RemoveClient(), and UpdateClientColormap().

void(* ClientNode::controller)(int wasDestroyed)
int ClientNode::gravity

Gravity for reparenting.

Definition at line 139 of file client.h.

Referenced by GravitateClient(), HandleConfigureRequest(), HandleNetMoveResize(), HandleNetWMMoveResize(), and ReadWMNormalHints().

int ClientNode::height
struct IconNode* ClientNode::icon

Icon assigned to this window.

Definition at line 152 of file client.h.

Referenced by AddClientWindow(), ApplyGroup(), DrawBorderHelper(), LoadIcon(), RemoveClient(), Render(), and ShowClientList().

char* ClientNode::instanceName

Name of this window for properties.

Definition at line 145 of file client.h.

Referenced by ApplyGroups(), LoadIcon(), ReadWMClass(), and RemoveClient().

int ClientNode::maxHeight

Maximum height of this window.

Definition at line 135 of file client.h.

Referenced by ConstrainSize(), PlaceMaximizedClient(), ReadClientInfo(), ReadWMNormalHints(), ResizeClient(), and ResizeClientKeyboard().

int ClientNode::maxWidth

Maximum width of this window.

Definition at line 134 of file client.h.

Referenced by ConstrainSize(), PlaceMaximizedClient(), ReadClientInfo(), ReadWMNormalHints(), ResizeClient(), and ResizeClientKeyboard().

int ClientNode::minHeight

Minimum height of this window.

Definition at line 133 of file client.h.

Referenced by ConstrainSize(), ReadClientInfo(), ReadWMNormalHints(), ResizeClient(), and ResizeClientKeyboard().

int ClientNode::minWidth

Minimum width of this window.

Definition at line 132 of file client.h.

Referenced by ConstrainSize(), ReadClientInfo(), ReadWMNormalHints(), ResizeClient(), and ResizeClientKeyboard().

char* ClientNode::name

Name of this window for display.

Definition at line 144 of file client.h.

Referenced by DrawBorderHelper(), ReadWMName(), RemoveClient(), Render(), ShowClientList(), and SignalTaskbar().

struct ClientNode* ClientNode::next
int ClientNode::oldHeight

The old height (for maximize).

Definition at line 127 of file client.h.

Referenced by MaximizeClient(), PlaceMaximizedClient(), RemoveClient(), SetClientFullScreen(), and StopResize().

int ClientNode::oldWidth

The old width (for maximize).

Definition at line 126 of file client.h.

Referenced by MaximizeClient(), PlaceMaximizedClient(), RemoveClient(), SetClientFullScreen(), and StopResize().

int ClientNode::oldx

The old x coordinate (for maximize).

Definition at line 124 of file client.h.

Referenced by MaximizeClient(), PlaceMaximizedClient(), RemoveClient(), SetClientFullScreen(), and StopResize().

int ClientNode::oldy

The old y coordinate (for maximize).

Definition at line 125 of file client.h.

Referenced by MaximizeClient(), PlaceMaximizedClient(), RemoveClient(), SetClientFullScreen(), and StopResize().

Window ClientNode::owner
Window ClientNode::parent
struct ClientNode* ClientNode::prev
long ClientNode::sizeFlags

Size flags from XGetWMNormalHints.

Definition at line 129 of file client.h.

Referenced by ConstrainSize(), FixHeight(), FixWidth(), PlaceClient(), PlaceMaximizedClient(), ReadWMNormalHints(), ResizeClient(), and ResizeClientKeyboard().

ClientState ClientNode::state

Window state.

Definition at line 148 of file client.h.

Referenced by AddClientWindow(), ApplyGroup(), CascadeClient(), ChangeDesktop(), ConstrainPosition(), ConstrainSize(), CreateWindowLayerMenu(), CreateWindowMenu(), CreateWindowSendToMenu(), DeleteClient(), DispatchBorderButtonEvent(), DoSnapBorder(), DoSnapScreen(), DrawBorder(), DrawBorderButtons(), DrawBorderHandles(), DrawBorderHelper(), DrawPagerClient(), ExposeCurrentDesktop(), FocusClient(), FocusGroup(), FocusNext(), FocusNextStacked(), FocusPrevious(), GetBorderActionType(), GetButtonCount(), GetClientRectangle(), GetGravityDelta(), HandleButtonEvent(), HandleClientMessage(), HandleConfigureRequest(), HandleEnterNotify(), HandleExpose(), HandleKeyPress(), HandleMapRequest(), HandleNetMoveResize(), HandleNetWMState(), HandlePropertyNotify(), HandleShapeEvent(), HandleUnmapNotify(), HideClient(), MaximizeClient(), MaximizeClientDefault(), MinimizeTransients(), MoveClient(), MoveClientKeyboard(), PlaceClient(), PlaceMaximizedClient(), ProcessTaskButtonEvent(), RaiseClient(), ReadClientInfo(), RemoveClient(), Render(), ReparentClient(), ResetBorder(), ResizeClient(), ResizeClientKeyboard(), RestackClient(), RestackClients(), RestackTransients(), RestoreClient(), RestoreTransients(), RunWindowCommand(), SendConfigureEvent(), SetClientDesktop(), SetClientFullScreen(), SetClientLayer(), SetClientSticky(), SetClientWithdrawn(), SetOpacity(), ShadeClient(), ShouldFocus(), ShouldFocusEntry(), ShouldSnap(), ShowClient(), ShowClientList(), ShowConfirmDialog(), ShowDesktop(), SignalUrgent(), StartPagerMove(), StopMove(), StopPagerMove(), StopResize(), StopWindowWalk(), TileClient(), ToggleMaximized(), TryTileClient(), UnmapClient(), UnshadeClient(), UpdateState(), WalkWindowStack(), WriteNetAllowed(), WriteNetState(), and WriteState().

int ClientNode::width
Window ClientNode::window
int ClientNode::x
int ClientNode::xinc

Resize x increment.

Definition at line 136 of file client.h.

Referenced by ConstrainSize(), PlaceMaximizedClient(), ReadClientInfo(), ReadWMNormalHints(), ResizeClient(), and ResizeClientKeyboard().

int ClientNode::y
int ClientNode::yinc

Resize y increment.

Definition at line 137 of file client.h.

Referenced by ConstrainSize(), PlaceMaximizedClient(), ReadClientInfo(), ReadWMNormalHints(), ResizeClient(), and ResizeClientKeyboard().


The documentation for this struct was generated from the following file:

joewing.net / Projects / JWM