|
CTWM
|
#include "ctwm.h"#include <assert.h>#include <stdio.h>#include <stdlib.h>#include <X11/Xatom.h>#include "ctwm_atoms.h"#include "cursor.h"#include "icons.h"#include "list.h"#include "otp.h"#include "screen.h"#include "vscreen.h"#include "win_utils.h"Go to the source code of this file.
Functions | |
| static void | DisplayWinUnchecked (VirtualScreen *vs, TwmWindow *tmp_win) |
| static void | init_def_vscreen (ScreenInfo *scr) |
| void | InitVirtualScreens (ScreenInfo *scr) |
| char * | CtwmGetVScreenMap (Display *display, Window rootw) |
| bool | CtwmSetVScreenMap (Display *display, Window rootw, struct VirtualScreen *firstvs) |
| void | DisplayWin (VirtualScreen *vs, TwmWindow *tmp_win) |
| void | ReparentFrameAndIcon (TwmWindow *tmp_win) |
| void | Vanish (VirtualScreen *vs, TwmWindow *tmp_win) |
| char * CtwmGetVScreenMap | ( | Display * | display, |
| Window | rootw ) |
Definition at line 166 of file vscreen.c.
References len.
Referenced by ConfigureWorkSpaceManager().
| bool CtwmSetVScreenMap | ( | Display * | display, |
| Window | rootw, | ||
| struct VirtualScreen * | firstvs ) |
Definition at line 196 of file vscreen.c.
References WorkSpaceWindow::currentwspc, WorkSpace::name, VirtualScreen::next, and VirtualScreen::wsw.
Referenced by GotoWorkSpace().
| void DisplayWin | ( | VirtualScreen * | vs, |
| TwmWindow * | tmp_win ) |
Definition at line 232 of file vscreen.c.
References DisplayWinUnchecked(), and OtpCheckConsistency().
Referenced by ChangeOccupation(), GotoWorkSpace(), ShowBackground(), and WMgrHandleButtonEvent().
|
static |
Definition at line 240 of file vscreen.c.
References dpy, TwmWindow::frame, TwmWindow::frame_x, TwmWindow::frame_y, TwmWindow::icon, TwmWindow::icon_on, IconUp(), TwmWindow::isicon, TwmWindow::mapped, mask_out_event(), ReparentFrameAndIcon(), restore_mask(), SetMapStateProp(), TwmWindow::squeezed, TwmWindow::UnmapByMovingFarAway, TwmWindow::vs, Icon::w, TwmWindow::w, and VirtualScreen::window.
Referenced by DisplayWin().
|
static |
Definition at line 26 of file vscreen.c.
References ScreenInfo::currentvs, VirtualScreen::h, VirtualScreen::next, ScreenInfo::Root, ScreenInfo::rooth, ScreenInfo::rootw, ScreenInfo::vScreenList, VirtualScreen::w, VirtualScreen::window, VirtualScreen::wsw, VirtualScreen::x, and VirtualScreen::y.
Referenced by InitVirtualScreens().
| void InitVirtualScreens | ( | ScreenInfo * | scr | ) |
Definition at line 46 of file vscreen.c.
References dpy, VirtualScreen::h, init_def_vscreen(), name_list::name, NewFontCursor(), name_list::next, VirtualScreen::next, ScreenInfo::rooth, ScreenInfo::rootw, Scr, ScreenInfo::vScreenList, VirtualScreen::w, VirtualScreen::window, VirtualScreen::wsw, VirtualScreen::x, x, VirtualScreen::y, and y.
Referenced by ctwm_main().
| void ReparentFrameAndIcon | ( | TwmWindow * | tmp_win | ) |
Definition at line 313 of file vscreen.c.
References dpy, TwmWindow::frame_x, TwmWindow::frame_y, TwmWindow::icon, TwmWindow::parent_vs, ReparentWindow(), ReparentWindowAndIcon(), TwmWindow::vs, Icon::w, Icon::w_x, Icon::w_y, VirtualScreen::window, and WinWin.
Referenced by DisplayWinUnchecked(), Occupy(), and Vanish().
| void Vanish | ( | VirtualScreen * | vs, |
| TwmWindow * | tmp_win ) |
Definition at line 344 of file vscreen.c.
References TwmWindow::DontSetInactive, dpy, TwmWindow::frame, TwmWindow::icon, TwmWindow::icon_on, IconDown(), TwmWindow::mapped, mask_out_event(), VirtualScreen::next, ReparentFrameAndIcon(), restore_mask(), Scr, SetMapStateProp(), TwmWindow::UnmapByMovingFarAway, TwmWindow::vs, Icon::w, TwmWindow::w, VirtualScreen::x, x, VirtualScreen::y, and y.
Referenced by ChangeOccupation(), GotoWorkSpace(), ShowBackground(), and WMgrHandleButtonEvent().