Bug 282 - Shape Extension spec lists incorrect opcodes
Summary: Shape Extension spec lists incorrect opcodes
Alias: None
Product: XStandards
Classification: Unclassified
Component: Shape (show other bugs)
Version: X11R6.6
Hardware: All All
: high normal
Assignee: Alan Coopersmith
QA Contact:
Depends on:
Reported: 2004-03-07 13:18 UTC by Alan Coopersmith
Modified: 2004-03-14 23:55 UTC (History)
0 users

See Also:
i915 platform:
i915 features:

Proposed fix to shape spec (2.38 KB, patch)
2004-03-08 17:11 UTC, Alan Coopersmith
Details | Splinter Review

Note You need to log in before you can comment on or make changes to this bug.
Description Alan Coopersmith 2004-03-07 13:18:47 UTC
The encoding section of the Shape Extension spec (xc/doc/specs/Xext/shape.ms)
incorrectly specifies the opcodes for the requests ShapeRequestInput and

ShapeRequestInput is shown as having the same opcode (6) as ShapeSelectInput.
It should really be 7, and that ShapeGetRectangles should have the opcode 8.
The correct values are shown in xc/include/extensions/shape.h .

(Originally reported to old X.org bug report address by Peter Liljenberg
 in March 2002 and filed as X.org defect #9453.)
Comment 1 Alan Coopersmith 2004-03-07 13:21:10 UTC
Whoops - copy and paste error - the above should actually say
"ShapeInputSelected" where it has "ShapeRequestInput"
Comment 2 Alan Coopersmith 2004-03-08 17:11:56 UTC
Created attachment 135 [details] [review]
Proposed fix to shape spec
Comment 3 Alan Coopersmith 2004-03-08 17:19:01 UTC
Sent proposed diffs to X.org Arch task force.
Comment 4 Keith Packard 2004-03-08 19:16:58 UTC
Looks fine to me except for the addition of the XdotOrg CVS tag.  I think you
need to add a ':' or CVS will not substitute ($XdotOrg:$)?
Comment 5 Alan Coopersmith 2004-03-15 18:55:11 UTC
The freedesktop.org CVS doesn't seem to require the : - it expands $Xdotorg$ 
without it.

The X.org architecture task force approved this as a trivial revision not 
requiring public review since this is what everyone assumed the spec said
for the last 15 years.

Committed to XORG-RELEASE-1 branch:

Log message:
   40. Update SHAPE extension protocol spec to version 1.0.1, fixing
       freedesktop.org bugzilla #282 (old X.org defect #9453) (Alan Coopersmith)

Modified files:
      ./:	Tag: XORG-RELEASE-1
      xc/doc/man/general/:	Tag: XORG-RELEASE-1
      xc/doc/specs/Xext/:	Tag: XORG-RELEASE-1
      xc/doc/hardcopy/Xext/:	Tag: XORG-RELEASE-1
  Revision      Changes    Path      +3 -1      xc/Attic/CHANGELOG-RELEASE-1      +2 -1      xc/doc/man/general/Standards.man      +16 -8     xc/doc/specs/Xext/shape.ms      +55 -64    xc/doc/hardcopy/Xext/shape.PS.gz

and to XORG-CURRENT branch:

Log message:
    25.  Update SHAPE extension protocol spec to version 1.0.1, fixing
         freedesktop.org bugzilla #282 (old X.org defect #9453)(Alan Coopersmith)

Modified files:
      xc/doc/man/general/:	Tag: XORG-CURRENT
      xc/doc/specs/Xext/:	Tag: XORG-CURRENT
      xc/doc/hardcopy/Xext/:	Tag: XORG-CURRENT
  Revision      Changes    Path       +2 -1      xc/doc/man/general/Standards.man       +16 -8     xc/doc/specs/Xext/shape.ms       +55 -64    xc/doc/hardcopy/Xext/shape.PS.gz

bug/show.html.tmpl processed on Mar 30, 2017 at 14:29:14.
(provided by the Example extension).