CTWM
Loading...
Searching...
No Matches
Enumerations | Functions | Variables
/usr/src/RPM/BUILD/ctwm-4.1.0/add_window.h File Reference
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Enumerations

enum  AWType {
  AWT_NORMAL , AWT_ICON_MANAGER , AWT_WINDOWBOX , AWT_WORKSPACE_MANAGER ,
  AWT_OCCUPY
}
 

Functions

TwmWindowAddWindow (Window w, AWType wtype, IconMgr *iconp, VirtualScreen *vs)
 
void GrabButtons (TwmWindow *tmp_win)
 
void GrabKeys (TwmWindow *tmp_win)
 

Variables

char NoName []
 
bool resizeWhenAdd
 
int AddingX
 
int AddingY
 
unsigned int AddingW
 
unsigned int AddingH
 

Enumeration Type Documentation

◆ AWType

Enumerator
AWT_NORMAL 
AWT_ICON_MANAGER 
AWT_WINDOWBOX 
AWT_WORKSPACE_MANAGER 
AWT_OCCUPY 

Definition at line 23 of file add_window.h.

Function Documentation

◆ AddWindow()

TwmWindow * AddWindow ( Window w,
AWType wtype,
IconMgr * iconp,
VirtualScreen * vs )

Definition at line 113 of file add_window.c.

References AddEndResize(), AddIconManager(), AddingH, AddingW, AddingX, AddingY, AddStartResize(), AddWindowToRing(), ALLOW_DEAD_STORE, TwmWindow::AlwaysSqueezeToGravity, TwmWindow::attr, TwmWindow::auto_lower, TwmWindow::auto_raise, TwmWindow::AutoSqueeze, AutoSqueeze(), AWT_ICON_MANAGER, AWT_OCCUPY, AWT_WINDOWBOX, AWT_WORKSPACE_MANAGER, CHKL, CLarg, TwmWindow::class, TwmWindow::cmaps, ComputeTitleLocation(), ConstrainByBorders(), ConstrainedToWinBox(), ConstrainSize(), CreateWindowTitlebarButtons(), TwmWindow::_names::ctwm_wm_icon_name, TwmWindow::_names::ctwm_wm_name, TwmWindow::_ring::cursor_valid, DisplayPosition(), TwmWindow::DontSetInactive, DoResize(), dpy, EWMH_HAS_STRUT, EWMH_STATE_SHADED, EwmhGetProperties(), EwmhHasBorder(), EwmhHasTitle(), EwmhOnWindowRing(), EwmhSet_NET_FRAME_EXTENTS(), FB, FetchWmColormapWindows(), FetchWmProtocols(), findWindowBox(), FixRootEvent(), TwmWindow::frame_bw, TwmWindow::frame_bw3D, TwmWindow::frame_height, TwmWindow::frame_width, gen_synthetic_wmhints(), GetGravityOffsets(), GetMWMHints(), GetShadeColors(), GetTwmWindow(), GetWindowConfig(), GetWindowSizeHints(), GetWMPropertyString(), GrabButtons(), GrabKeys(), TwmWindow::group, HALF_AVE_CURSOR_SIZE, HandlingEvents, HasShape, RArea::height, TwmWindow::heightEverChangedByUser, TwmWindow::highlight, TwmWindow::hints, TwmWindow::icon_on, TwmWindow::iconified, TwmWindow::iconify_by_unmapping, TwmWindow::iconmgrp, InitWindowNotOnRing, InstallRootColormap(), TwmWindow::isicon, TwmWindow::isiconmgr, TwmWindow::isoccupy, TwmWindow::istransient, TwmWindow::iswspmgr, JunkBW, JunkChild, JunkDepth, JunkHeight, JunkMask, JunkRoot, JunkWidth, JunkX, JunkY, LookInListWin(), mk_blackgray_pixmap(), MoveOutline(), MoveResizeSizeWindow(), munge_wmhints(), mwm_has_border(), mwm_has_title(), mwm_sets_title(), TwmWindow::name, TwmWindow::nameChanged, TwmWindow::names, NoClass, NoName, Colormaps::number_cwins, NumScreens, TwmWindow::old_bw, TwmWindow::OpaqueMove, TwmWindow::OpaqueResize, OtpAdd(), TwmWindow::parent_vs, PlaceWindowInRegion(), PlaceX, PlaceY, PPOS_NON_ZERO, PPOS_ON, PreviousScreen, ProgramName, RAreaNew(), RedirectToCaptive(), ReGrab(), resizeWhenAdd, TwmWindow::ring, RLayoutFindLeftRightEdges(), RLayoutFindMonitorBottomEdge(), RLayoutFindMonitorRightEdge(), RLayoutFindTopBottomEdges(), RLayoutXParseGeometry(), RootFunction, RP_ALL, RP_UNMAPPED, TwmWindow::savegeometry, savegeometry(), TwmWindow::savevs, Scr, set_window_icon_name(), set_window_name(), SETC, SETCTXS, SetFocusVisualAttributes(), SetPropsIfCaptiveCtwm(), SetupFrame(), SetupOccupation(), SIJ_LEFT, SIZE_HINDENT, SIZE_VINDENT, TwmWindow::squeeze_info, TwmWindow::squeeze_info_copied, TwmWindow::squeezed, TwmWindow::stackmode, TwmWindow::StartSqueezed, TwmWindow::title_height, TwmWindow::titlehighlight, TwmWindow::transientfor, TryToGrid(), TryToPack(), UninstallRootColormap(), UnlinkWindowFromRing(), TwmWindow::UnmapByMovingFarAway, UpperLeftCursor, visible(), TwmWindow::vs, TwmWindow::w, RArea::width, TwmWindow::_savegeometry::width, TwmWindow::widthEverChangedByUser, VirtualScreen::window, WinWin, TwmWindow::_names::wm_icon_name, TwmWindow::_names::wm_name, WMapAddWindow(), TwmWindow::wmhints, x, RArea::x, y, RArea::y, ZOOM_NONE, and TwmWindow::zoomed.

