tmux: Reorder MouseDragEnd1StatusDefault blocks
This commit is contained in:
@@ -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 :$
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user