client_hasproto(): Use cached WM_PROTOCOLS
commit290cd49463eb81d42070bc3845a3dc84b004b967
authorUli Schlachter <psychon@znc.in>
Wed, 24 Jun 2009 16:17:31 +0000 (24 18:17 +0200)
committerJulien Danjou <julien@danjou.info>
Thu, 25 Jun 2009 12:58:56 +0000 (25 14:58 +0200)
treebd959480445ba65015fdeec7255a461d329fe184
parent28b80648a84fdd10a8315b608336cb4293cf8ae7
client_hasproto(): Use cached WM_PROTOCOLS

client_hasproto() now doesn't have to query the X server anymore.

This fixes FS#543.

Signed-off-by: Uli Schlachter <psychon@znc.in>
Signed-off-by: Julien Danjou <julien@danjou.info>
client.c