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

Go to the source code of this file.

Functions

void InitWorkSpaceManagerContext (void)
void ConfigureWorkSpaceManager (ScreenInfo *scr)
 Prep up structures for WSM windows in each VS.
void CreateWorkSpaceManager (void)
void PaintWorkSpaceManager (VirtualScreen *vs)
void WMgrHandleExposeEvent (VirtualScreen *vs, XEvent *event)
void WMgrToggleState (VirtualScreen *vs)
void WMgrSetMapState (VirtualScreen *vs)
void WMgrSetButtonsState (VirtualScreen *vs)
void WMgrHandleKeyReleaseEvent (VirtualScreen *vs, XEvent *event)
void WMgrHandleKeyPressEvent (VirtualScreen *vs, XEvent *event)
void WMgrHandleButtonEvent (VirtualScreen *vs, XEvent *event)
void WMapMapWindow (TwmWindow *win)
void WMapDeIconify (TwmWindow *win)
void WMapIconify (TwmWindow *win)
void WMapSetupWindow (TwmWindow *win, int x, int y, int w, int h)
void WMapRaiseLower (TwmWindow *win)
void WMapLower (TwmWindow *win)
void WMapRaise (TwmWindow *win)
void WMapRestack (WorkSpace *ws)
void WMapUpdateIconName (TwmWindow *win)
void WMapRedrawName (VirtualScreen *vs, WinList *wl)
void WMapAddWindow (TwmWindow *win)
void WMapAddWindowToWorkspace (TwmWindow *win, WorkSpace *ws)
void WMapRemoveWindow (TwmWindow *win)
void WMapRemoveWindowFromWorkspace (TwmWindow *win, WorkSpace *ws)
bool WMapWindowMayBeAdded (TwmWindow *win)

Function Documentation

◆ ConfigureWorkSpaceManager()

void ConfigureWorkSpaceManager ( ScreenInfo * scr)

Prep up structures for WSM windows in each VS.

Called (for each Screen) in startup after InitVirtualScreens() has setup the VS stuff (and after config file processing). This also retrieves info for each vs about which workspace is active, if available (from restarting ourself, etc).

XXX Passed param isn't quite complete, as we call some funcs that use global Scr...

Definition at line 91 of file workspace_manager.c.

References ConfigureWorkSpaceManager(), CtwmGetVScreenMap(), WorkSpaceWindow::currentwspc, dpy, GetWorkspace(), WorkSpaceMgr::initialstate, VirtualScreen::next, WorkSpace::next, Scr, WorkSpaceWindow::state, ScreenInfo::vScreenList, and ScreenInfo::workSpaceMgr.

Referenced by ConfigureWorkSpaceManager(), and ctwm_main().

◆ CreateWorkSpaceManager()

◆ InitWorkSpaceManagerContext()

void InitWorkSpaceManagerContext ( void )

Definition at line 72 of file workspace_manager.c.

References InitWorkSpaceManagerContext(), and MapWListContext.

Referenced by ctwm_main(), and InitWorkSpaceManagerContext().

◆ PaintWorkSpaceManager()

◆ WMapAddWindow()

void WMapAddWindow ( TwmWindow * win)

◆ WMapAddWindowToWorkspace()

◆ WMapDeIconify()

void WMapDeIconify ( TwmWindow * win)

Definition at line 1718 of file workspace_manager.c.

References TwmWindow::vs, wmap_mapwin_backend(), and WMapDeIconify().

Referenced by ReMapOne(), and WMapDeIconify().

◆ WMapIconify()

◆ WMapLower()

void WMapLower ( TwmWindow * win)

Definition at line 1864 of file workspace_manager.c.

References WMapLower(), and WMapRaiseLower().

Referenced by AutoLowerWindow(), f_lower_impl(), f_tinylower_impl(), and WMapLower().

◆ WMapMapWindow()

void WMapMapWindow ( TwmWindow * win)

Definition at line 1704 of file workspace_manager.c.

References wmap_mapwin_backend(), and WMapMapWindow().

Referenced by HandleMapRequest(), and WMapMapWindow().

◆ WMapRaise()

◆ WMapRaiseLower()

void WMapRaiseLower ( TwmWindow * win)

◆ WMapRedrawName()

◆ WMapRemoveWindow()

◆ WMapRemoveWindowFromWorkspace()

◆ WMapRestack()

◆ WMapSetupWindow()

◆ WMapUpdateIconName()

◆ WMapWindowMayBeAdded()

◆ WMgrHandleButtonEvent()

◆ WMgrHandleExposeEvent()

◆ WMgrHandleKeyPressEvent()

◆ WMgrHandleKeyReleaseEvent()

void WMgrHandleKeyReleaseEvent ( VirtualScreen * vs,
XEvent * event )

◆ WMgrSetButtonsState()

◆ WMgrSetMapState()

◆ WMgrToggleState()