X11 is only used by GTK, Geany itself does not use X, so either its a problem with your version of GTK or version of X11.
What is the actual version of LM?
It seems unusual to find a Geany 1.36 on GTK2, most distros provide Geany on GTK3 these days, did you build it yourself?
If so can you try a GTK3 build.