]> Dogcows Code - chaz/openbox/blobdiff - openbox/action.h
Add MoveFromEdge* actions, shorten client_directional_edge_search with some handy...
[chaz/openbox] / openbox / action.h
index 3ef5aa734a3cc8a5fb83c5ceb02b5669187f1265..4c749fee0932eaf921d322cad578c8c36cdb4f95 100644 (file)
@@ -1,6 +1,7 @@
 /* -*- indent-tabs-mode: nil; tab-width: 4; c-basic-offset: 4; -*-
 
    action.h for the Openbox window manager
+   Copyright (c) 2006        Mikael Magnusson
    Copyright (c) 2003        Ben Jansens
 
    This program is free software; you can redistribute it and/or modify
@@ -64,6 +65,7 @@ struct InterDirectionalAction{
 struct DirectionalAction{
     struct AnyAction any;
     ObDirection direction;
+    gboolean hang;
 };
 
 struct Execute {
@@ -82,7 +84,10 @@ struct Activate {
 
 struct MoveResizeRelative {
     struct AnyAction any;
-    gint delta;
+    gint deltax;
+    gint deltay;
+    gint deltaxl;
+    gint deltayu;
 };
 
 struct SendToDesktop {
@@ -180,6 +185,8 @@ struct _ObAction {
    action_move_relative_vert - the delta
    action_resize_relative_horz - the delta
    action_resize_relative_vert - the delta
+   action_move_relative - the deltas
+   action_resize_relative - the deltas
 */
 
 ObAction* action_from_string(const gchar *name, ObUserAction uact);
@@ -257,6 +264,10 @@ void action_toggle_omnipresent(union ActionData *data);
 void action_move_relative_horz(union ActionData *data);
 /* MoveResizeRelative */
 void action_move_relative_vert(union ActionData *data);
+/* MoveResizeRelative */
+void action_move_relative(union ActionData *data);
+/* MoveResizeRelative */
+void action_resize_relative(union ActionData *data);
 /* ClientAction */
 void action_move_to_center(union ActionData *data);
 /* MoveResizeRelative */
This page took 0.02432 seconds and 4 git commands to generate.