diff options
author | fluxgen <fluxgen> | 2002-05-02 07:10:03 (GMT) |
---|---|---|
committer | fluxgen <fluxgen> | 2002-05-02 07:10:03 (GMT) |
commit | 74d77991bc9d522a70e4d95b7d1e85edd5e0a43b (patch) | |
tree | 5bcf85cfe008bf835a7fc9d790fdbea7622fcaa1 /src | |
parent | 0f1dd8e8b582f03ec0125e0ea237a3f9cbeabd86 (diff) | |
download | fluxbox_lack-74d77991bc9d522a70e4d95b7d1e85edd5e0a43b.zip fluxbox_lack-74d77991bc9d522a70e4d95b7d1e85edd5e0a43b.tar.bz2 |
added FIRSTTAB, LASTTAB, MOVETABPREV and MOVETABNEXT
Diffstat (limited to 'src')
-rw-r--r-- | src/Keys.cc | 45 | ||||
-rw-r--r-- | src/Keys.hh | 4 |
2 files changed, 26 insertions, 23 deletions
diff --git a/src/Keys.cc b/src/Keys.cc index a8af404..00d6532 100644 --- a/src/Keys.cc +++ b/src/Keys.cc | |||
@@ -19,48 +19,47 @@ | |||
19 | // FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER | 19 | // FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER |
20 | // DEALINGS IN THE SOFTWARE. | 20 | // DEALINGS IN THE SOFTWARE. |
21 | 21 | ||
22 | //$Id: Keys.cc,v 1.15 2002/04/19 09:33:42 fluxgen Exp $ | 22 | //$Id: Keys.cc,v 1.16 2002/05/02 07:10:03 fluxgen Exp $ |
23 | 23 | ||
24 | #ifdef HAVE_CONFIG_H | 24 | #ifdef HAVE_CONFIG_H |
25 | # include "config.h" | 25 | #include "config.h" |
26 | #endif | 26 | #endif |
27 | 27 | ||
28 | #include "Keys.hh" | 28 | #include "Keys.hh" |
29 | |||
30 | #include "StringUtil.hh" | 29 | #include "StringUtil.hh" |
31 | 30 | ||
32 | #ifdef HAVE_STDIO_H | 31 | #ifdef HAVE_STDIO_H |
33 | # include <stdio.h> | 32 | #include <stdio.h> |
34 | #endif // HAVE_STDIO_H | 33 | #endif // HAVE_STDIO_H |
35 | 34 | ||
36 | #ifdef HAVE_CTYPE_H | 35 | #ifdef HAVE_CTYPE_H |
37 | # include <ctype.h> | 36 | #include <ctype.h> |
38 | #endif // HAVE_CTYPE_H | 37 | #endif // HAVE_CTYPE_H |
39 | 38 | ||
40 | #ifdef STDC_HEADERS | 39 | #ifdef STDC_HEADERS |
41 | # include <stdlib.h> | 40 | #include <stdlib.h> |
42 | # include <string.h> | 41 | #include <string.h> |
43 | # include <errno.h> | 42 | #include <errno.h> |
44 | #endif // STDC_HEADERS | 43 | #endif // STDC_HEADERS |
45 | 44 | ||
46 | #if HAVE_STRINGS_H | 45 | #if HAVE_STRINGS_H |
47 | # include <strings.h> | 46 | #include <strings.h> |
48 | #endif | 47 | #endif |
49 | 48 | ||
50 | #ifdef HAVE_SYS_TYPES_H | 49 | #ifdef HAVE_SYS_TYPES_H |
51 | # include <sys/types.h> | 50 | #include <sys/types.h> |
52 | #endif // HAVE_SYS_TYPES_H | 51 | #endif // HAVE_SYS_TYPES_H |
53 | 52 | ||
54 | #ifdef HAVE_SYS_WAIT_H | 53 | #ifdef HAVE_SYS_WAIT_H |
55 | # include <sys/wait.h> | 54 | #include <sys/wait.h> |
56 | #endif // HAVE_SYS_WAIT_H | 55 | #endif // HAVE_SYS_WAIT_H |
57 | 56 | ||
58 | #ifdef HAVE_UNISTD_H | 57 | #ifdef HAVE_UNISTD_H |
59 | # include <unistd.h> | 58 | #include <unistd.h> |
60 | #endif // HAVE_UNISTD_H | 59 | #endif // HAVE_UNISTD_H |
61 | 60 | ||
62 | #ifdef HAVE_SYS_STAT_H | 61 | #ifdef HAVE_SYS_STAT_H |
63 | # include <sys/stat.h> | 62 | #include <sys/stat.h> |
64 | #endif // HAVE_SYS_STAT_H | 63 | #endif // HAVE_SYS_STAT_H |
65 | 64 | ||
66 | #include <X11/Xlib.h> | 65 | #include <X11/Xlib.h> |
@@ -104,6 +103,10 @@ Keys::t_actionstr Keys::m_actionlist[] = { | |||
104 | {"PrevWindow", PREVWINDOW}, | 103 | {"PrevWindow", PREVWINDOW}, |
105 | {"NextTab", NEXTTAB}, | 104 | {"NextTab", NEXTTAB}, |
106 | {"PrevTab", PREVTAB}, | 105 | {"PrevTab", PREVTAB}, |
106 | {"FirstTab", FIRSTTAB}, | ||
107 | {"LastTab", LASTTAB}, | ||
108 | {"MoveTabPrev", MOVETABPREV}, | ||
109 | {"MoveTabNext", MOVETABNEXT}, | ||
107 | {"ShadeWindow", SHADE}, | 110 | {"ShadeWindow", SHADE}, |
108 | {"MaximizeWindow", MAXIMIZE}, | 111 | {"MaximizeWindow", MAXIMIZE}, |
109 | {"StickWindow", STICK}, | 112 | {"StickWindow", STICK}, |
diff --git a/src/Keys.hh b/src/Keys.hh index 0b6e862..b12906c 100644 --- a/src/Keys.hh +++ b/src/Keys.hh | |||
@@ -19,7 +19,7 @@ | |||
19 | // FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER | 19 | // FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER |
20 | // DEALINGS IN THE SOFTWARE. | 20 | // DEALINGS IN THE SOFTWARE. |
21 | 21 | ||
22 | // $Id: Keys.hh,v 1.11 2002/04/19 09:33:42 fluxgen Exp $ | 22 | // $Id: Keys.hh,v 1.12 2002/05/02 07:10:03 fluxgen Exp $ |
23 | 23 | ||
24 | #ifndef KEYS_HH | 24 | #ifndef KEYS_HH |
25 | #define KEYS_HH | 25 | #define KEYS_HH |
@@ -45,7 +45,7 @@ public: | |||
45 | NEXTWORKSPACE, PREVWORKSPACE, | 45 | NEXTWORKSPACE, PREVWORKSPACE, |
46 | LEFTWORKSPACE, RIGHTWORKSPACE, | 46 | LEFTWORKSPACE, RIGHTWORKSPACE, |
47 | KILLWINDOW, NEXTWINDOW, PREVWINDOW, | 47 | KILLWINDOW, NEXTWINDOW, PREVWINDOW, |
48 | NEXTTAB, PREVTAB, | 48 | NEXTTAB, PREVTAB, FIRSTTAB, LASTTAB, MOVETABPREV, MOVETABNEXT, |
49 | SHADE, MAXIMIZE, STICK, | 49 | SHADE, MAXIMIZE, STICK, |
50 | EXECUTE, | 50 | EXECUTE, |
51 | VERTMAX, HORIZMAX, | 51 | VERTMAX, HORIZMAX, |