class Tiling::Mover

Move a window.

Public Class Methods

move(id, x, y, width, height) click to toggle source
# File lib/tiling/mover.rb, line 5
def self.move id, x, y, width, height
  WMCtrl.instance.action_window(id, :change_state, 'remove', 'fullscreen')
  WMCtrl.instance.action_window(id, :change_state, 'remove', 'maximized_horz', 'maximized_vert')
  WMCtrl.instance.action_window(id, :move_resize, 0, x, y, width, height)
end