aboutsummaryrefslogtreecommitdiff
path: root/src/move.h
diff options
context:
space:
mode:
authorJohn Ankarstrom <john@ankarstrom.se>2021-06-29 22:32:29 +0200
committerJohn Ankarstrom <john@ankarstrom.se>2021-06-29 23:51:47 +0200
commit78002152b346b17d268df4d4a6b2ca1c669f21f9 (patch)
tree5774c180d32afda111a71c9efef7af43dbe89ad8 /src/move.h
parent98a074417fb9ac157c32d637123b6eaae19239f9 (diff)
downloadjwm-78002152b346b17d268df4d4a6b2ca1c669f21f9.tar.gz
Place new windows at cursor position
I guess it would be better if there were an option that controlled this.
Diffstat (limited to 'src/move.h')
-rw-r--r--src/move.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/move.h b/src/move.h
index 8a737ff..0922a07 100644
--- a/src/move.h
+++ b/src/move.h
@@ -57,5 +57,10 @@ void SetDefaultSnapDistance();
*/
void SetMoveMode(MoveModeType mode);
+/** Make the client return to the screen/tray bounds.
+ * @param mode The client node to affect.
+ */
+void ReturnToBorder(struct ClientNode *np, int north, int west);
+
#endif