Referenced by CreateIconManagers(), CreateOccupyWindow(), createWindowBoxes(), CreateWorkSpaceManagerWindow(), and HandleMapRequest().

◆ GrabButtons()

void GrabButtons ( TwmWindow * tmp_win)

Definition at line 1903 of file add_window.c.

References C_WINDOW, grabbutton, PlaceX, and Scr.

Referenced by AddWindow(), and CreateIconManagers().

◆ GrabKeys()

void GrabKeys ( TwmWindow * tmp_win)

Definition at line 1957 of file add_window.c.

References AltMask, C_ICON, C_ICONMGR, C_NAME, C_ROOT, C_TITLE, C_WINDOW, grabkey, PlaceX, Scr, ungrabkey, and wt_Desktop.

Referenced by AddWindow(), and CreateIconManagers().

Variable Documentation

◆ AddingH

unsigned int AddingH
extern

Definition at line 80 of file add_window.c.

Referenced by AddEndResize(), AddWindow(), MenuEndResize(), and resizeFromCenter().

◆ AddingW

unsigned int AddingW
extern

Definition at line 79 of file add_window.c.

Referenced by AddEndResize(), AddWindow(), MenuEndResize(), and resizeFromCenter().

◆ AddingX

int AddingX
extern

Definition at line 77 of file add_window.c.

Referenced by AddEndResize(), AddWindow(), MenuEndResize(), and resizeFromCenter().

◆ AddingY

int AddingY
extern

Definition at line 78 of file add_window.c.

Referenced by AddEndResize(), AddWindow(), MenuEndResize(), and resizeFromCenter().

◆ NoName

char NoName[]
extern

◆ resizeWhenAdd

bool resizeWhenAdd
extern

Definition at line 90 of file add_window.c.

Referenced by AddWindow(), DoResize(), and StartResize().