]> Dogcows Code - chaz/openbox/blobdiff - openbox/actions/moverelative.c
Bring helper windows when following a window.
[chaz/openbox] / openbox / actions / moverelative.c
index f3a306482acef6cb7b33211a03d0cb45c9b98bba..1d1189cdb7c089d26ef74dd00e3052ef77cce863 100644 (file)
@@ -13,7 +13,7 @@ static gpointer setup_func(ObParseInst *i, xmlDocPtr doc, xmlNodePtr node);
 static void     free_func(gpointer options);
 static gboolean run_func(ObActionsData *data, gpointer options);
 
-void action_moverelative_startup()
+void action_moverelative_startup(void)
 {
     actions_register("MoveRelative",
                      setup_func,
@@ -61,7 +61,9 @@ static gboolean run_func(ObActionsData *data, gpointer options)
         client_try_configure(data->client, &x, &y, &w, &h, &lw, &lh, TRUE);
         client_find_onscreen(data->client, &x, &y, w, h, FALSE);
 
+        actions_client_move(data, TRUE);
         client_configure(data->client, x, y, w, h, TRUE, TRUE, FALSE);
+        actions_client_move(data, FALSE);
     }
 
     return FALSE;
This page took 0.022156 seconds and 4 git commands to generate.