summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormraustin1337 <mraustin1337@d7aaf104-2d23-0410-ae22-9d23157bf5a3>2007-02-17 12:53:46 +0000
committermraustin1337 <mraustin1337@d7aaf104-2d23-0410-ae22-9d23157bf5a3>2007-02-17 12:53:46 +0000
commit8b5e6a3bb74e9f9fe0941e83ef7628294244c8b9 (patch)
treea5b6d7788c99e8b590d471c34e649eae6ac273af
parentab28f13ce03b3d25e59994d77f9e07b9cf45a9eb (diff)
downloadmarex-dev-8b5e6a3bb74e9f9fe0941e83ef7628294244c8b9.tar.gz
marex-dev-8b5e6a3bb74e9f9fe0941e83ef7628294244c8b9.tar.bz2
- Changed default shortcut key to Super + M.
- Made miniviewCreate return false. git-svn-id: file:///beryl/trunk@4118 d7aaf104-2d23-0410-ae22-9d23157bf5a3
-rw-r--r--beryl-plugins/src/miniview.c11
1 files changed, 6 insertions, 5 deletions
diff --git a/beryl-plugins/src/miniview.c b/beryl-plugins/src/miniview.c
index 0371010..13c7666 100644
--- a/beryl-plugins/src/miniview.c
+++ b/beryl-plugins/src/miniview.c
@@ -22,12 +22,13 @@
* - Made miniview screens only drag with shift + click and mouse in the miniview.
* - Added a screengrab for moving the miniview.
* - General code cleanup including removal of some un-needed damages.
+ * - Changed default shortcut key to Super + M
* TODO:
* - Move towards using windows instead of screens.
* - Transparent miniview.
* - Swap (like PiP on TVs)
* - Ideas?
- * i C
+ *
**/
#include <stdio.h>
#include <stdlib.h>
@@ -36,11 +37,11 @@
#include <beryl.h>
-#define MINIVIEW_CREATE_KEY_DEFAULT "Tab"
-#define MINIVIEW_CREATE_MODIFIERS_DEFAULT (ShiftMask)
+#define MINIVIEW_CREATE_KEY_DEFAULT "m"
+#define MINIVIEW_CREATE_MODIFIERS_DEFAULT (CompSuperMask)
#define MINIVIEW_MOVE_KEY_DEFAULT Button1
-#define MINIVIEW_MOVE_MODIFIERS_DEFAULT ( ShiftMask )
+#define MINIVIEW_MOVE_MODIFIERS_DEFAULT ( ShiftMask )
#define MINIVIEW_INCREASE_KEY_DEFAULT "i"
#define MINIVIEW_INCREASE_MODIFIERS_DEFAULT (CompSuperMask | CompAltMask)
@@ -163,7 +164,7 @@ static Bool miniviewCreate(CompDisplay * d, CompAction * action,
ms->moveStep = 1;
}
- return TRUE;
+ return FALSE;
}
static Bool miniviewMove(CompDisplay * d, CompAction * action,