diff options
author | Qball Cow <qball@gmpclient.org> | 2014-01-26 00:27:57 +0100 |
---|---|---|
committer | Qball Cow <qball@gmpclient.org> | 2014-01-26 00:27:57 +0100 |
commit | f72a60580f09dc86a4fca4f3a7c6d951734bb90a (patch) | |
tree | 7adb173a721f63cadaa1df63f691e95cd0acc5ac /include | |
parent | 6e242c197ed1a9e29e7784c5a7394d459e7c033a (diff) |
Allow user to specify location of switcher
Diffstat (limited to 'include')
-rw-r--r-- | include/simpleswitcher.h | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/include/simpleswitcher.h b/include/simpleswitcher.h index d3fce432..145b44b6 100644 --- a/include/simpleswitcher.h +++ b/include/simpleswitcher.h @@ -36,6 +36,18 @@ void* reallocate( void *ptr, unsigned long bytes ); void catch_exit( __attribute__( ( unused ) ) int sig ); +typedef enum _WindowLocation { + CENTER = 0, + NORTH_WEST = 1, + NORTH = 2, + NORTH_EAST = 3, + EAST = 4, + EAST_SOUTH = 5, + SOUTH = 6, + SOUTH_WEST = 7, + WEST = 8 +} WindowLocation; + /** * Settings */ @@ -62,6 +74,7 @@ typedef struct _Settings { char * window_key; char * run_key; char * ssh_key; + WindowLocation location; } Settings; extern Settings config; |