Method: XDo::Window#move
- Defined in:
- lib/x_do/window.rb
#move(x, y) ⇒ Object
44 45 46 47 48 49 50 |
# File 'lib/x_do/window.rb', line 44 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 |