x11 0.0.1a1 → 0.0.1a2

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.
Files changed (52) hide show
  1. data/lib/X11/X.rb +3 -0
  2. data/lib/X11/X/c.rb +16 -15
  3. data/lib/X11/Xatom.rb +167 -0
  4. data/lib/X11/Xatom/c.rb +52 -0
  5. data/lib/X11/Xdefs/c.rb +10 -6
  6. data/lib/X11/Xlib.rb +6 -0
  7. data/lib/X11/Xlib/c/functions.rb +15 -0
  8. data/lib/X11/Xlib/c/type/key_sym.rb +47 -0
  9. data/lib/X11/Xlib/c/type/status.rb +47 -0
  10. data/lib/X11/Xlib/c/types.rb +2 -0
  11. data/lib/X11/Xlib/display.rb +128 -28
  12. data/lib/X11/Xlib/event.rb +15 -0
  13. data/lib/X11/Xlib/event/generic_event.rb +1 -1
  14. data/lib/X11/Xlib/event/helper.rb +19 -13
  15. data/lib/X11/Xlib/exceptions.rb +37 -0
  16. data/lib/X11/Xlib/hints.rb +49 -0
  17. data/lib/X11/Xlib/hints/flags.rb +42 -0
  18. data/lib/X11/Xlib/hints/icon.rb +44 -0
  19. data/lib/X11/Xlib/keysym.rb +53 -0
  20. data/lib/X11/Xlib/mask.rb +52 -40
  21. data/lib/X11/Xlib/revert_to.rb +37 -0
  22. data/lib/X11/Xlib/screen.rb +12 -1
  23. data/lib/X11/Xlib/status.rb +93 -0
  24. data/lib/X11/Xlib/transform.rb +58 -0
  25. data/lib/X11/Xlib/window.rb +164 -51
  26. data/lib/X11/Xlib/window/properties.rb +66 -0
  27. data/lib/X11/Xlib/window/properties/property.rb +98 -0
  28. data/lib/X11/Xlib/window/properties/property/class.rb +37 -0
  29. data/lib/X11/Xlib/window/properties/property/command.rb +37 -0
  30. data/lib/X11/Xlib/window/properties/property/net_virtual_root.rb +39 -0
  31. data/lib/X11/Xlib/window/properties/property/parser.rb +69 -0
  32. data/lib/X11/Xlib/window/properties/property/parser/arc.rb +41 -0
  33. data/lib/X11/Xlib/window/properties/property/parser/atom.rb +35 -0
  34. data/lib/X11/Xlib/window/properties/property/parser/cardinal.rb +34 -0
  35. data/lib/X11/Xlib/window/properties/property/parser/hints.rb +41 -0
  36. data/lib/X11/Xmd/c.rb +14 -12
  37. data/lib/X11/Xutil.rb +41 -0
  38. data/lib/X11/Xutil/c.rb +33 -0
  39. data/lib/X11/Xutil/c/functions.rb +37 -0
  40. data/lib/X11/Xutil/c/type/class_hint.rb +33 -0
  41. data/lib/X11/Xutil/c/type/text_property.rb +35 -0
  42. data/lib/X11/Xutil/c/types.rb +30 -0
  43. data/lib/X11/Xutil/window.rb +61 -0
  44. data/lib/X11/cursorfont.rb +31 -0
  45. data/lib/X11/cursorfont/c.rb +41 -0
  46. data/lib/X11/cursorfont/font.rb +147 -0
  47. data/lib/X11/extensions.rb +81 -16
  48. data/lib/X11/keysym.rb +47 -0
  49. data/lib/X11/simple.rb +33 -0
  50. data/lib/X11/simple/display.rb +64 -0
  51. data/lib/X11/simple/window.rb +45 -0
  52. metadata +63 -5
@@ -17,14 +17,63 @@
17
17
  # along with sysctl. If not, see <http://www.gnu.org/licenses/>.
18
18
  #++
19
19
 
20
- require 'ffi'
20
+ require 'ffi' unless defined?(RUBY_ENGINE) && RUBY_ENGINE == 'rbx'
21
21
  require 'memoized'
22
22
  require 'refining'
