[xorg-bugzilla-noise] [Bug 378] New: man pages for XSelectInput and XMapWindow should document ordering issue

bugzilla-daemon at pdx.freedesktop.org bugzilla-daemon at pdx.freedesktop.org
Fri Mar 26 22:40:44 PST 2004


http://pdx.freedesktop.org/cgi-bin/bugzilla/show_bug.cgi?id=378

           Summary: man pages for XSelectInput and XMapWindow should
                    document ordering issue
           Product: xorg
           Version: unspecified
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: minor
          Priority: P4
         Component: xlib
        AssignedTo: xorg-bugzilla-noise at freedesktop.org
        ReportedBy: alan.coopersmith at sun.com


The man pages for XSelectInput and XMapWindow should indicate that XSelectInput
should be called before XMapWindow, to avoid losing Expose events. See O'Reilly,
for example, in volume 2 man page for XMapWindow:

	"The client should call XSelectInput() for exposure events, then map,
	 then process input events.  The client's normal response to an Expose
	 event should be to repaint the window.  If you fail to wait for the
	 Expose event before drawing, the drawing may not appear in the window."

[Originally reported to Sun as Sun bug id #4333109.]



------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.



More information about the xorg-bugzilla-noise mailing list