From d7029c24410b524feedd724250d571a6d16cd055 Mon Sep 17 00:00:00 2001 From: Vidar Hokstad Date: Thu, 28 Dec 2023 17:18:27 +0000 Subject: [PATCH] Support for symbols instead of constants is now handled directly in the type classes, so has been addressed. --- lib/X11/form.rb | 7 ------- 1 file changed, 7 deletions(-) diff --git a/lib/X11/form.rb b/lib/X11/form.rb index 0753908..572d338 100644 --- a/lib/X11/form.rb +++ b/lib/X11/form.rb @@ -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)