mirror of
https://github.com/vidarh/ruby-x11
synced 2024-12-25 09:59:00 +01:00
Helpers to access root window.
This commit is contained in:
parent
80fad9a8f9
commit
e13df2a2c4
1 changed files with 8 additions and 0 deletions
|
@ -7,6 +7,14 @@ module X11
|
|||
@internal = data
|
||||
end
|
||||
|
||||
def root
|
||||
@internal.root
|
||||
end
|
||||
|
||||
def root_depth
|
||||
@internal.root_depth
|
||||
end
|
||||
|
||||
def width
|
||||
@internal.width_in_pixels
|
||||
end
|
||||
|
|
Loading…
Reference in a new issue