CTWM
|
Go to the source code of this file.
Functions | |
void | GotoWorkSpace (VirtualScreen *vs, WorkSpace *ws) |
void | GotoWorkSpaceByName (VirtualScreen *vs, const char *wname) |
void | GotoWorkSpaceByNumber (VirtualScreen *vs, int workspacenum) |
void | GotoPrevWorkSpace (VirtualScreen *vs) |
void | GotoNextWorkSpace (VirtualScreen *vs) |
void | GotoRightWorkSpace (VirtualScreen *vs) |
void | GotoLeftWorkSpace (VirtualScreen *vs) |
void | GotoUpWorkSpace (VirtualScreen *vs) |
void | GotoDownWorkSpace (VirtualScreen *vs) |
void | ShowBackground (VirtualScreen *vs, int state) |
char * | GetCurrentWorkSpaceName (VirtualScreen *vs) |
WorkSpace * | GetWorkspace (const char *wname) |
char * GetCurrentWorkSpaceName | ( | VirtualScreen * | vs | ) |
Definition at line 534 of file workspace_utils.c.
References WorkSpaceWindow::currentwspc, WorkSpace::name, PlaceX, Scr, and VirtualScreen::wsw.
Referenced by Execute().
Definition at line 550 of file workspace_utils.c.
Referenced by AddToClientsList(), AddToWorkSpace(), ConfigureWorkSpaceManager(), GetMaskFromProperty(), GetMaskFromResource(), GotoWorkSpaceByName(), RemoveFromWorkSpace(), and ToggleOccupation().
void GotoDownWorkSpace | ( | VirtualScreen * | vs | ) |
Definition at line 457 of file workspace_utils.c.
References WorkSpaceWindow::currentwspc, GotoWorkSpaceByNumber(), GWS_CHECK, WorkSpace::number, PlaceX, Scr, and VirtualScreen::wsw.
Referenced by f_downworkspace_impl().
void GotoLeftWorkSpace | ( | VirtualScreen * | vs | ) |
Definition at line 412 of file workspace_utils.c.
References WorkSpaceWindow::currentwspc, GotoWorkSpaceByNumber(), GWS_CHECK, WorkSpace::number, PlaceX, Scr, and VirtualScreen::wsw.
Referenced by f_leftworkspace_impl().
void GotoNextWorkSpace | ( | VirtualScreen * | vs | ) |
Definition at line 375 of file workspace_utils.c.
References WorkSpaceWindow::currentwspc, GotoWorkSpace(), GWS_CHECK, WorkSpace::next, PlaceX, Scr, and VirtualScreen::wsw.
Referenced by f_nextworkspace_impl(), and MoveToNextWorkSpaceAndFollow().
void GotoPrevWorkSpace | ( | VirtualScreen * | vs | ) |
Definition at line 354 of file workspace_utils.c.
References WorkSpaceWindow::currentwspc, GotoWorkSpace(), GWS_CHECK, WorkSpace::next, PlaceX, Scr, and VirtualScreen::wsw.
Referenced by f_prevworkspace_impl(), and MoveToPrevWorkSpaceAndFollow().
void GotoRightWorkSpace | ( | VirtualScreen * | vs | ) |
Definition at line 388 of file workspace_utils.c.
References WorkSpaceWindow::currentwspc, GotoWorkSpaceByNumber(), GWS_CHECK, WorkSpace::number, PlaceX, Scr, and VirtualScreen::wsw.
Referenced by f_rightworkspace_impl().
void GotoUpWorkSpace | ( | VirtualScreen * | vs | ) |
Definition at line 432 of file workspace_utils.c.
References WorkSpaceWindow::currentwspc, GotoWorkSpaceByNumber(), GWS_CHECK, WorkSpace::number, PlaceX, Scr, and VirtualScreen::wsw.
Referenced by f_upworkspace_impl().
void GotoWorkSpace | ( | VirtualScreen * | vs, |
WorkSpace * | ws ) |
Definition at line 44 of file workspace_utils.c.
References WorkSpaceWindow::bswl, C_ROOT, CtwmSetVScreenMap(), CurrentIconManagerEntry(), WorkSpaceWindow::currentwspc, DisplayWin(), dpy, EwmhSet_NET_WM_DESKTOP_ws(), ExecuteFunction(), IconMgr::first, WList::iconmgr, mask_out_event(), MaybeAnimate, WorkSpaceWindow::mswl, IconMgr::next, WList::nextv, OCCUPY, off, on, OtpBottomWin(), OtpCheckConsistency(), OtpNextWinDown(), OtpNextWinUp(), OtpTopWin(), PaintWsButton(), PlaceX, restore_mask(), Scr, set_last_window(), SetFocusVisualAttributes(), WorkSpaceWindow::state, IconMgr::twm_win, useBackgroundInfo, Vanish(), VirtualScreen::w, MapSubwindow::w, WarpToWindow(), VirtualScreen::window, WMapRedrawName(), WMS_buttons, WMS_map, WSPCWINDOW, and VirtualScreen::wsw.
Referenced by GotoNextWorkSpace(), GotoPrevWorkSpace(), GotoWorkSpaceByName(), GotoWorkSpaceByNumber(), WarpToWindow(), and WMgrHandleButtonEvent().
void GotoWorkSpaceByName | ( | VirtualScreen * | vs, |
const char * | wname ) |
Definition at line 320 of file workspace_utils.c.
References GetWorkspace(), GotoWorkSpace(), GWS_CHECK, and PlaceX.
Referenced by f_gotoworkspace_impl(), f_menu_impl(), HandleKeyPress(), and HandlePropertyNotify().
void GotoWorkSpaceByNumber | ( | VirtualScreen * | vs, |
int | workspacenum ) |
Definition at line 335 of file workspace_utils.c.
References GotoWorkSpace(), GWS_CHECK, PlaceX, and Scr.
Referenced by EwmhClientMessage(), GotoDownWorkSpace(), GotoLeftWorkSpace(), GotoRightWorkSpace(), and GotoUpWorkSpace().
void ShowBackground | ( | VirtualScreen * | vs, |
int | state ) |
Definition at line 491 of file workspace_utils.c.
References DisplayWin(), EwmhSet_NET_SHOWING_DESKTOP(), PlaceX, Scr, Vanish(), and wt_Normal.
Referenced by EwmhClientMessage(), and f_showbackground_impl().