Skip to content
Snippets Groups Projects
Commit 3536938b authored by Niels Möller's avatar Niels Möller
Browse files

* Extensions.pmod (init): blocking_request returns an array.

Rev: lib/modules/Protocols.pmod/X.pmod/Extensions.pmod:1.2
parent a31907db
No related branches found
No related tags found
No related merge requests found
......@@ -9,9 +9,13 @@ static class extension
int init(object d)
{
dpy = d;
mapping reply =
array a =
d->blocking_request( Requests.QueryExtension( this_object()->name ) );
if(!reply) return 0;
if(!a[0]) return 0;
mapping reply = a[1];
major = reply->major;
error = reply->error;
event = reply->event;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment