|
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, Scr, and VirtualScreen::wsw.
Referenced by Execute().
| WorkSpace * GetWorkspace | ( | const char * | wname | ) |
Definition at line 550 of file workspace_utils.c.
References WorkSpace::label, WorkSpace::name, WorkSpace::next, and Scr.
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, 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, 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, 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, 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, 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, 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 ColorPair::back, WorkSpace::backcp, WorkSpaceWindow::bswl, C_ROOT, WorkSpace::cp, CtwmSetVScreenMap(), CurrentIconManagerEntry(), WorkSpaceWindow::currentwspc, DisplayWin(), dpy, EwmhSet_NET_WM_DESKTOP_ws(), ExecuteFunction(), IconMgr::first, TwmWindow::hasfocusvisible, TwmWindow::iconmanagerlist, WList::iconmgr, WorkSpace::iconmgr, WorkSpace::image, WorkSpace::label, mask_out_event(), MaybeAnimate, WorkSpaceWindow::mswl, WorkSpace::name, IconMgr::next, TwmWindow::next, VirtualScreen::next, winList::next, WList::nextv, WorkSpace::number, OCCUPY, off, on, OtpBottomWin(), OtpCheckConsistency(), OtpNextWinDown(), OtpNextWinUp(), OtpTopWin(), PaintWsButton(), Image::pixmap, restore_mask(), WorkSpace::save_focus, Scr, set_last_window(), SetFocusVisualAttributes(), WorkSpaceWindow::state, IconMgr::twm_win, useBackgroundInfo, Vanish(), TwmWindow::vs, ButtonSubwindow::w, MapSubwindow::w, WarpToWindow(), VirtualScreen::window, MapSubwindow::wl, 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(), and GWS_CHECK.
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, WorkSpace::next, WorkSpace::number, 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(), TwmWindow::next, TwmWindow::savevs, Scr, Vanish(), TwmWindow::vs, and wt_Normal.
Referenced by EwmhClientMessage(), and f_showbackground_impl().