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
|
# NOTE: mouse_{x,y} were not set in status line before 3.3
|
||||||
if -F "#{>=:#{version},3.3}" {
|
if -F "#{>=:#{version},3.3}" {
|
||||||
bind -n MouseDragEnd1StatusDefault {
|
bind -n MouseDragEnd1StatusDefault {
|
||||||
if -F "#{e|>|f|0:#{mouse_x},#{e|/|f:#{window_width},2}}" {
|
if -F "#{e|<|f|0:#{mouse_x},#{e|/|f:#{window_width},2}}" {
|
||||||
move-window -at :$
|
|
||||||
} {
|
|
||||||
move-window -bt :^
|
move-window -bt :^
|
||||||
|
} {
|
||||||
|
move-window -at :$
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user