mirror of
https://github.com/vidarh/ruby-x11
synced 2024-12-26 09:59:02 +01:00
Support for symbols instead of constants is now handled directly in the type classes, so has been addressed.
This commit is contained in:
parent
1e241f35c9
commit
d7029c2441
1 changed files with 0 additions and 7 deletions
|
@ -65,13 +65,6 @@ module X11
|
||||||
|
|
||||||
if value.is_a?(BaseForm)
|
if value.is_a?(BaseForm)
|
||||||
v = value.to_packet
|
v = value.to_packet
|
||||||
elsif value.is_a?(Symbol)
|
|
||||||
#if !@atoms[value]
|
|
||||||
# reply = write_sync(X11::Forms::InternAtom.new(false, value.to_s), X11::Forms::InternAtomReply)
|
|
||||||
# @
|
|
||||||
#end
|
|
||||||
#value = @atoms[value]
|
|
||||||
raise "FIXME"
|
|
||||||
else
|
else
|
||||||
#p [s,value]
|
#p [s,value]
|
||||||
v = s.type_klass.pack(value)
|
v = s.type_klass.pack(value)
|
||||||
|
|
Loading…
Reference in a new issue