~ctwm/ctwm/trunk

« back to all changes in this revision

Viewing changes to functions_workspaces.c

  • Committer: Matthew Fuller
  • Date: 2016-10-23 12:10:54 UTC
  • mto: This revision was merged to the branch mainline in revision 536.
  • Revision ID: fullermd@over-yonder.net-20161023121054-zpbqaal8lkxkiuwy
Pull out the next block of occupation/workspace bits.

Show diffs side-by-side

added added

removed removed

Lines of Context:
8
8
#include "functions_internal.h"
9
9
#include "screen.h"
10
10
#include "occupation.h"
 
11
#include "workspace_utils.h"
11
12
 
12
13
 
13
14
DFHANDLER(vanish)
55
56
        MoveToPrevWorkSpaceAndFollow(Scr->currentvs, tmp_win);
56
57
}
57
58
 
 
59
 
 
60
DFHANDLER(occupy)
 
61
{
 
62
        Occupy(tmp_win);
 
63
}
 
64
 
 
65
DFHANDLER(occupyall)
 
66
{
 
67
        OccupyAll(tmp_win);
 
68
}
 
69
 
 
70
DFHANDLER(gotoworkspace)
 
71
{
 
72
        GotoWorkSpaceByName(Scr->currentvs, action);
 
73
}
 
74
 
 
75
DFHANDLER(prevworkspace)
 
76
{
 
77
        GotoPrevWorkSpace(Scr->currentvs);
 
78
}
 
79
 
 
80
DFHANDLER(nextworkspace)
 
81
{
 
82
        GotoNextWorkSpace(Scr->currentvs);
 
83
}
 
84
 
 
85
DFHANDLER(rightworkspace)
 
86
{
 
87
        GotoRightWorkSpace(Scr->currentvs);
 
88
}
 
89
 
 
90
DFHANDLER(leftworkspace)
 
91
{
 
92
        GotoLeftWorkSpace(Scr->currentvs);
 
93
}
 
94
 
 
95
DFHANDLER(upworkspace)
 
96
{
 
97
        GotoUpWorkSpace(Scr->currentvs);
 
98
}
 
99
 
 
100
DFHANDLER(downworkspace)
 
101
{
 
102
        GotoDownWorkSpace(Scr->currentvs);
 
103
}