Support for symbols instead of constants is now handled directly in the type classes, so has been addressed.

This commit is contained in:
Vidar Hokstad 2023-12-28 17:18:27 +00:00
parent 1e241f35c9
commit d7029c2441

View file

@ -65,13 +65,6 @@ module X11
if value.is_a?(BaseForm)
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
#p [s,value]
v = s.type_klass.pack(value)