X11 Display. Singleton – assumes single display. Assumes the current display is the same as the one running FireFox. Represented by memory pointer (which we treat in-code as an unsigned long).
# File lib/firewatir/x11.rb, line 76 def initialize @xdisplay = X11.xOpenDisplay(""); end
Array of screens associated with this display.
# File lib/firewatir/x11.rb, line 81 def screens nScreens = X11.xScreenCount(@xdisplay); (0...nScreens).collect{|n| Screen.new(n,@xdisplay)} end