x11 0.0.1a2 → 0.0.1a3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data/lib/X11/X.rb +14 -9
- data/lib/X11/X/c.rb +21 -20
- data/lib/X11/XKBlib.rb +29 -0
- data/lib/X11/Xatom.rb +152 -136
- data/lib/X11/Xatom/c.rb +15 -15
- data/lib/X11/Xdefs.rb +7 -7
- data/lib/X11/Xdefs/c.rb +20 -20
- data/lib/X11/Xlib.rb +19 -7
- data/lib/X11/Xlib/c.rb +21 -8
- data/lib/X11/Xlib/c/functions.rb +373 -27
- data/lib/X11/Xlib/c/type/any_event.rb +13 -13
- data/lib/X11/Xlib/c/type/button_event.rb +23 -23
- data/lib/X11/Xlib/c/type/circulate_event.rb +15 -15
- data/lib/X11/Xlib/c/type/circulate_request_event.rb +15 -15
- data/lib/X11/Xlib/c/type/client_message_event.rb +22 -22
- data/lib/X11/Xlib/c/type/colormap_event.rb +16 -16
- data/lib/X11/Xlib/c/type/configure_event.rb +21 -21
- data/lib/X11/Xlib/c/type/configure_request_event.rb +22 -22
- data/lib/X11/Xlib/c/type/create_window_event.rb +20 -20
- data/lib/X11/Xlib/c/type/crossing_event.rb +25 -25
- data/lib/X11/Xlib/c/type/destroy_window_event.rb +14 -14
- data/lib/X11/Xlib/c/type/display.rb +52 -52
- data/lib/X11/Xlib/c/type/error_event.rb +15 -15
- data/lib/X11/Xlib/c/type/event.rb +43 -43
- data/lib/X11/Xlib/c/type/expose_event.rb +18 -18
- data/lib/X11/Xlib/c/type/focus_change_event.rb +15 -15
- data/lib/X11/Xlib/c/type/gc.rb +10 -10
- data/lib/X11/Xlib/c/type/gc_values.rb +54 -0
- data/lib/X11/Xlib/c/type/generic_event.rb +14 -14
- data/lib/X11/Xlib/c/type/generic_event_cookie.rb +16 -16
- data/lib/X11/Xlib/c/type/graphics_expose_event.rb +21 -21
- data/lib/X11/Xlib/c/type/gravity_event.rb +16 -16
- data/lib/X11/Xlib/c/type/image.rb +56 -0
- data/lib/X11/Xlib/c/type/key_event.rb +23 -23
- data/lib/X11/Xlib/c/type/key_sym.rb +15 -15
- data/lib/X11/Xlib/c/type/keymap_event.rb +14 -14
- data/lib/X11/Xlib/c/type/map_event.rb +15 -15
- data/lib/X11/Xlib/c/type/map_request_event.rb +18 -18
- data/lib/X11/Xlib/c/type/mapping_event.rb +16 -16
- data/lib/X11/Xlib/c/type/motion_event.rb +23 -23
- data/lib/X11/Xlib/c/type/no_expose_event.rb +15 -15
- data/lib/X11/Xlib/c/type/point.rb +33 -0
- data/lib/X11/Xlib/c/type/property_event.rb +16 -16
- data/lib/X11/Xlib/c/type/reparent_event.rb +18 -18
- data/lib/X11/Xlib/c/type/resize_request_event.rb +15 -15
- data/lib/X11/Xlib/c/type/screen.rb +27 -27
- data/lib/X11/Xlib/c/type/selection_clear_event.rb +15 -15
- data/lib/X11/Xlib/c/type/selection_event.rb +17 -17
- data/lib/X11/Xlib/c/type/selection_request_event.rb +18 -18
- data/lib/X11/Xlib/c/type/status.rb +15 -15
- data/lib/X11/Xlib/c/type/unmap_event.rb +15 -15
- data/lib/X11/Xlib/c/type/visibility_event.rb +14 -14
- data/lib/X11/Xlib/c/type/visual.rb +16 -16
- data/lib/X11/Xlib/c/type/window_attributes.rb +31 -31
- data/lib/X11/Xlib/c/types.rb +9 -7
- data/lib/X11/Xlib/display.rb +257 -174
- data/lib/X11/Xlib/display/extensions.rb +56 -0
- data/lib/X11/Xlib/drawable.rb +48 -0
- data/lib/X11/Xlib/error.rb +100 -0
- data/lib/X11/Xlib/event.rb +66 -37
- data/lib/X11/Xlib/event/any.rb +8 -10
- data/lib/X11/Xlib/event/button_press.rb +9 -20
- data/lib/X11/Xlib/event/button_release.rb +9 -20
- data/lib/X11/Xlib/event/circulate_notify.rb +11 -12
- data/lib/X11/Xlib/event/circulate_request.rb +11 -12
- data/lib/X11/Xlib/event/client_message.rb +11 -13
- data/lib/X11/Xlib/event/colormap_notify.rb +12 -13
- data/lib/X11/Xlib/event/configure_notify.rb +17 -18
- data/lib/X11/Xlib/event/configure_request.rb +18 -19
- data/lib/X11/Xlib/event/create_notify.rb +16 -17
- data/lib/X11/Xlib/event/destroy_notify.rb +10 -11
- data/lib/X11/Xlib/event/enter_notify.rb +10 -8
- data/lib/X11/Xlib/event/expose.rb +15 -16
- data/lib/X11/Xlib/event/focus_in.rb +9 -12
- data/lib/X11/Xlib/event/focus_out.rb +9 -12
- data/lib/X11/Xlib/event/generic.rb +35 -0
- data/lib/X11/Xlib/event/generic/button.rb +46 -0
- data/lib/X11/Xlib/event/generic/crossing.rb +48 -0
- data/lib/X11/Xlib/{window/properties/property/class.rb → event/generic/focus_change.rb} +16 -14
- data/lib/X11/Xlib/event/generic/key.rb +46 -0
- data/lib/X11/Xlib/event/generic/motion.rb +46 -0
- data/lib/X11/Xlib/event/generic_event.rb +12 -14
- data/lib/X11/Xlib/event/graphics_expose.rb +15 -14
- data/lib/X11/Xlib/event/gravity_notify.rb +12 -13
- data/lib/X11/Xlib/event/helper.rb +123 -91
- data/lib/X11/Xlib/event/key_press.rb +9 -20
- data/lib/X11/Xlib/event/key_release.rb +9 -20
- data/lib/X11/Xlib/event/keymap_notify.rb +13 -14
- data/lib/X11/Xlib/event/leave_notify.rb +10 -20
- data/lib/X11/Xlib/event/map_notify.rb +11 -12
- data/lib/X11/Xlib/event/map_request.rb +10 -11
- data/lib/X11/Xlib/event/mapping_notify.rb +11 -13
- data/lib/X11/Xlib/event/motion_notify.rb +10 -20
- data/lib/X11/Xlib/event/no_expose.rb +8 -9
- data/lib/X11/Xlib/event/property_notify.rb +12 -13
- data/lib/X11/Xlib/event/reparent_notify.rb +14 -15
- data/lib/X11/Xlib/event/resize_request.rb +11 -12
- data/lib/X11/Xlib/event/selection_clear.rb +10 -12
- data/lib/X11/Xlib/event/selection_notify.rb +13 -15
- data/lib/X11/Xlib/event/selection_request.rb +14 -16
- data/lib/X11/Xlib/event/unmap_notify.rb +11 -12
- data/lib/X11/Xlib/event/visibility_notify.rb +10 -11
- data/lib/X11/Xlib/events.rb +11 -7
- data/lib/X11/Xlib/exceptions.rb +10 -10
- data/lib/X11/Xlib/graphic_context.rb +69 -0
- data/lib/X11/Xlib/graphic_context/functions.rb +50 -0
- data/lib/X11/Xlib/{window/properties/property/command.rb → graphic_context/values.rb} +17 -13
- data/lib/X11/Xlib/hints.rb +19 -18
- data/lib/X11/Xlib/hints/flags.rb +15 -15
- data/lib/X11/Xlib/hints/icon.rb +14 -16
- data/lib/X11/Xlib/id.rb +75 -0
- data/lib/X11/Xlib/image.rb +64 -0
- data/lib/X11/Xlib/keysym.rb +53 -26
- data/lib/X11/Xlib/mask.rb +81 -55
- data/lib/X11/Xlib/pixmap.rb +60 -0
- data/lib/X11/Xlib/planes.rb +50 -0
- data/lib/X11/Xlib/revert_to.rb +10 -10
- data/lib/X11/Xlib/screen.rb +48 -31
- data/lib/X11/Xlib/status.rb +56 -56
- data/lib/X11/Xlib/transform.rb +25 -25
- data/lib/X11/Xlib/visual.rb +19 -19
- data/lib/X11/Xlib/window.rb +399 -188
- data/lib/X11/Xlib/window/attributes.rb +74 -41
- data/lib/X11/Xlib/window/properties.rb +57 -38
- data/lib/X11/Xlib/window/properties/property.rb +135 -70
- data/lib/X11/Xlib/window/properties/property/net_virtual_root.rb +13 -13
- data/lib/X11/Xlib/window/properties/property/parser.rb +45 -35
- data/lib/X11/Xlib/window/properties/property/parser/arc.rb +18 -16
- data/lib/X11/Xlib/window/properties/property/parser/atom.rb +14 -10
- data/lib/X11/Xlib/window/properties/property/parser/cardinal.rb +14 -9
- data/lib/X11/Xlib/window/properties/property/parser/hints.rb +17 -16
- data/lib/X11/Xlib/window/properties/property/parser/integer.rb +39 -0
- data/lib/X11/Xlib/window/properties/property/parser/state.rb +39 -0
- data/lib/X11/Xlib/window/properties/property/parser/string.rb +59 -0
- data/lib/X11/Xlib/window/properties/property/parser/window.rb +39 -0
- data/lib/X11/Xmd.rb +7 -7
- data/lib/X11/Xmd/c.rb +19 -19
- data/lib/X11/Xregion.rb +32 -0
- data/lib/X11/Xregion/c.rb +29 -0
- data/lib/X11/Xregion/c/type/box.rb +35 -0
- data/lib/X11/Xregion/c/type/point_block.rb +33 -0
- data/lib/X11/Xregion/c/type/rectangle.rb +35 -0
- data/lib/X11/Xregion/c/type/region.rb +35 -0
- data/lib/X11/Xregion/c/types.rb +32 -0
- data/lib/X11/Xutil.rb +12 -17
- data/lib/X11/Xutil/c.rb +7 -10
- data/lib/X11/Xutil/c/functions.rb +7 -7
- data/lib/X11/Xutil/c/type/class_hint.rb +10 -10
- data/lib/X11/Xutil/c/type/region.rb +31 -0
- data/lib/X11/Xutil/c/type/text_property.rb +12 -12
- data/lib/X11/Xutil/c/types.rb +8 -7
- data/lib/X11/Xutil/state.rb +43 -0
- data/lib/X11/Xutil/window.rb +28 -28
- data/lib/X11/cursorfont.rb +7 -7
- data/lib/X11/cursorfont/c.rb +8 -8
- data/lib/X11/cursorfont/font.rb +113 -113
- data/lib/X11/extension.rb +65 -0
- data/lib/X11/extensions.rb +105 -126
- data/lib/X11/extensions/Xrandr.rb +49 -0
- data/lib/X11/extensions/Xrandr/c.rb +30 -0
- data/lib/X11/extensions/Xrandr/c/functions.rb +106 -0
- data/lib/X11/extensions/Xrandr/c/type/crtc_gamma.rb +35 -0
- data/lib/X11/extensions/Xrandr/c/type/crtc_info.rb +43 -0
- data/lib/X11/extensions/Xrandr/c/type/crtc_transform_attributes.rb +39 -0
- data/lib/X11/extensions/Xrandr/c/type/mode_info.rb +45 -0
- data/lib/X11/extensions/Xrandr/c/type/output_info.rb +46 -0
- data/lib/X11/extensions/Xrandr/c/type/panning.rb +44 -0
- data/lib/X11/extensions/Xrandr/c/type/property_info.rb +36 -0
- data/lib/X11/extensions/Xrandr/c/type/screen_resources.rb +39 -0
- data/lib/X11/extensions/Xrandr/c/type/screen_size.rb +35 -0
- data/lib/X11/extensions/Xrandr/c/types.rb +48 -0
- data/lib/X11/extensions/Xrandr/crtc.rb +70 -0
- data/lib/X11/extensions/Xrandr/crtc/gamma.rb +100 -0
- data/lib/X11/extensions/Xrandr/crtc/info.rb +62 -0
- data/lib/X11/extensions/Xrandr/crtc/panning.rb +74 -0
- data/lib/X11/extensions/Xrandr/event.rb +29 -0
- data/lib/X11/extensions/Xrandr/output.rb +59 -0
- data/lib/X11/extensions/Xrandr/output/info.rb +105 -0
- data/lib/X11/extensions/Xrandr/output/properties.rb +78 -0
- data/lib/X11/extensions/Xrandr/output/properties/property.rb +161 -0
- data/lib/X11/extensions/Xrandr/output/properties/property/info.rb +73 -0
- data/lib/X11/extensions/Xrandr/output/properties/property/parser.rb +73 -0
- data/lib/X11/extensions/Xrandr/output/properties/property/parser/atom.rb +39 -0
- data/lib/X11/extensions/Xrandr/output/properties/property/parser/integer.rb +43 -0
- data/lib/X11/extensions/Xrandr/screen.rb +49 -0
- data/lib/X11/extensions/Xrandr/screen/backlight.rb +76 -0
- data/lib/X11/extensions/Xrandr/screen_resources.rb +81 -0
- data/lib/X11/extensions/Xrandr/window.rb +41 -0
- data/lib/X11/extensions/Xrender.rb +34 -0
- data/lib/X11/extensions/Xrender/c.rb +30 -0
- data/lib/X11/extensions/Xrender/c/functions.rb +50 -0
- data/lib/X11/extensions/Xrender/c/type/anim_cursor.rb +33 -0
- data/lib/X11/extensions/Xrender/c/type/circle.rb +34 -0
- data/lib/X11/extensions/Xrender/c/type/conical_gradient.rb +33 -0
- data/lib/X11/extensions/Xrender/c/type/filters.rb +35 -0
- data/lib/X11/extensions/Xrender/c/type/glyph_elt16.rb +36 -0
- data/lib/X11/extensions/Xrender/c/type/glyph_elt32.rb +36 -0
- data/lib/X11/extensions/Xrender/c/type/glyph_elt8.rb +36 -0
- data/lib/X11/extensions/Xrender/c/type/glyph_info.rb +37 -0
- data/lib/X11/extensions/Xrender/c/type/index_value.rb +36 -0
- data/lib/X11/extensions/Xrender/c/type/line_fixed.rb +33 -0
- data/lib/X11/extensions/Xrender/c/type/linear_gradient.rb +33 -0
- data/lib/X11/extensions/Xrender/c/type/point_double.rb +33 -0
- data/lib/X11/extensions/Xrender/c/type/point_fixed.rb +33 -0
- data/lib/X11/extensions/Xrender/c/type/radial_gradient.rb +33 -0
- data/lib/X11/extensions/Xrender/c/type/render_color.rb +35 -0
- data/lib/X11/extensions/Xrender/c/type/render_direct_format.rb +39 -0
- data/lib/X11/extensions/Xrender/c/type/render_pict_format.rb +36 -0
- data/lib/X11/extensions/Xrender/c/type/render_picture_attributes.rb +44 -0
- data/lib/X11/extensions/Xrender/c/type/span_fix.rb +34 -0
- data/lib/X11/extensions/Xrender/c/type/transform.rb +32 -0
- data/lib/X11/extensions/Xrender/c/type/trap.rb +33 -0
- data/lib/X11/extensions/Xrender/c/type/trapezoid.rb +35 -0
- data/lib/X11/extensions/Xrender/c/type/triangle.rb +34 -0
- data/lib/X11/extensions/Xrender/c/types.rb +56 -0
- data/lib/X11/extensions/Xrender/mask.rb +48 -0
- data/lib/X11/extensions/randr.rb +29 -0
- data/lib/X11/extensions/randr/c.rb +38 -0
- data/lib/X11/extensions/render.rb +29 -0
- data/lib/X11/extensions/render/c.rb +34 -0
- data/lib/X11/extensions/xf86vmode.rb +42 -0
- data/lib/X11/extensions/xf86vmode/c.rb +30 -0
- data/lib/X11/extensions/xf86vmode/c/functions.rb +59 -0
- data/lib/X11/extensions/xf86vmode/c/type/gamma.rb +34 -0
- data/lib/X11/extensions/xf86vmode/c/type/mode_info.rb +44 -0
- data/lib/X11/extensions/xf86vmode/c/type/mode_line.rb +43 -0
- data/lib/X11/extensions/xf86vmode/c/type/monitor.rb +38 -0
- data/lib/X11/extensions/xf86vmode/c/type/sync_range.rb +33 -0
- data/lib/X11/extensions/xf86vmode/c/types.rb +36 -0
- data/lib/X11/extensions/xf86vmode/screen.rb +53 -0
- data/lib/X11/extensions/xf86vmode/screen/gamma.rb +79 -0
- data/lib/X11/extensions/xf86vmode/screen/gamma/ramp.rb +86 -0
- data/lib/X11/keysym.rb +7 -25
- data/lib/X11/misc/temperature.rb +458 -0
- data/lib/X11/simple.rb +8 -7
- data/lib/X11/simple/display.rb +35 -37
- data/lib/X11/simple/window.rb +39 -19
- data/lib/X11/window_manager.rb +32 -0
- data/lib/X11/window_manager/desktops.rb +82 -0
- data/lib/X11/window_manager/desktops/desktop.rb +78 -0
- data/lib/X11/window_manager/supports.rb +56 -0
- data/lib/X11/window_manager/supports/feature.rb +46 -0
- data/lib/X11/window_manager/window.rb +102 -0
- data/lib/X11/window_manager/window_manager.rb +73 -0
- metadata +216 -66
@@ -0,0 +1,46 @@
|
|
1
|
+
#--
|
2
|
+
# Copyleft meh. [http://meh.paranoid.pk | meh@paranoici.org]
|
3
|
+
#
|
4
|
+
# Redistribution and use in source and binary forms, with or without modification, are
|
5
|
+
# permitted provided that the following conditions are met:
|
6
|
+
#
|
7
|
+
# 1. Redistributions of source code must retain the above copyright notice, this list of
|
8
|
+
# conditions and the following disclaimer.
|
9
|
+
#
|
10
|
+
# 2. Redistributions in binary form must reproduce the above copyright notice, this list
|
11
|
+
# of conditions and the following disclaimer in the documentation and/or other materials
|
12
|
+
# provided with the distribution.
|
13
|
+
#
|
14
|
+
# THIS SOFTWARE IS PROVIDED BY meh ''AS IS'' AND ANY EXPRESS OR IMPLIED
|
15
|
+
# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND
|
16
|
+
# FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL meh OR
|
17
|
+
# CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
|
18
|
+
# CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
|
19
|
+
# SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON
|
20
|
+
# ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
|
21
|
+
# NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
|
22
|
+
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
23
|
+
#
|
24
|
+
# The views and conclusions contained in the software and documentation are those of the
|
25
|
+
# authors and should not be interpreted as representing official policies, either expressed
|
26
|
+
# or implied.
|
27
|
+
#++
|
28
|
+
|
29
|
+
module X11; class WindowManager; class Supports
|
30
|
+
|
31
|
+
class Feature
|
32
|
+
include ForwardTo
|
33
|
+
|
34
|
+
forward_to :to_atom
|
35
|
+
|
36
|
+
def initialize (parent, atom)
|
37
|
+
@parent = parent
|
38
|
+
@atom = atom
|
39
|
+
end
|
40
|
+
|
41
|
+
def to_atom
|
42
|
+
@atom
|
43
|
+
end
|
44
|
+
end
|
45
|
+
|
46
|
+
end; end; end
|
@@ -0,0 +1,102 @@
|
|
1
|
+
#--
|
2
|
+
# Copyleft meh. [http://meh.paranoid.pk | meh@paranoici.org]
|
3
|
+
#
|
4
|
+
# Redistribution and use in source and binary forms, with or without modification, are
|
5
|
+
# permitted provided that the following conditions are met:
|
6
|
+
#
|
7
|
+
# 1. Redistributions of source code must retain the above copyright notice, this list of
|
8
|
+
# conditions and the following disclaimer.
|
9
|
+
#
|
10
|
+
# 2. Redistributions in binary form must reproduce the above copyright notice, this list
|
11
|
+
# of conditions and the following disclaimer in the documentation and/or other materials
|
12
|
+
# provided with the distribution.
|
13
|
+
#
|
14
|
+
# THIS SOFTWARE IS PROVIDED BY meh ''AS IS'' AND ANY EXPRESS OR IMPLIED
|
15
|
+
# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND
|
16
|
+
# FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL meh OR
|
17
|
+
# CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
|
18
|
+
# CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
|
19
|
+
# SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON
|
20
|
+
# ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
|
21
|
+
# NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
|
22
|
+
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
23
|
+
#
|
24
|
+
# The views and conclusions contained in the software and documentation are those of the
|
25
|
+
# authors and should not be interpreted as representing official policies, either expressed
|
26
|
+
# or implied.
|
27
|
+
#++
|
28
|
+
|
29
|
+
module X11
|
30
|
+
|
31
|
+
class Window < Drawable
|
32
|
+
def resource
|
33
|
+
Struct.new(:name, :class).new(*properties[:WM_CLASS].value)
|
34
|
+
end
|
35
|
+
|
36
|
+
def title
|
37
|
+
properties[:_NET_WM_VISIBLE_NAME].value.first rescue
|
38
|
+
properties[:_NET_WM_NAME].value.first rescue
|
39
|
+
properties[:WM_NAME].value.first rescue
|
40
|
+
nil
|
41
|
+
end
|
42
|
+
|
43
|
+
def desktop
|
44
|
+
begin
|
45
|
+
index = properties[:_NET_WM_DESKTOP].value.first
|
46
|
+
|
47
|
+
return true if index == 0xFFFFFFFF
|
48
|
+
|
49
|
+
WindowManager.new(display).desktops[index]
|
50
|
+
rescue
|
51
|
+
WindowManager::Supports.raise :_NET_WM_DESKTOP
|
52
|
+
end
|
53
|
+
end
|
54
|
+
|
55
|
+
def types
|
56
|
+
begin
|
57
|
+
properties[:_NET_WM_WINDOW_TYPE].value.map {|type|
|
58
|
+
type.to_s[/[^_]*$/].to_sym
|
59
|
+
}
|
60
|
+
rescue
|
61
|
+
WindowManager::Supports.raise :_NET_WM_WINDOW_TYPE
|
62
|
+
end
|
63
|
+
end
|
64
|
+
|
65
|
+
def states
|
66
|
+
begin
|
67
|
+
properties[:_NET_WM_WINDOW_STATE].value.map {|type|
|
68
|
+
type.to_s[/[^_]*$/].to_sym
|
69
|
+
}
|
70
|
+
rescue
|
71
|
+
WindowManager::Supports.raise :_NET_WM_WINDOW_STATE
|
72
|
+
end
|
73
|
+
end
|
74
|
+
|
75
|
+
def allowed_actions
|
76
|
+
begin
|
77
|
+
properties[:_NET_WM_ALLOWED_ACTIONS].value.map {|type|
|
78
|
+
type.to_s[/[^_]*$/].to_sym
|
79
|
+
}
|
80
|
+
rescue
|
81
|
+
WindowManager::Supports.raise :_NET_WM_USER_TIME
|
82
|
+
end
|
83
|
+
end
|
84
|
+
|
85
|
+
def pid
|
86
|
+
begin
|
87
|
+
properties[:_NET_WM_PID].value.first
|
88
|
+
rescue
|
89
|
+
WindowManager::Supports.raise :_NET_WM_PID
|
90
|
+
end
|
91
|
+
end
|
92
|
+
|
93
|
+
def last_action_at
|
94
|
+
begin
|
95
|
+
properties[:_NET_WM_USER_TIME].value.first
|
96
|
+
rescue
|
97
|
+
WindowManager::Supports.raise :_NET_WM_USER_TIME
|
98
|
+
end
|
99
|
+
end
|
100
|
+
end
|
101
|
+
|
102
|
+
end
|
@@ -0,0 +1,73 @@
|
|
1
|
+
#--
|
2
|
+
# Copyleft meh. [http://meh.paranoid.pk | meh@paranoici.org]
|
3
|
+
#
|
4
|
+
# Redistribution and use in source and binary forms, with or without modification, are
|
5
|
+
# permitted provided that the following conditions are met:
|
6
|
+
#
|
7
|
+
# 1. Redistributions of source code must retain the above copyright notice, this list of
|
8
|
+
# conditions and the following disclaimer.
|
9
|
+
#
|
10
|
+
# 2. Redistributions in binary form must reproduce the above copyright notice, this list
|
11
|
+
# of conditions and the following disclaimer in the documentation and/or other materials
|
12
|
+
# provided with the distribution.
|
13
|
+
#
|
14
|
+
# THIS SOFTWARE IS PROVIDED BY meh ''AS IS'' AND ANY EXPRESS OR IMPLIED
|
15
|
+
# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND
|
16
|
+
# FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL meh OR
|
17
|
+
# CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
|
18
|
+
# CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
|
19
|
+
# SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON
|
20
|
+
# ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
|
21
|
+
# NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
|
22
|
+
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
23
|
+
#
|
24
|
+
# The views and conclusions contained in the software and documentation are those of the
|
25
|
+
# authors and should not be interpreted as representing official policies, either expressed
|
26
|
+
# or implied.
|
27
|
+
#++
|
28
|
+
|
29
|
+
require 'X11/window_manager/supports'
|
30
|
+
require 'X11/window_manager/desktops'
|
31
|
+
|
32
|
+
module X11
|
33
|
+
|
34
|
+
class WindowManager
|
35
|
+
extend Forwardable
|
36
|
+
|
37
|
+
attr_reader :display
|
38
|
+
def_delegator :@display, :root_window, :root
|
39
|
+
|
40
|
+
def initialize (display=nil)
|
41
|
+
@display = display || X11::Display.open
|
42
|
+
end
|
43
|
+
|
44
|
+
def name
|
45
|
+
begin
|
46
|
+
root.properties[:_NET_SUPPORTING_WM_CHECK].value.first.properties[:_NET_WM_NAME].value.first
|
47
|
+
rescue
|
48
|
+
Supports.raise '_NET_WM_NAME or _NET_SUPPORTING_WM_CHECK'
|
49
|
+
end
|
50
|
+
end
|
51
|
+
|
52
|
+
def supports
|
53
|
+
Supports.new(self)
|
54
|
+
end
|
55
|
+
|
56
|
+
def desktops
|
57
|
+
Desktops.new(self)
|
58
|
+
end
|
59
|
+
|
60
|
+
def supports? (what)
|
61
|
+
supports.has?(what)
|
62
|
+
end
|
63
|
+
|
64
|
+
def clients
|
65
|
+
begin
|
66
|
+
root.properties[:_NET_CLIENT_LIST].value
|
67
|
+
rescue
|
68
|
+
Supports.raise :_NET_CLIENT_LIST
|
69
|
+
end
|
70
|
+
end
|
71
|
+
end
|
72
|
+
|
73
|
+
end
|
metadata
CHANGED
@@ -1,95 +1,226 @@
|
|
1
|
-
--- !ruby/object:Gem::Specification
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
2
|
name: x11
|
3
|
-
version: !ruby/object:Gem::Version
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 0.0.1a3
|
4
5
|
prerelease: 5
|
5
|
-
version: 0.0.1a2
|
6
6
|
platform: ruby
|
7
|
-
authors:
|
7
|
+
authors:
|
8
8
|
- meh.
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
- !ruby/object:Gem::Dependency
|
12
|
+
date: 2012-01-07 00:00:00.000000000 Z
|
13
|
+
dependencies:
|
14
|
+
- !ruby/object:Gem::Dependency
|
16
15
|
name: ffi
|
16
|
+
requirement: &5474260 !ruby/object:Gem::Requirement
|
17
|
+
none: false
|
18
|
+
requirements:
|
19
|
+
- - ! '>='
|
20
|
+
- !ruby/object:Gem::Version
|
21
|
+
version: '0'
|
22
|
+
type: :runtime
|
17
23
|
prerelease: false
|
18
|
-
|
24
|
+
version_requirements: *5474260
|
25
|
+
- !ruby/object:Gem::Dependency
|
26
|
+
name: versionub
|
27
|
+
requirement: &5472840 !ruby/object:Gem::Requirement
|
19
28
|
none: false
|
20
|
-
requirements:
|
21
|
-
- -
|
22
|
-
- !ruby/object:Gem::Version
|
23
|
-
version:
|
29
|
+
requirements:
|
30
|
+
- - ! '>='
|
31
|
+
- !ruby/object:Gem::Version
|
32
|
+
version: '0'
|
24
33
|
type: :runtime
|
25
|
-
version_requirements: *id001
|
26
|
-
- !ruby/object:Gem::Dependency
|
27
|
-
name: memoized
|
28
34
|
prerelease: false
|
29
|
-
|
35
|
+
version_requirements: *5472840
|
36
|
+
- !ruby/object:Gem::Dependency
|
37
|
+
name: call-me
|
38
|
+
requirement: &5471500 !ruby/object:Gem::Requirement
|
30
39
|
none: false
|
31
|
-
requirements:
|
32
|
-
- -
|
33
|
-
- !ruby/object:Gem::Version
|
34
|
-
version:
|
40
|
+
requirements:
|
41
|
+
- - ! '>='
|
42
|
+
- !ruby/object:Gem::Version
|
43
|
+
version: '0'
|
35
44
|
type: :runtime
|
36
|
-
version_requirements: *id002
|
37
|
-
- !ruby/object:Gem::Dependency
|
38
|
-
name: refining
|
39
45
|
prerelease: false
|
40
|
-
|
46
|
+
version_requirements: *5471500
|
47
|
+
- !ruby/object:Gem::Dependency
|
48
|
+
name: refining
|
49
|
+
requirement: &5469080 !ruby/object:Gem::Requirement
|
41
50
|
none: false
|
42
|
-
requirements:
|
43
|
-
- -
|
44
|
-
- !ruby/object:Gem::Version
|
45
|
-
version:
|
51
|
+
requirements:
|
52
|
+
- - ! '>='
|
53
|
+
- !ruby/object:Gem::Version
|
54
|
+
version: '0'
|
46
55
|
type: :runtime
|
47
|
-
version_requirements: *id003
|
48
|
-
- !ruby/object:Gem::Dependency
|
49
|
-
name: retarded
|
50
56
|
prerelease: false
|
51
|
-
|
57
|
+
version_requirements: *5469080
|
58
|
+
- !ruby/object:Gem::Dependency
|
59
|
+
name: retarded
|
60
|
+
requirement: &5468480 !ruby/object:Gem::Requirement
|
52
61
|
none: false
|
53
|
-
requirements:
|
54
|
-
- -
|
55
|
-
- !ruby/object:Gem::Version
|
56
|
-
version:
|
62
|
+
requirements:
|
63
|
+
- - ! '>='
|
64
|
+
- !ruby/object:Gem::Version
|
65
|
+
version: '0'
|
57
66
|
type: :runtime
|
58
|
-
|
59
|
-
|
67
|
+
prerelease: false
|
68
|
+
version_requirements: *5468480
|
69
|
+
- !ruby/object:Gem::Dependency
|
60
70
|
name: bitmap
|
71
|
+
requirement: &5482880 !ruby/object:Gem::Requirement
|
72
|
+
none: false
|
73
|
+
requirements:
|
74
|
+
- - ! '>='
|
75
|
+
- !ruby/object:Gem::Version
|
76
|
+
version: '0'
|
77
|
+
type: :runtime
|
78
|
+
prerelease: false
|
79
|
+
version_requirements: *5482880
|
80
|
+
- !ruby/object:Gem::Dependency
|
81
|
+
name: with
|
82
|
+
requirement: &5480720 !ruby/object:Gem::Requirement
|
83
|
+
none: false
|
84
|
+
requirements:
|
85
|
+
- - ! '>='
|
86
|
+
- !ruby/object:Gem::Version
|
87
|
+
version: '0'
|
88
|
+
type: :runtime
|
61
89
|
prerelease: false
|
62
|
-
|
90
|
+
version_requirements: *5480720
|
91
|
+
- !ruby/object:Gem::Dependency
|
92
|
+
name: require-extra
|
93
|
+
requirement: &5479760 !ruby/object:Gem::Requirement
|
63
94
|
none: false
|
64
|
-
requirements:
|
65
|
-
- -
|
66
|
-
- !ruby/object:Gem::Version
|
67
|
-
version:
|
95
|
+
requirements:
|
96
|
+
- - ! '>='
|
97
|
+
- !ruby/object:Gem::Version
|
98
|
+
version: '0'
|
68
99
|
type: :runtime
|
69
|
-
|
100
|
+
prerelease: false
|
101
|
+
version_requirements: *5479760
|
102
|
+
- !ruby/object:Gem::Dependency
|
103
|
+
name: ffi-extra
|
104
|
+
requirement: &5478920 !ruby/object:Gem::Requirement
|
105
|
+
none: false
|
106
|
+
requirements:
|
107
|
+
- - ! '>='
|
108
|
+
- !ruby/object:Gem::Version
|
109
|
+
version: '0'
|
110
|
+
type: :runtime
|
111
|
+
prerelease: false
|
112
|
+
version_requirements: *5478920
|
70
113
|
description:
|
71
114
|
email: meh@paranoici.org
|
72
115
|
executables: []
|
73
|
-
|
74
116
|
extensions: []
|
75
|
-
|
76
117
|
extra_rdoc_files: []
|
77
|
-
|
78
|
-
files:
|
118
|
+
files:
|
79
119
|
- lib/X11/Xatom.rb
|
80
120
|
- lib/X11/Xlib.rb
|
121
|
+
- lib/X11/window_manager.rb
|
122
|
+
- lib/X11/window_manager/window_manager.rb
|
123
|
+
- lib/X11/window_manager/desktops.rb
|
124
|
+
- lib/X11/window_manager/window.rb
|
125
|
+
- lib/X11/window_manager/desktops/desktop.rb
|
126
|
+
- lib/X11/window_manager/supports.rb
|
127
|
+
- lib/X11/window_manager/supports/feature.rb
|
128
|
+
- lib/X11/extension.rb
|
129
|
+
- lib/X11/Xregion/c/type/box.rb
|
130
|
+
- lib/X11/Xregion/c/type/region.rb
|
131
|
+
- lib/X11/Xregion/c/type/rectangle.rb
|
132
|
+
- lib/X11/Xregion/c/type/point_block.rb
|
133
|
+
- lib/X11/Xregion/c/types.rb
|
134
|
+
- lib/X11/Xregion/c.rb
|
81
135
|
- lib/X11/keysym.rb
|
136
|
+
- lib/X11/XKBlib.rb
|
82
137
|
- lib/X11/extensions.rb
|
83
138
|
- lib/X11/Xdefs/c.rb
|
84
139
|
- lib/X11/Xmd.rb
|
85
140
|
- lib/X11/cursorfont.rb
|
141
|
+
- lib/X11/extensions/render/c.rb
|
142
|
+
- lib/X11/extensions/xf86vmode.rb
|
143
|
+
- lib/X11/extensions/Xrandr/screen_resources.rb
|
144
|
+
- lib/X11/extensions/Xrandr/screen.rb
|
145
|
+
- lib/X11/extensions/Xrandr/window.rb
|
146
|
+
- lib/X11/extensions/Xrandr/crtc/gamma.rb
|
147
|
+
- lib/X11/extensions/Xrandr/crtc/panning.rb
|
148
|
+
- lib/X11/extensions/Xrandr/crtc/info.rb
|
149
|
+
- lib/X11/extensions/Xrandr/screen/backlight.rb
|
150
|
+
- lib/X11/extensions/Xrandr/c/type/screen_resources.rb
|
151
|
+
- lib/X11/extensions/Xrandr/c/type/crtc_gamma.rb
|
152
|
+
- lib/X11/extensions/Xrandr/c/type/panning.rb
|
153
|
+
- lib/X11/extensions/Xrandr/c/type/screen_size.rb
|
154
|
+
- lib/X11/extensions/Xrandr/c/type/mode_info.rb
|
155
|
+
- lib/X11/extensions/Xrandr/c/type/crtc_info.rb
|
156
|
+
- lib/X11/extensions/Xrandr/c/type/crtc_transform_attributes.rb
|
157
|
+
- lib/X11/extensions/Xrandr/c/type/output_info.rb
|
158
|
+
- lib/X11/extensions/Xrandr/c/type/property_info.rb
|
159
|
+
- lib/X11/extensions/Xrandr/c/types.rb
|
160
|
+
- lib/X11/extensions/Xrandr/c/functions.rb
|
161
|
+
- lib/X11/extensions/Xrandr/crtc.rb
|
162
|
+
- lib/X11/extensions/Xrandr/event.rb
|
163
|
+
- lib/X11/extensions/Xrandr/output.rb
|
164
|
+
- lib/X11/extensions/Xrandr/c.rb
|
165
|
+
- lib/X11/extensions/Xrandr/output/properties/property.rb
|
166
|
+
- lib/X11/extensions/Xrandr/output/properties/property/parser/atom.rb
|
167
|
+
- lib/X11/extensions/Xrandr/output/properties/property/parser/integer.rb
|
168
|
+
- lib/X11/extensions/Xrandr/output/properties/property/info.rb
|
169
|
+
- lib/X11/extensions/Xrandr/output/properties/property/parser.rb
|
170
|
+
- lib/X11/extensions/Xrandr/output/properties.rb
|
171
|
+
- lib/X11/extensions/Xrandr/output/info.rb
|
172
|
+
- lib/X11/extensions/xf86vmode/screen.rb
|
173
|
+
- lib/X11/extensions/xf86vmode/screen/gamma/ramp.rb
|
174
|
+
- lib/X11/extensions/xf86vmode/screen/gamma.rb
|
175
|
+
- lib/X11/extensions/xf86vmode/c/type/gamma.rb
|
176
|
+
- lib/X11/extensions/xf86vmode/c/type/sync_range.rb
|
177
|
+
- lib/X11/extensions/xf86vmode/c/type/mode_line.rb
|
178
|
+
- lib/X11/extensions/xf86vmode/c/type/monitor.rb
|
179
|
+
- lib/X11/extensions/xf86vmode/c/type/mode_info.rb
|
180
|
+
- lib/X11/extensions/xf86vmode/c/types.rb
|
181
|
+
- lib/X11/extensions/xf86vmode/c/functions.rb
|
182
|
+
- lib/X11/extensions/xf86vmode/c.rb
|
183
|
+
- lib/X11/extensions/Xrandr.rb
|
184
|
+
- lib/X11/extensions/render.rb
|
185
|
+
- lib/X11/extensions/randr.rb
|
186
|
+
- lib/X11/extensions/randr/c.rb
|
187
|
+
- lib/X11/extensions/Xrender/mask.rb
|
188
|
+
- lib/X11/extensions/Xrender/c/type/render_direct_format.rb
|
189
|
+
- lib/X11/extensions/Xrender/c/type/index_value.rb
|
190
|
+
- lib/X11/extensions/Xrender/c/type/trapezoid.rb
|
191
|
+
- lib/X11/extensions/Xrender/c/type/anim_cursor.rb
|
192
|
+
- lib/X11/extensions/Xrender/c/type/line_fixed.rb
|
193
|
+
- lib/X11/extensions/Xrender/c/type/transform.rb
|
194
|
+
- lib/X11/extensions/Xrender/c/type/conical_gradient.rb
|
195
|
+
- lib/X11/extensions/Xrender/c/type/point_fixed.rb
|
196
|
+
- lib/X11/extensions/Xrender/c/type/point_double.rb
|
197
|
+
- lib/X11/extensions/Xrender/c/type/span_fix.rb
|
198
|
+
- lib/X11/extensions/Xrender/c/type/render_pict_format.rb
|
199
|
+
- lib/X11/extensions/Xrender/c/type/glyph_info.rb
|
200
|
+
- lib/X11/extensions/Xrender/c/type/trap.rb
|
201
|
+
- lib/X11/extensions/Xrender/c/type/render_picture_attributes.rb
|
202
|
+
- lib/X11/extensions/Xrender/c/type/filters.rb
|
203
|
+
- lib/X11/extensions/Xrender/c/type/glyph_elt16.rb
|
204
|
+
- lib/X11/extensions/Xrender/c/type/triangle.rb
|
205
|
+
- lib/X11/extensions/Xrender/c/type/circle.rb
|
206
|
+
- lib/X11/extensions/Xrender/c/type/linear_gradient.rb
|
207
|
+
- lib/X11/extensions/Xrender/c/type/glyph_elt32.rb
|
208
|
+
- lib/X11/extensions/Xrender/c/type/glyph_elt8.rb
|
209
|
+
- lib/X11/extensions/Xrender/c/type/render_color.rb
|
210
|
+
- lib/X11/extensions/Xrender/c/type/radial_gradient.rb
|
211
|
+
- lib/X11/extensions/Xrender/c/types.rb
|
212
|
+
- lib/X11/extensions/Xrender/c/functions.rb
|
213
|
+
- lib/X11/extensions/Xrender/c.rb
|
214
|
+
- lib/X11/extensions/Xrender.rb
|
86
215
|
- lib/X11/Xutil.rb
|
87
216
|
- lib/X11/Xatom/c.rb
|
88
217
|
- lib/X11/X/c.rb
|
89
218
|
- lib/X11/X.rb
|
90
219
|
- lib/X11/Xutil/window.rb
|
220
|
+
- lib/X11/Xutil/state.rb
|
91
221
|
- lib/X11/Xutil/c/type/text_property.rb
|
92
222
|
- lib/X11/Xutil/c/type/class_hint.rb
|
223
|
+
- lib/X11/Xutil/c/type/region.rb
|
93
224
|
- lib/X11/Xutil/c/types.rb
|
94
225
|
- lib/X11/Xutil/c/functions.rb
|
95
226
|
- lib/X11/Xutil/c.rb
|
@@ -105,6 +236,11 @@ files:
|
|
105
236
|
- lib/X11/Xlib/event/selection_clear.rb
|
106
237
|
- lib/X11/Xlib/event/focus_in.rb
|
107
238
|
- lib/X11/Xlib/event/helper.rb
|
239
|
+
- lib/X11/Xlib/event/generic/crossing.rb
|
240
|
+
- lib/X11/Xlib/event/generic/motion.rb
|
241
|
+
- lib/X11/Xlib/event/generic/key.rb
|
242
|
+
- lib/X11/Xlib/event/generic/focus_change.rb
|
243
|
+
- lib/X11/Xlib/event/generic/button.rb
|
108
244
|
- lib/X11/Xlib/event/graphics_expose.rb
|
109
245
|
- lib/X11/Xlib/event/no_expose.rb
|
110
246
|
- lib/X11/Xlib/event/button_press.rb
|
@@ -112,6 +248,7 @@ files:
|
|
112
248
|
- lib/X11/Xlib/event/map_notify.rb
|
113
249
|
- lib/X11/Xlib/event/unmap_notify.rb
|
114
250
|
- lib/X11/Xlib/event/any.rb
|
251
|
+
- lib/X11/Xlib/event/generic.rb
|
115
252
|
- lib/X11/Xlib/event/key_release.rb
|
116
253
|
- lib/X11/Xlib/event/client_message.rb
|
117
254
|
- lib/X11/Xlib/event/reparent_notify.rb
|
@@ -130,21 +267,29 @@ files:
|
|
130
267
|
- lib/X11/Xlib/event/motion_notify.rb
|
131
268
|
- lib/X11/Xlib/event/keymap_notify.rb
|
132
269
|
- lib/X11/Xlib/event/configure_request.rb
|
270
|
+
- lib/X11/Xlib/display/extensions.rb
|
133
271
|
- lib/X11/Xlib/visual.rb
|
134
272
|
- lib/X11/Xlib/revert_to.rb
|
135
273
|
- lib/X11/Xlib/screen.rb
|
274
|
+
- lib/X11/Xlib/graphic_context/values.rb
|
275
|
+
- lib/X11/Xlib/graphic_context/functions.rb
|
136
276
|
- lib/X11/Xlib/window.rb
|
137
277
|
- lib/X11/Xlib/transform.rb
|
278
|
+
- lib/X11/Xlib/drawable.rb
|
279
|
+
- lib/X11/Xlib/planes.rb
|
138
280
|
- lib/X11/Xlib/keysym.rb
|
139
281
|
- lib/X11/Xlib/exceptions.rb
|
282
|
+
- lib/X11/Xlib/id.rb
|
140
283
|
- lib/X11/Xlib/status.rb
|
141
284
|
- lib/X11/Xlib/window/properties/property.rb
|
142
285
|
- lib/X11/Xlib/window/properties/property/parser/atom.rb
|
286
|
+
- lib/X11/Xlib/window/properties/property/parser/window.rb
|
287
|
+
- lib/X11/Xlib/window/properties/property/parser/state.rb
|
143
288
|
- lib/X11/Xlib/window/properties/property/parser/cardinal.rb
|
144
289
|
- lib/X11/Xlib/window/properties/property/parser/arc.rb
|
290
|
+
- lib/X11/Xlib/window/properties/property/parser/integer.rb
|
291
|
+
- lib/X11/Xlib/window/properties/property/parser/string.rb
|
145
292
|
- lib/X11/Xlib/window/properties/property/parser/hints.rb
|
146
|
-
- lib/X11/Xlib/window/properties/property/class.rb
|
147
|
-
- lib/X11/Xlib/window/properties/property/command.rb
|
148
293
|
- lib/X11/Xlib/window/properties/property/net_virtual_root.rb
|
149
294
|
- lib/X11/Xlib/window/properties/property/parser.rb
|
150
295
|
- lib/X11/Xlib/window/properties.rb
|
@@ -152,6 +297,7 @@ files:
|
|
152
297
|
- lib/X11/Xlib/hints/flags.rb
|
153
298
|
- lib/X11/Xlib/hints/icon.rb
|
154
299
|
- lib/X11/Xlib/mask.rb
|
300
|
+
- lib/X11/Xlib/error.rb
|
155
301
|
- lib/X11/Xlib/c/type/map_event.rb
|
156
302
|
- lib/X11/Xlib/c/type/visual.rb
|
157
303
|
- lib/X11/Xlib/c/type/focus_change_event.rb
|
@@ -172,6 +318,7 @@ files:
|
|
172
318
|
- lib/X11/Xlib/c/type/no_expose_event.rb
|
173
319
|
- lib/X11/Xlib/c/type/error_event.rb
|
174
320
|
- lib/X11/Xlib/c/type/gravity_event.rb
|
321
|
+
- lib/X11/Xlib/c/type/gc_values.rb
|
175
322
|
- lib/X11/Xlib/c/type/selection_request_event.rb
|
176
323
|
- lib/X11/Xlib/c/type/motion_event.rb
|
177
324
|
- lib/X11/Xlib/c/type/create_window_event.rb
|
@@ -181,6 +328,7 @@ files:
|
|
181
328
|
- lib/X11/Xlib/c/type/graphics_expose_event.rb
|
182
329
|
- lib/X11/Xlib/c/type/configure_request_event.rb
|
183
330
|
- lib/X11/Xlib/c/type/selection_event.rb
|
331
|
+
- lib/X11/Xlib/c/type/point.rb
|
184
332
|
- lib/X11/Xlib/c/type/client_message_event.rb
|
185
333
|
- lib/X11/Xlib/c/type/keymap_event.rb
|
186
334
|
- lib/X11/Xlib/c/type/resize_request_event.rb
|
@@ -191,47 +339,49 @@ files:
|
|
191
339
|
- lib/X11/Xlib/c/type/generic_event_cookie.rb
|
192
340
|
- lib/X11/Xlib/c/type/property_event.rb
|
193
341
|
- lib/X11/Xlib/c/type/reparent_event.rb
|
342
|
+
- lib/X11/Xlib/c/type/image.rb
|
194
343
|
- lib/X11/Xlib/c/type/unmap_event.rb
|
195
344
|
- lib/X11/Xlib/c/type/display.rb
|
196
345
|
- lib/X11/Xlib/c/types.rb
|
197
346
|
- lib/X11/Xlib/c/functions.rb
|
198
347
|
- lib/X11/Xlib/event.rb
|
348
|
+
- lib/X11/Xlib/graphic_context.rb
|
199
349
|
- lib/X11/Xlib/events.rb
|
200
350
|
- lib/X11/Xlib/hints.rb
|
201
351
|
- lib/X11/Xlib/c.rb
|
352
|
+
- lib/X11/Xlib/image.rb
|
202
353
|
- lib/X11/Xlib/display.rb
|
354
|
+
- lib/X11/Xlib/pixmap.rb
|
355
|
+
- lib/X11/misc/temperature.rb
|
203
356
|
- lib/X11/simple/window.rb
|
204
357
|
- lib/X11/simple/display.rb
|
205
358
|
- lib/X11/cursorfont/font.rb
|
206
359
|
- lib/X11/cursorfont/c.rb
|
207
360
|
- lib/X11/Xdefs.rb
|
208
361
|
- lib/X11/simple.rb
|
362
|
+
- lib/X11/Xregion.rb
|
209
363
|
homepage: http://github.com/meh/ruby-x11
|
210
364
|
licenses: []
|
211
|
-
|
212
365
|
post_install_message:
|
213
366
|
rdoc_options: []
|
214
|
-
|
215
|
-
require_paths:
|
367
|
+
require_paths:
|
216
368
|
- lib
|
217
|
-
required_ruby_version: !ruby/object:Gem::Requirement
|
369
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
218
370
|
none: false
|
219
|
-
requirements:
|
220
|
-
- -
|
221
|
-
- !ruby/object:Gem::Version
|
222
|
-
version:
|
223
|
-
required_rubygems_version: !ruby/object:Gem::Requirement
|
371
|
+
requirements:
|
372
|
+
- - ! '>='
|
373
|
+
- !ruby/object:Gem::Version
|
374
|
+
version: '0'
|
375
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
224
376
|
none: false
|
225
|
-
requirements:
|
226
|
-
- -
|
227
|
-
- !ruby/object:Gem::Version
|
377
|
+
requirements:
|
378
|
+
- - ! '>'
|
379
|
+
- !ruby/object:Gem::Version
|
228
380
|
version: 1.3.1
|
229
381
|
requirements: []
|
230
|
-
|
231
382
|
rubyforge_project:
|
232
|
-
rubygems_version: 1.8.
|
383
|
+
rubygems_version: 1.8.10
|
233
384
|
signing_key:
|
234
385
|
specification_version: 3
|
235
386
|
summary: Bindings for X11
|
236
387
|
test_files: []
|
237
|
-
|