[rc/sway] add back second argument of floating_modifier
authorAmin Bandali <amin@aminb.org>
Thu, 26 Jul 2018 00:17:12 +0000 (20:17 -0400)
committerAmin Bandali <amin@aminb.org>
Thu, 26 Jul 2018 01:40:09 +0000 (21:40 -0400)
implemented in https://github.com/swaywm/sway/pull/2352

rc.org

diff --git a/rc.org b/rc.org
index c596286..d1155f1 100644 (file)
--- a/rc.org
+++ b/rc.org
@@ -3740,7 +3740,10 @@ input "1:1:AT_Translated_Set_2_keyboard" {
 
     # Drag floating windows by holding down $mod and left mouse button.
     # Resize them with right mouse button + $mod.
-    floating_modifier $mod
+    # Despite the name, also works for non-floating windows.
+    # Change normal to inverse to use left mouse button for resizing and right
+    # mouse button for dragging.
+    floating_modifier $mod normal
 
     # reload the configuration file
     bindsym $mod+Shift+c reload