module X11 class Screen attr_reader :display def initialize(display, data) @display = display @internal = data end def width @internal.width_in_pixels end def height @internal.height_in_pixels end def to_s "#" end end end