May this be related to i3wm and/or gtk/glib? I compiled geany from source and use icewm and it works very well. I do remember having seen the above error elsewhere though. I have the same gtk3 version as you have, also glib 2.54.3, same version of geany too. Guess one of the geany devs may know which part receives these xorg-handlers.