]> Dogcows Code - chaz/openbox/blobdiff - openbox/action.c
set the desktop hint when the window already has a hint but its out of range
[chaz/openbox] / openbox / action.c
index 2dde0f0bdc997770d28276030065a1ec5972e3a4..e166dd8bdfff95bc37cbe266d07b38007c3619d5 100644 (file)
@@ -246,11 +246,6 @@ ActionString actionstrings[] =
         action_lower,
         NULL
     },
-    {
-        "focusraise",
-        action_focusraise,
-        NULL
-    },
     {
         "close",
         action_close,
@@ -633,14 +628,6 @@ void action_iconify(union ActionData *data)
         client_iconify(data->client.c, TRUE, TRUE);
 }
 
-void action_focusraise(union ActionData *data)
-{
-    if (data->client.c) {
-        client_focus(data->client.c);
-        stacking_raise(CLIENT_AS_WINDOW(data->client.c));
-    }
-}
-
 void action_raise(union ActionData *data)
 {
     if (data->client.c)
@@ -1131,7 +1118,7 @@ void action_moveresize(union ActionData *data)
 
 void action_restart(union ActionData *data)
 {
-    ob_restart_path = data->execute.path;
+    ob_restart_path = g_strdup(data->execute.path);
     ob_shutdown = ob_restart = TRUE;
 }
 
This page took 0.021025 seconds and 4 git commands to generate.