Method: XDo::Window#move
- Defined in:
- lib/x_do/window.rb
#move(x, y) ⇒ Object
55 56 57 58 59 60 61 |
# File 'lib/x_do/window.rb', line 55 def move(x, y) move_raw x, y glitched_location = self.location x_decoration = glitched_location.first - x y_decoration = glitched_location.last - y move_raw x - x_decoration, y - y_decoration end |