~ctwm/ctwm/trunk

« back to all changes in this revision

Viewing changes to functions_workspaces.c

  • Committer: Matthew Fuller
  • Date: 2016-10-23 11:55:29 UTC
  • mto: This revision was merged to the branch mainline in revision 536.
  • Revision ID: fullermd@over-yonder.net-20161023115529-iukivshsq92cnnpq
Whoops, add the file.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
/*
 
2
 * Functions related to window occupation and workspaces.  Not the
 
3
 * workspace manager itself; that's off with the icon managers.
 
4
 */
 
5
 
 
6
#include "ctwm.h"
 
7
 
 
8
#include "functions_internal.h"
 
9
#include "screen.h"
 
10
#include "occupation.h"
 
11
 
 
12
 
 
13
DFHANDLER(vanish)
 
14
{
 
15
        WMgrRemoveFromCurrentWorkSpace(Scr->currentvs, tmp_win);
 
16
}
 
17
 
 
18
DFHANDLER(warphere)
 
19
{
 
20
        WMgrAddToCurrentWorkSpaceAndWarp(Scr->currentvs, action);
 
21
}
 
22
 
 
23
DFHANDLER(addtoworkspace)
 
24
{
 
25
        AddToWorkSpace(action, tmp_win);
 
26
}
 
27
 
 
28
DFHANDLER(removefromworkspace)
 
29
{
 
30
        RemoveFromWorkSpace(action, tmp_win);
 
31
}
 
32
 
 
33
DFHANDLER(toggleoccupation)
 
34
{
 
35
        ToggleOccupation(action, tmp_win);
 
36
}
 
37
 
 
38
DFHANDLER(movetonextworkspace)
 
39
{
 
40
        MoveToNextWorkSpace(Scr->currentvs, tmp_win);
 
41
}
 
42
 
 
43
DFHANDLER(movetoprevworkspace)
 
44
{
 
45
        MoveToPrevWorkSpace(Scr->currentvs, tmp_win);
 
46
}
 
47
 
 
48
DFHANDLER(movetonextworkspaceandfollow)
 
49
{
 
50
        MoveToNextWorkSpaceAndFollow(Scr->currentvs, tmp_win);
 
51
}
 
52
 
 
53
DFHANDLER(movetoprevworkspaceandfollow)
 
54
{
 
55
        MoveToPrevWorkSpaceAndFollow(Scr->currentvs, tmp_win);
 
56
}
 
57