diff --git a/.config/tmux/tmux.conf b/.config/tmux/tmux.conf index ff7dc6f..d215acd 100644 --- a/.config/tmux/tmux.conf +++ b/.config/tmux/tmux.conf @@ -174,10 +174,10 @@ bind -n MouseDrag1Status swap-window -d -t= # NOTE: mouse_{x,y} were not set in status line before 3.3 if -F "#{>=:#{version},3.3}" { bind -n MouseDragEnd1StatusDefault { - if -F "#{e|>|f|0:#{mouse_x},#{e|/|f:#{window_width},2}}" { - move-window -at :$ - } { + if -F "#{e|<|f|0:#{mouse_x},#{e|/|f:#{window_width},2}}" { move-window -bt :^ + } { + move-window -at :$ } } }