Skip to content
Tcl Source Code View Ticket
Login

View Ticket

2001-09-08
06:03 • Ticket [219135ffff] Tcl library function Tcl_DoOneEvent fails if called w/o TCL_... artifact: 1f98779c0e user: andreas_kupries
2001-02-07
22:31 • Ticket [219135ffff]: 1 change artifact: 063e229509 user: dkf
2000-10-26
05:02 • New ticket [219135ffff]. artifact: 4dad4ccb28 user: nobody

Tcl library function Tcl_DoOneEvent fails if called w/o TCL_

Deleted219135ffffffffffffffffffffffffffffffffffCreated 26 years agoUpdated 25 years ago
Descriptionplain2000-10-26 05:02:11
OriginalBugID: 556 Bug
Version: 8.1a2
SubmitDate: '1998-03-31'
LastModified: '1999-10-21'
Severity: MED
Status: Assigned
Submitter: hershey
ChangedBy: hobbs
OS: All Unix
OSVersion: NA
Machine: NA
FixedDate: '2000-10-25'
FixedInVersion: NA
ClosedDate: '2000-10-25'


Merijn de Jonge <[email protected]> writes:


> Hi,
> 
> When Tcl_DoOneEvent is called without the TCL_FILE_EVENTS
> flag specified, no x events are processed. I think the
> problem is located in the function TkpOpenDisplay in
> unix/tkUnixEvent.c where a file handler is created
> for ConnectionNumber(display). Data arrived from this file
> handler (i.e., message from the X server) is discarded in
> the code fragment below:
> 
>    while (1)
>    {
>       Tcl_DoOneEvent(
>          TCL_WINDOW_EVENTS |
>          TCL_IDLE_EVENTS   |
>          TCL_TIMER_EVENTS  |
>          TCL_DONT_WAIT );
>    }
> 
> Since I specified the TCL_WINDOW_EVENTS flag I certainly
> don't want this data to be discarded.
> 
> Any ideas about how to discard data from file handlers
> installed by myself but without discarding x events would
> be appreciated.
> 
> 
> Best regards,
> Merijn de Jonge
> 
> -- 
> Merijn de Jonge           email: [email protected]
>                           www:   http://adam.wins.uva.nl/~mdejonge/


We dont really support these flags any more.  Update the
documentation or update the implementation.
03/23/1999 17:48 - surles -
This is definitely a doc fix issue. 
-- 10/21/1999 hobbs
dkf Ticket [219135ffff]: 1 change [History diff]2001-02-07 22:31:18
andreas_kupries Ticket [219135ffff]: 1 change [History diff]2001-09-08 06:03:44
Log in (anonymous is fine) to add a comment.