11#ifndef _CTWM_TWM_WINDOW_STRUCT_H
12#define _CTWM_TWM_WINDOW_STRUCT_H
16# include "ctwm_config.h"
int frame_x
X position on screen of frame.
Window hilite_wl
Left hilite window in titlebar.
Image * LoliteImage
Titlebar lolite backround.
int actual_frame_x
Saved frame_x when squeezed.
int actual_frame_y
Saved frame_y when squeezed.
Window lolite_wl
Left lolite window in titlebar.
unsigned int title_width
Width of the full title bar.
Window hilite_wr
Right hilite window in titlebar.
int title_x
X coord of window title relative to title_w.
unsigned int actual_frame_height
Saved frame_height when squeezed.
Image * HiliteImage
Titlebar hilite backround.
int frame_y
Y position on screen of frame.
unsigned int name_width
width of name text
int rightx
Position of of right titlebar buttons.
unsigned int actual_frame_width
Saved frame_width when squeezed.
Window frame
The X window for the overall frame.
Window lolite_wr
Right lolite window in titlebar.
int frame_bw
2d border width.
TBWindow * titlebuttons
Button windows in the titlebar.
unsigned int title_height
Height of the full title bar.
Window title_w
The title bar Window.
Cursor curcurs
Current resize cursor.
unsigned int frame_width
Width of frame.
int highlightxl
Position of hilite_wl and lolite_wl.
Pixmap gray
Pixmap to which the border is set to when window isn't focused.
unsigned int frame_height
Height of frame.
int frame_bw3D
3d border width.
int name_x
Position of window title text, relative to title_w.
int title_y
Y coord of window title relative to title_w.
int highlightxr
Position of hilite_wr and lolite_wr.
Various sources of window/icon names.
bool icon_set
Whether an icon name property has been set.
char * ctwm_wm_icon_name
Icon name from override CTWM_WM_ICON_NAME property.
char * wm_name
Name from ICCCM WM_NAME property.
char * wm_icon_name
Icon name from WM_ICON_NAME property.
char * ctwm_wm_name
Name from override CTWM_WM_NAME property.
Window ring connectivity.
struct TwmWindow * prev
Previous window in the ring.
int curs_x
Stored cursor position in the window.
int curs_y
Stored cursor position in the window.
bool cursor_valid
Whether curs_x and curs_y are usable.
struct TwmWindow * next
Next window in the ring.
unsigned int width
Saved width.
unsigned int height
Saved height.
Info and control for every X Window we take over.
ColorPair border_tile
ColorPair for non-focused window borders.
unsigned long protocols
Which protocols this window handles.
struct TwmWindow * next
Next TwmWindow on the Screen.
bool iswspmgr
This is a workspace manager window.
bool OpaqueMove
Move opaquely.
bool titlehighlight
Should I highlight the title bar?
bool wShaped
This window is Shape'd.
bool isiconmgr
This is an icon manager window.
XWMHints * wmhints
Window manager hints.
bool heightEverChangedByUser
Has TwmWindow::attr height ever changed? Used only in sessions.
bool iconified
Has the window ever been iconified?
bool OpaqueResize
Resize opaquely.
int save_frame_y
y position of frame (saved from zoom)
Window w
The actual X Window handle.
bool auto_raise
Should we auto-raise this window ?
bool nameChanged
Has TwmWindow::name ever changed? Used only in session saving.
bool stackmode
Honor stackmode requests.
bool istransient
This is a transient window.
int zoomed
ZOOM_NONE || function causing zoom.
int old_bw
Original window border width before we took it over and made our own bordering.
struct TwmWindow::_ring ring
Window ring connectivity. "
char * name
Current window name. Points into TwmWindow::names.
bool auto_lower
Should we auto-lower this window ?
struct Icon * icon
The current icon.
char * icon_name
Current icon name. Points into TwmWindow::names.
bool squeeze_info_copied
Should ->squeeze_info be free()'d?
int occupation
Workspaces the window is in (bitmap)
bool widthEverChangedByUser
Has TwmWindow::attr width ever changed? Used only in sessions.
bool AlwaysSqueezeToGravity
SqueezeInfo * squeeze_info
Control info for title squeezing.
bool hasfocusvisible
The window visibly has focus.
unsigned int save_frame_width
width of frame (saved from zoom)
struct VirtualScreen * vs
Where the window is currently mapped (may be NULL)
bool mapped
Is the window mapped ?
bool icon_on
Is the icon visible.
unsigned int save_frame_height
height of frame (saved from zoom)
XSizeHints hints
Window size hints.
Colormaps cmaps
colormaps for this application
ColorPair borderC
ColorPair for focused window borders.
struct IconMgr * iconmgrp
Pointer to the icon manager structure, for windows that are icon managers.
bool icon_moved
User explicitly moved the icon.
ColorPair title
ColorPair for various other titlebar bits.
struct VirtualScreen * savevs
Where the window would be.
struct WList * iconmanagerlist
List of the icon managers the window is in.
struct VirtualScreen * parent_vs
Where the window is parented. Always set.
struct TwmWindow::_savegeometry savegeometry
Saved window geometry. "
bool forced
Has had an icon forced upon it.
struct TwmWindow::_names names
Various sources of window/icon names. "
struct TwmWindow * prev
Previous TwmWindow on the Screen.
XWindowAttributes attr
Window attributes from XGetWindowAttributes()
OtpWinList * otp
OTP control info for stacking. Created in OtpAdd().
name_list * iconslist
The current list of potential icons.
Window transientfor
What window it's transient for.
int save_frame_x
x position of frame (saved from zoom)
bool UnmapByMovingFarAway
Window group
Window group, from WM hints.
bool iconify_by_unmapping
Unmap window to iconify it.
bool isoccupy
This is an Occupy window.
bool highlight
Should highlight this window.
bool isicon
Is the window an icon now ?
bool squeezed
Is the window squeezed ?
WindowRegion * wr
WindowRegion containing this window.
struct WindowBox WindowBox