[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Dotgnu-pnet-commits] pnetlib/Xsharp Display.cs,1.14,1.15
From: |
Rhys Weatherley <address@hidden> |
Subject: |
[Dotgnu-pnet-commits] pnetlib/Xsharp Display.cs,1.14,1.15 |
Date: |
Tue, 02 Dec 2003 05:13:00 +0000 |
Update of /cvsroot/dotgnu-pnet/pnetlib/Xsharp
In directory subversions:/tmp/cvs-serv11048/Xsharp
Modified Files:
Display.cs
Log Message:
Remove the "inMainLoop" check because it was preventing the main loop
from re-entering itself on the same thread.
Index: Display.cs
===================================================================
RCS file: /cvsroot/dotgnu-pnet/pnetlib/Xsharp/Display.cs,v
retrieving revision 1.14
retrieving revision 1.15
diff -C2 -d -r1.14 -r1.15
*** Display.cs 29 Nov 2003 10:34:54 -0000 1.14
--- Display.cs 2 Dec 2003 05:12:57 -0000 1.15
***************
*** 45,49 ****
private bool quit;
private bool pendingExposes;
- private bool inMainLoop;
private InputOutputWidget exposeList;
private Xlib.Cursor[] cursors;
--- 45,48 ----
***************
*** 505,509 ****
private AppEvent HandleNextEvent(bool wait)
{
- bool isMainLoop = false;
try
{
--- 504,507 ----
***************
*** 512,523 ****
int timeout;
- // Check for re-entry from multiple
threads.
- if(inMainLoop)
- {
- return AppEvent.NoEvent;
- }
- isMainLoop = true;
- inMainLoop = true;
-
// Flush any requests that are in the
outgoing queue.
Xlib.XFlush(dpy);
--- 510,513 ----
***************
*** 628,635 ****
finally
{
- if(isMainLoop)
- {
- inMainLoop = false;
- }
Unlock();
}
--- 618,621 ----
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Dotgnu-pnet-commits] pnetlib/Xsharp Display.cs,1.14,1.15,
Rhys Weatherley <address@hidden> <=
- Prev by Date:
[Dotgnu-pnet-commits] pnetlib/System.Windows.Forms FileDialog.cs, 1.6, 1.7
- Next by Date:
[Dotgnu-pnet-commits] pnetlib/System.Windows.Forms ButtonBase.cs, 1.14, 1.15 CheckBox.cs, 1.12, 1.13 RadioButton.cs, 1.7, 1.8
- Previous by thread:
[Dotgnu-pnet-commits] pnetlib/System.Windows.Forms FileDialog.cs, 1.6, 1.7
- Next by thread:
[Dotgnu-pnet-commits] pnetlib/System.Windows.Forms ButtonBase.cs, 1.14, 1.15 CheckBox.cs, 1.12, 1.13 RadioButton.cs, 1.7, 1.8
- Index(es):