diff options
author | Orestis Floros <orestisf1993@gmail.com> | 2018-03-18 02:08:16 +0200 |
---|---|---|
committer | Orestis Floros <orestisf1993@gmail.com> | 2018-03-20 16:59:06 +0200 |
commit | 174dc389ffe840e89199b07e6d08317ebbc9f725 (patch) | |
tree | 63589d809cc543057c91513bfb91f1c554079e5e /parser-specs | |
parent | 670dfa0bba3f388e62d142d992c951936a1ed00b (diff) | |
download | i3-174dc389ffe840e89199b07e6d08317ebbc9f725.tar.gz i3-174dc389ffe840e89199b07e6d08317ebbc9f725.zip |
Remove 'method' from cmd_move_window_to_position
For command:
move window to [absolute] position X px Y px
if the optional keyword 'absolute' is provided the end result is the
same even though it is implemented differently. Only difference is that
with absolute the floating window can move completely outside of any
output.
This commit removes the 'method' argument and only keeps the sane
implementation.
Diffstat (limited to 'parser-specs')
-rw-r--r-- | parser-specs/commands.spec | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/parser-specs/commands.spec b/parser-specs/commands.spec index 0289fa1a..4048768e 100644 --- a/parser-specs/commands.spec +++ b/parser-specs/commands.spec @@ -396,7 +396,7 @@ state MOVE_TO_POSITION_X: state MOVE_TO_POSITION_Y: 'px', end - -> call cmd_move_window_to_position($method, &coord_x, &coord_y) + -> call cmd_move_window_to_position(&coord_x, &coord_y) # mode <string> state MODE: |