23
+ require 'retarded'
24
+ require 'bitmap'
25
+ require 'forwardable'
26
+ require 'ostruct'
27
+
28
+ module Kernel
29
+ def with (*args)
30
+ yield *args
31
+ end
32
+
33
+ def suppress_warnings
34
+ exception = nil
35
+ tmp, $VERBOSE = $VERBOSE, nil
36
+
37
+ begin
38
+ result = yield
39
+ rescue Exception => e
40
+ exception = e
41
+ end
42
+
43
+ $VERBOSE = tmp
44
+
45
+ if exception
46
+ raise exception
47
+ else
48
+ result
49
+ end
50
+ end
51
+ end
23
52
 
24
53
  module FFI
54
+ def self.type_size (type)
55
+ type = FFI.find_type(type) if type.is_a?(Symbol)
56
+
57
+ if type.is_a?(Class) && (type.ancestors.member?(FFI::Struct) && !type.is_a?(FFI::ManagedStruct)) || type.is_a?(Type::Builtin)
58
+ type.size
59
+ elsif type.respond_to? :from_native
60
+ type.native_type.size
61
+ else
62
+ raise ArgumentError, 'you have to pass a Struct, a Builtin type or a Symbol'
63
+ end
64
+ end
65
+
25
66
  module Library
26
67
  def ffi_lib_add (*names)
27
- ffi_lib *((begin; ffi_libraries; rescue Exception; []; end).map { |lib| lib.name } + names).compact.uniq
68
+ ffi_lib *((begin
69
+ ffi_libraries
70
+ rescue Exception
71
+ []
72
+ end).map {|lib|
73
+ lib.name
74
+ } + names).compact.uniq.reject {|lib|
75
+ lib == '[current process]'
76
+ }
28
77
  end
29
78
 
30
79
  def has_function? (sym, libraries=nil)
@@ -49,35 +98,51 @@ module FFI
49
98
  end
50
99
 
51
100
  class Type::Builtin
52
- memoize
53
101
  def name
54
- Type::Builtin.constants.find {|name|
55
- Type::Builtin.const_get(name) == self
56
- }
102
+ inspect[/:(\w+) /][1 .. -2]
57
103
  end
58
104
  end
59
105
 
60
106
  class Pointer
61
107
  def typecast (type)
62
- if type.is_a?(Symbol)
63
- type = FFI.find_type(type)
64
- end
108
+ type = FFI.find_type(type) if type.is_a?(Symbol)
65
109
 
66
- if type.is_a?(Class) && type.ancestors.member?(FFI::Struct)
110
+ if type.is_a?(Class) && type.ancestors.member?(FFI::Struct) && !type.is_a?(FFI::ManagedStruct)
67
111
  type.new(self)
68
112
  elsif type.is_a?(Type::Builtin)
69
- if type.name == :STRING
70
- read_string
71
- else
72
- send "read_#{type.name.downcase}"
73
- end
113
+ send "read_#{type.name.downcase}"
114
+ elsif type.respond_to? :from_native
115
+ type.from_native(typecast(type.native_type), nil)
74
116
  else
75
- ArgumentError.new 'You have to pass a Struct, a Builtin type or a Symbol'
117
+ raise ArgumentError, 'you have to pass a Struct, a Builtin type or a Symbol'
76
118
  end
77
119
  end
120
+
121
+ def read_array_of (type, number)
122
+ type = FFI.find_type(type) if type.is_a?(Symbol)
123
+ type = type.native_type if type.respond_to? :native_type
124
+
125
+ send "read_array_of_#{type.name.downcase}", number
126
+ end
78
127
  end
79
128
 
80
129
  find_type(:size_t) rescue typedef(:ulong, :size_t)
81
130
  end
82
131
 
132
+ class Integer
133
+ def to_ffi
134
+ self
135
+ end
136
+ end
137
+
138
+ class String
139
+ def to_ffi
140
+ self
141
+ end
142
+ end
143
+
144
+ class Bitmap::Value
145
+ alias to_ffi to_i
146
+ end
147
+
83
148
  module X11; module C; extend FFI::Library; end; end
