]> Dogcows Code - chaz/openbox/blobdiff - plugins/mouse/mouse.c
turn off all elements, would miss them randomly if titlebar was disabled before
[chaz/openbox] / plugins / mouse / mouse.c
index ae4cc60ba072c58e6bf6b9cb9724dade6b53bfb7..7d60869f971e0ad24cf299330141db174b1429d4 100644 (file)
@@ -9,6 +9,10 @@
 #include "mouse.h"
 #include <glib.h>
 
+void plugin_setup_config()
+{
+}
+
 static int drag_threshold = 3;
 
 /* GData of GSList*s of PointerBinding*s. */
@@ -385,7 +389,7 @@ static void binddef()
     a = action_new(action_lower);
     mbind("A-3", "frame", MouseAction_Click, a);
 
-    a = action_new(action_focusraise);
+    a = action_new(action_focus);
     mbind("1", "client", MouseAction_Press, a);
 
     a = action_new(action_toggle_shade);
@@ -407,6 +411,8 @@ static void binddef()
     mbind("1", "icon", MouseAction_DClick, a);
     a = action_new(action_close);
     mbind("1", "close", MouseAction_Click, a);
+    a = action_new(action_kill);
+    mbind("2", "close", MouseAction_Click, a);
     a = action_new(action_toggle_omnipresent);
     mbind("1", "alldesktops", MouseAction_Click, a);
 
This page took 0.025281 seconds and 4 git commands to generate.