diff options
author | Alan Coopersmith <alan.coopersmith@sun.com> | 2009-09-29 10:28:17 -0700 |
---|---|---|
committer | Alan Coopersmith <alan.coopersmith@sun.com> | 2009-09-29 10:28:17 -0700 |
commit | b287c1b1670bec76dec2856a52354be9087fca7c (patch) | |
tree | b398d052275055a27a73b5761afd59035c2611ce /server.c | |
parent | d3e165bc8f24b9fe0f6f8330cb55eed3f30e51ce (diff) | |
download | xscope-b287c1b1670bec76dec2856a52354be9087fca7c.tar.gz |
Add support for setting breakpoints on extension requests
Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com>
Diffstat (limited to 'server.c')
-rw-r--r-- | server.c | 7 |
1 files changed, 6 insertions, 1 deletions
@@ -777,5 +777,10 @@ long GetXRequestFromName ( const char *name) { - return GetEValue (REQUEST, name); + long req = GetEValue (REQUEST, name); + + if (req < 0) + req = GetEValue (EXTENSION, name); + + return req; } |