CTWM
Loading...
Searching...
No Matches
Macros | Functions | Variables
/usr/src/RPM/BUILD/ctwm-4.1.0/workspace_utils.c File Reference
#include "ctwm.h"
#include <stdio.h>
#include <string.h>
#include <stdlib.h>
#include <X11/Xatom.h>
#include "animate.h"
#include "clicktofocus.h"
#include "ctwm_atoms.h"
#include "drawing.h"
#include "functions.h"
#include "iconmgr.h"
#include "image.h"
#include "otp.h"
#include "screen.h"
#include "vscreen.h"
#include "win_ops.h"
#include "win_utils.h"
#include "workspace_manager.h"
#include "workspace_utils.h"
Include dependency graph for workspace_utils.c:

Go to the source code of this file.

Macros

#define GWS_CHECK
 

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 newstate)
 
charGetCurrentWorkSpaceName (VirtualScreen *vs)
 
WorkSpaceGetWorkspace (const char *wname)
 

Variables

bool useBackgroundInfo = false
 

Macro Definition Documentation

◆ GWS_CHECK

#define GWS_CHECK
Value:
do { \
if(! Scr->workSpaceManagerActive) { \
return; \
} \
if(!vs) { \
return; \
} \
} while(0)
static int PlaceX
Definition add_window.c:82
#define Scr

Definition at line 310 of file workspace_utils.c.

Referenced by GotoDownWorkSpace(), GotoLeftWorkSpace(), GotoNextWorkSpace(), GotoPrevWorkSpace(), GotoRightWorkSpace(), GotoUpWorkSpace(), GotoWorkSpaceByName(), and GotoWorkSpaceByNumber().

Function Documentation

◆ GetCurrentWorkSpaceName()

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().

◆ GetWorkspace()

WorkSpace * GetWorkspace ( const char * wname)

◆ GotoDownWorkSpace()

void GotoDownWorkSpace ( VirtualScreen * vs)

◆ GotoLeftWorkSpace()

void GotoLeftWorkSpace ( VirtualScreen * vs)

◆ GotoNextWorkSpace()

void GotoNextWorkSpace ( VirtualScreen * vs)

◆ GotoPrevWorkSpace()

void GotoPrevWorkSpace ( VirtualScreen * vs)

◆ GotoRightWorkSpace()

void GotoRightWorkSpace ( VirtualScreen * vs)

◆ GotoUpWorkSpace()

void GotoUpWorkSpace ( VirtualScreen * vs)

◆ GotoWorkSpace()

void GotoWorkSpace ( VirtualScreen * vs,
WorkSpace * ws )

◆ GotoWorkSpaceByName()

void GotoWorkSpaceByName ( VirtualScreen * vs,
const char * wname )

◆ GotoWorkSpaceByNumber()

void GotoWorkSpaceByNumber ( VirtualScreen * vs,
int workspacenum )

◆ ShowBackground()

void ShowBackground ( VirtualScreen * vs,
int newstate )

Variable Documentation

◆ useBackgroundInfo

bool useBackgroundInfo = false