]> Sergey Matveev's repositories - st.git/commit
Call XdbeQueryExtension before of calling any Xdbe function
authorRoberto E. Vargas Caballero <k0ga@shike2.com>
Sun, 16 Sep 2012 08:45:36 +0000 (10:45 +0200)
committerRoberto E. Vargas Caballero <k0ga@shike2.com>
Sun, 16 Sep 2012 08:45:36 +0000 (10:45 +0200)
commit6b42002e1aa1343f445748dfb1678332fe64df5a
tree090a001bd194e92f625005a9ea854358ff77085e
parentdccba949b5aa3a61b48faa63a6d3fe563548e247
Call XdbeQueryExtension before of calling any Xdbe function
XdbeQueryExtension() tells to the caller if the Xdbe extension is present in
the X server, so it should be called for sanity. But like is said in
XdbeQueryExtension(3):

No other Xdbe functions may be called before this function.  If a
client violates this rule, the effects of all subsequent Xdbe calls
that it makes are undefined.

it is mandatory call this function.
---
 st.c |    5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)
st.c