@@ -0,0 +1,47 @@
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 <COPYRIGHT HOLDER> ''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 <COPYRIGHT HOLDER> 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/Xlib'
30
+
31
+ module X11
32
+
33
+ class Keysym
34
+ def self.const_missing (name)
35
+ C::XStringToKeysym(name.to_s)
36
+ end
37
+
38
+ def self.method_missing (name, *)
39
+ C::XStringToKeysym(name.to_s)
40
+ end
41
+
42
+ def self.[] (what)
43
+ what.is_a?(Integer) ? Keysym.new(what) : self.method_missing(what)
44
+ end
45
+ end
46
+
47
+ end
@@ -0,0 +1,33 @@
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 <COPYRIGHT HOLDER> ''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 <COPYRIGHT HOLDER> 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/Xlib'
30
+ require 'X11/Xutil'
31
+ require 'X11/cursorfont'
32
+
33
+ require 'X11/simple/display'
@@ -0,0 +1,64 @@
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 <COPYRIGHT HOLDER> ''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 <COPYRIGHT HOLDER> 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 Display
32
+ def select_window (frame=false)
33
+ return unless grab_pointer(false, Mask::Event[:ButtonPress, :ButtonRelease], :sync, :async, root_window, Cursor::Font.new(self, :crosshair))
34
+
35
+ target = nil
36
+ buttons = 0
37
+
38
+ while target.nil? || !buttons.zero?
39
+ allow_events Event::Mode::SyncPointer
40
+
41
+ case (event = root_window.next_event Mask::Event[:ButtonPress, :ButtonRelease])
42
+ when Event::ButtonPress
43
+ if target.nil?
44
+ target = event.subwindow
45
+
46
+ if target.nil?
47
+ target = root_window
48
+ end
49
+ end
50
+
51
+ buttons += 1
52
+
53
+ when Event::ButtonRelease
54
+ buttons -= 1 if buttons > 0
55
+ end
56
+ end
57
+
58
+ ungrab_pointer
59
+
60
+ frame ? target : target.client
61
+ end
62
+ end
63
+
64
+ end
@@ -0,0 +1,45 @@
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 <COPYRIGHT HOLDER> ''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 <COPYRIGHT HOLDER> 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
32
+ def client
33
+ win = properties[:_NET_VIRTUAL_ROOTS].any? {|vroot|
34
+ next unless self == vroot
35
+
36
+ unless (tmp = self.pointer_on?).nil?
37
+ break tmp
38
+ else
39
+ return self
40
+ end
41
+ } or self
42
+ end
43
+ end
44
+
45
+ end
metadata CHANGED
@@ -2,7 +2,7 @@
2
2
  name: x11
3
3
  version: !ruby/object:Gem::Version
4
4
  prerelease: 5
5
- version: 0.0.1a1
5
+ version: 0.0.1a2
6
6
  platform: ruby
7
7
  authors:
8
8
  - meh.
@@ -10,10 +10,10 @@ autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
12
 
13
- date: 2011-08-02 00:00:00 Z
13
+ date: 2011-08-09 00:00:00 Z
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
16
- name: memoized
16
+ name: ffi
17
17
  prerelease: false
18
18
  requirement: &id001 !ruby/object:Gem::Requirement
19
19
  none: false
@@ -24,7 +24,7 @@ dependencies:
24
24
  type: :runtime
25
25
  version_requirements: *id001
26
26
  - !ruby/object:Gem::Dependency
27
- name: refining
27
+ name: memoized
28
28
  prerelease: false
29
29
  requirement: &id002 !ruby/object:Gem::Requirement
30
30
  none: false
@@ -35,7 +35,7 @@ dependencies:
35
35
  type: :runtime
36
36
  version_requirements: *id002
37
37
  - !ruby/object:Gem::Dependency
38
- name: ffi
38
+ name: refining
39
39
  prerelease: false
40
40
  requirement: &id003 !ruby/object:Gem::Requirement
41
41
  none: false
@@ -45,6 +45,28 @@ dependencies:
45
45
  version: "0"
46
46
  type: :runtime
47
47
  version_requirements: *id003
48
+ - !ruby/object:Gem::Dependency
49
+ name: retarded
50
+ prerelease: false
51
+ requirement: &id004 !ruby/object:Gem::Requirement
52
+ none: false
53
+ requirements:
54
+ - - ">="
55
+ - !ruby/object:Gem::Version
56
+ version: "0"
57
+ type: :runtime
58
+ version_requirements: *id004
59
+ - !ruby/object:Gem::Dependency
60
+ name: bitmap
61
+ prerelease: false
62
+ requirement: &id005 !ruby/object:Gem::Requirement
63
+ none: false
64
+ requirements:
65
+ - - ">="
66
+ - !ruby/object:Gem::Version
67
+ version: "0"
68
+ type: :runtime
69
+ version_requirements: *id005
48
70
  description:
49
71
  email: meh@paranoici.org
50
72
  executables: []
@@ -54,12 +76,23 @@ extensions: []
54
76
  extra_rdoc_files: []
55
77
 
56
78
  files:
79
+ - lib/X11/Xatom.rb
57
80
  - lib/X11/Xlib.rb
