CTWM
Loading...
Searching...
No Matches
/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

enum 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, AutoSqueeze(), TwmWindow::AutoSqueeze, AWT_ICON_MANAGER, AWT_OCCUPY, AWT_WINDOWBOX, AWT_WORKSPACE_MANAGER, ColorPair::back, TwmWindow::border_tile, TwmWindow::borderC, 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(), ColorPair::fore, TwmWindow::frame, TwmWindow::frame_bw, TwmWindow::frame_bw3D, TwmWindow::frame_height, TwmWindow::frame_width, TwmWindow::frame_x, TwmWindow::frame_y, gen_synthetic_wmhints(), GetGravityOffsets(), GetMWMHints(), GetShadeColors(), GetTwmWindow(), GetWindowConfig(), GetWindowSizeHints(), GetWMPropertyString(), GrabButtons(), GrabKeys(), TwmWindow::gray, TwmWindow::group, HALF_AVE_CURSOR_SIZE, HandlingEvents, TwmWindow::hasfocusvisible, HasShape, RArea::height, TwmWindow::heightEverChangedByUser, TwmWindow::highlight, TwmWindow::hilite_wl, TwmWindow::hilite_wr, 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, TwmWindow::lolite_wl, TwmWindow::lolite_wr, LookInListWin(), TwmWindow::mapped, mk_blackgray_pixmap(), MoveOutline(), MoveResizeSizeWindow(), munge_wmhints(), mwm_has_border(), mwm_has_title(), mwm_sets_title(), TwmWindow::name, TwmWindow::name_width, TwmWindow::nameChanged, TwmWindow::names, TwmWindow::next, 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, TwmWindow::prev, PreviousScreen, ProgramName, RAreaNew(), RedirectToCaptive(), ReGrab(), resizeWhenAdd, TwmWindow::ring, RLayoutFindLeftRightEdges(), RLayoutFindMonitorBottomEdge(), RLayoutFindMonitorRightEdge(), RLayoutFindTopBottomEdges(), RLayoutXParseGeometry(), RootFunction, RP_ALL, RP_UNMAPPED, savegeometry(), TwmWindow::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, TwmWindow::title_height, TwmWindow::title_w, TwmWindow::title_width, TwmWindow::title_x, TwmWindow::title_y, TwmWindow::titlebuttons, TwmWindow::titlehighlight, TwmWindow::transientfor, TryToGrid(), TryToPack(), UninstallRootColormap(), UnlinkWindowFromRing(), TwmWindow::UnmapByMovingFarAway, UpperLeftCursor, visible(), TwmWindow::vs, TwmWindow::w, RArea::width, TwmWindow::_savegeometry::width, TwmWindow::widthEverChangedByUser, TBWindow::window, VirtualScreen::window, WinWin, TwmWindow::_names::wm_icon_name, TwmWindow::_names::wm_name, WMapAddWindow(), TwmWindow::wmhints, TwmWindow::wShaped, RArea::x, x, RArea::y, y, ZOOM_NONE, and TwmWindow::zoomed.

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

◆ GrabButtons()

◆ GrabKeys()

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().