CTWM
|
Go to the source code of this file.
Data Structures | |
struct | OccupyWindow |
Variables | |
int | fullOccupation |
TwmWindow * | occupyWin |
Definition at line 1412 of file occupation.c.
References AddToList(), GetWorkspace(), PlaceX, and Scr.
Definition at line 283 of file occupation.c.
References CanChangeOccupation(), ChangeOccupation(), GetWorkspace(), TwmWindow::occupation, and PlaceX.
Referenced by f_addtoworkspace_impl(), HandleButtonRelease(), and HandleMapRequest().
Definition at line 1155 of file occupation.c.
References AddIconManager(), ChangeOccupation(), WorkSpaceWindow::currentwspc, DisplayWin(), dpy, EwmhSet_NET_WM_DESKTOP(), fullOccupation, GetPropertyFromMask(), len, mask_out_event(), VirtualScreen::next, OCCUPY, PlaceWindowInRegion(), PlaceX, RemoveIconManager(), RemoveWindowFromRegion(), restore_mask(), Scr, Vanish(), WMapAddWindowToWorkspace(), WMapRemoveWindowFromWorkspace(), WMapWindowMayBeAdded(), and VirtualScreen::wsw.
Referenced by AddToWorkSpace(), ChangeOccupation(), EwmhClientMessage_NET_WM_DESKTOP(), HandlePropertyNotify(), MoveToNextWorkSpace(), MoveToPrevWorkSpace(), OccupyAll(), OccupyHandleButtonEvent(), RemoveFromWorkSpace(), ToggleOccupation(), WMgrAddToCurrentWorkSpaceAndWarp(), WMgrHandleButtonEvent(), WmgrRedoOccupation(), and WMgrRemoveFromCurrentWorkSpace().
Definition at line 594 of file occupation.c.
References AddWindow(), AWT_OCCUPY, ColorPair::back, BTN_IPT_CTX, cancel_string, dpy, everywhere_string, MyFont::font_set, ColorPair::fore, GetColor(), GetShadeColors(), OccupyWindow::lines, MAX, occupyButtoncp, ok_string, PlaceX, ResizeOccupyWindow(), Scr, and SetMapStateProp().
Referenced by ctwm_main().
Definition at line 1524 of file occupation.c.
References fullOccupation, GetWorkspace(), len, mk_nullsep_string(), PlaceX, and safe_strncpy().
Referenced by HandlePropertyNotify(), and SetupOccupation().
Definition at line 1571 of file occupation.c.
References fullOccupation, len, MAXWORKSPACE, mk_nullsep_string(), PlaceX, and Scr.
Referenced by ChangeOccupation(), CreateWorkSpaceManager(), and SetupOccupation().
void MoveToNextWorkSpace | ( | VirtualScreen * | vs, |
TwmWindow * | twm_win ) |
Definition at line 356 of file occupation.c.
References CanChangeOccupation(), ChangeOccupation(), WorkSpaceWindow::currentwspc, WorkSpace::next, TwmWindow::occupation, PlaceX, Scr, and VirtualScreen::wsw.
Referenced by f_movetonextworkspace_impl(), and MoveToNextWorkSpaceAndFollow().
void MoveToNextWorkSpaceAndFollow | ( | VirtualScreen * | vs, |
TwmWindow * | twm_win ) |
Definition at line 378 of file occupation.c.
References CanChangeOccupation(), GotoNextWorkSpace(), MoveToNextWorkSpace(), OtpRaise(), and WinWin.
Referenced by f_movetonextworkspaceandfollow_impl().
void MoveToPrevWorkSpace | ( | VirtualScreen * | vs, |
TwmWindow * | twm_win ) |
Definition at line 394 of file occupation.c.
References CanChangeOccupation(), ChangeOccupation(), WorkSpaceWindow::currentwspc, WorkSpace::next, TwmWindow::occupation, PlaceX, Scr, and VirtualScreen::wsw.
Referenced by f_movetoprevworkspace_impl(), and MoveToPrevWorkSpaceAndFollow().
void MoveToPrevWorkSpaceAndFollow | ( | VirtualScreen * | vs, |
TwmWindow * | twm_win ) |
Definition at line 422 of file occupation.c.
References CanChangeOccupation(), GotoPrevWorkSpace(), MoveToPrevWorkSpace(), OtpRaise(), and WinWin.
Referenced by f_movetoprevworkspaceandfollow_impl().
Definition at line 1073 of file occupation.c.
References CanChangeOccupation(), ConstrainByLayout(), dpy, TwmWindow::frame, OccupyWindow::height, JunkBW, JunkDepth, JunkMask, JunkRoot, JunkX, JunkY, TwmWindow::mapped, TwmWindow::occupation, occupyWin, OtpSetPriority(), TwmWindow::parent_vs, PlaceX, ReparentFrameAndIcon(), Scr, SetMapStateProp(), OccupyWindow::tmpOccupation, OccupyWindow::twm_win, OccupyWindow::w, OccupyWindow::width, WinWin, x, and y.
Referenced by f_occupy_impl().
Definition at line 549 of file occupation.c.
References CanChangeOccupation(), ChangeOccupation(), fullOccupation, PlaceX, and Scr.
Referenced by f_occupyall_impl().
Definition at line 985 of file occupation.c.
References ButtonPressed, ChangeOccupation(), dpy, fullOccupation, occupyWin, OCCUPYWINDOW, off, on, PaintWsButton(), PlaceX, and Scr.
Referenced by HandleButtonPress().
Definition at line 954 of file occupation.c.
References cancel_string, Draw3DBorder(), everywhere_string, OCCUPYBUTTON, occupyButtoncp, OCCUPYWINDOW, off, ok_string, on, PaintWsButton(), PlaceX, Scr, and OccupyWindow::width.
Referenced by HandleExpose().
Definition at line 309 of file occupation.c.
References CanChangeOccupation(), ChangeOccupation(), GetWorkspace(), TwmWindow::occupation, and PlaceX.
Referenced by f_removefromworkspace_impl(), and HandleButtonRelease().
Definition at line 874 of file occupation.c.
References TwmWindow::attr, dpy, MAX, PlaceX, Scr, x, and y.
Referenced by CreateOccupyWindow(), SetupFrame(), and WMapSetupWindow().
Definition at line 80 of file occupation.c.
References TwmWindow::class, WorkSpaceWindow::currentwspc, dpy, EwmhGetOccupation(), EwmhSet_NET_WM_DESKTOP(), fullOccupation, GetMaskFromProperty(), GetMaskFromResource(), GetPropertyFromMask(), GetTwmWindow(), GetWMState(), TwmWindow::group, TwmWindow::isiconmgr, TwmWindow::istransient, TwmWindow::iswspmgr, len, LookInList(), mask_out_event(), MIN, TwmWindow::name, VirtualScreen::next, WorkSpace::number, TwmWindow::occupation, OCCUPY, TwmWindow::parent_vs, PlaceX, RestartPreviousState, restore_mask(), safe_strncpy(), Scr, SetMapStateProp(), table, TwmWindow::transientfor, visible(), TwmWindow::vs, TwmWindow::w, TwmWindow::wmhints, and VirtualScreen::wsw.
Referenced by AddWindow().
Definition at line 332 of file occupation.c.
References CanChangeOccupation(), ChangeOccupation(), GetWorkspace(), TwmWindow::occupation, and PlaceX.
Referenced by f_toggleoccupation_impl().
void WMgrAddToCurrentWorkSpaceAndWarp | ( | VirtualScreen * | vs, |
char * | winname ) |
Definition at line 491 of file occupation.c.
References ChangeOccupation(), WorkSpaceWindow::currentwspc, DeIconify(), dpy, match(), WorkSpace::number, OCCUPY, PlaceX, Scr, WarpToWindow(), and VirtualScreen::wsw.
Referenced by f_warphere_impl().
Definition at line 442 of file occupation.c.
References ChangeOccupation(), TwmWindow::class, fullOccupation, LookInList(), TwmWindow::name, WorkSpace::number, PlaceX, and Scr.
Referenced by apply_window_name().
void WMgrRemoveFromCurrentWorkSpace | ( | VirtualScreen * | vs, |
TwmWindow * | win ) |
Definition at line 466 of file occupation.c.
References ChangeOccupation(), WorkSpaceWindow::currentwspc, TwmWindow::occupation, OCCUPY, PlaceX, and VirtualScreen::wsw.
Referenced by f_vanish_impl().
|
extern |
Definition at line 43 of file occupation.c.
Referenced by AddWorkSpace(), ChangeOccupation(), CreateWorkSpaceManagerWindow(), EwmhClientMessage_NET_WM_DESKTOP(), EwmhGetOccupation(), EwmhSet_NET_WM_DESKTOP_ws(), GetMaskFromProperty(), GetMaskFromResource(), GetPropertyFromMask(), OccupyAll(), OccupyHandleButtonEvent(), SetupOccupation(), WMapWindowMayBeAdded(), and WmgrRedoOccupation().
|
extern |
Definition at line 51 of file occupation.c.
Referenced by CanChangeOccupation(), Occupy(), OccupyHandleButtonEvent(), and WMapRemoveWindow().