Helpers to access root window.

This commit is contained in:
Vidar Hokstad 2023-08-01 20:16:22 +01:00
parent 80fad9a8f9
commit e13df2a2c4

View file

@ -7,6 +7,14 @@ module X11
@internal = data @internal = data
end end
def root
@internal.root
end
def root_depth
@internal.root_depth
end
def width def width
@internal.width_in_pixels @internal.width_in_pixels
end end