81
+ - lib/X11/keysym.rb
58
82
  - lib/X11/extensions.rb
59
83
  - lib/X11/Xdefs/c.rb
60
84
  - lib/X11/Xmd.rb
85
+ - lib/X11/cursorfont.rb
86
+ - lib/X11/Xutil.rb
87
+ - lib/X11/Xatom/c.rb
61
88
  - lib/X11/X/c.rb
62
89
  - lib/X11/X.rb
90
+ - lib/X11/Xutil/window.rb
91
+ - lib/X11/Xutil/c/type/text_property.rb
92
+ - lib/X11/Xutil/c/type/class_hint.rb
93
+ - lib/X11/Xutil/c/types.rb
94
+ - lib/X11/Xutil/c/functions.rb
95
+ - lib/X11/Xutil/c.rb
63
96
  - lib/X11/Xmd/c.rb
64
97
  - lib/X11/Xlib/event/visibility_notify.rb
65
98
  - lib/X11/Xlib/event/create_notify.rb
@@ -98,9 +131,26 @@ files:
98
131
  - lib/X11/Xlib/event/keymap_notify.rb
99
132
  - lib/X11/Xlib/event/configure_request.rb
100
133
  - lib/X11/Xlib/visual.rb
134
+ - lib/X11/Xlib/revert_to.rb
101
135
  - lib/X11/Xlib/screen.rb
102
136
  - lib/X11/Xlib/window.rb
137
+ - lib/X11/Xlib/transform.rb
138
+ - lib/X11/Xlib/keysym.rb
139
+ - lib/X11/Xlib/exceptions.rb
140
+ - lib/X11/Xlib/status.rb
141
+ - lib/X11/Xlib/window/properties/property.rb
142
+ - lib/X11/Xlib/window/properties/property/parser/atom.rb
143
+ - lib/X11/Xlib/window/properties/property/parser/cardinal.rb
144
+ - lib/X11/Xlib/window/properties/property/parser/arc.rb
145
+ - 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
+ - lib/X11/Xlib/window/properties/property/net_virtual_root.rb
149
+ - lib/X11/Xlib/window/properties/property/parser.rb
150
+ - lib/X11/Xlib/window/properties.rb
103
151
  - lib/X11/Xlib/window/attributes.rb
152
+ - lib/X11/Xlib/hints/flags.rb
153
+ - lib/X11/Xlib/hints/icon.rb
104
154
  - lib/X11/Xlib/mask.rb
105
155
  - lib/X11/Xlib/c/type/map_event.rb
106
156
  - lib/X11/Xlib/c/type/visual.rb
@@ -116,6 +166,7 @@ files:
116
166
  - lib/X11/Xlib/c/type/window_attributes.rb
117
167
  - lib/X11/Xlib/c/type/button_event.rb
118
168
  - lib/X11/Xlib/c/type/key_event.rb
169
+ - lib/X11/Xlib/c/type/status.rb
119
170
  - lib/X11/Xlib/c/type/mapping_event.rb
120
171
  - lib/X11/Xlib/c/type/circulate_request_event.rb
121
172
  - lib/X11/Xlib/c/type/no_expose_event.rb
@@ -125,6 +176,7 @@ files:
125
176
  - lib/X11/Xlib/c/type/motion_event.rb
126
177
  - lib/X11/Xlib/c/type/create_window_event.rb
127
178
  - lib/X11/Xlib/c/type/configure_event.rb
179
+ - lib/X11/Xlib/c/type/key_sym.rb
128
180
  - lib/X11/Xlib/c/type/any_event.rb
129
181
  - lib/X11/Xlib/c/type/graphics_expose_event.rb
130
182
  - lib/X11/Xlib/c/type/configure_request_event.rb
@@ -145,9 +197,15 @@ files:
145
197
  - lib/X11/Xlib/c/functions.rb
146
198
  - lib/X11/Xlib/event.rb
147
199
  - lib/X11/Xlib/events.rb
200
+ - lib/X11/Xlib/hints.rb
148
201
  - lib/X11/Xlib/c.rb
149
202
  - lib/X11/Xlib/display.rb
203
+ - lib/X11/simple/window.rb
204
+ - lib/X11/simple/display.rb
205
+ - lib/X11/cursorfont/font.rb
206
+ - lib/X11/cursorfont/c.rb
150
207
  - lib/X11/Xdefs.rb
208
+ - lib/X11/simple.rb
151
209
  homepage: http://github.com/meh/ruby-x11
152
210
  licenses: []
153
211