This is the mail archive of the cygwin-xfree@cygwin.com mailing list for the Cygwin XFree86 project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

New windowing code


I did a cvs update and took the new XWin.exe for a spin.

- To get things to compile, I had to make the attached smallchange.txt

- I saw the crash below in the my text mode GDB session when maximizing
Evolution. Don't know what to make of it. 

- I was able to resize Evolution window by dragging the upper left
corner of the window(which is listed as fixed in the posting by Takuma
Murakami)

- I was not able to reproduce the duplicate windows + wrong offset for
mouse cursor problem after maximizing Evolution on my second monitor. To
say that the problem is definitely gone is a bit premature, since the
problem was intermittant.




startxwin.bat - Starting on Windows NT/2000/XP/2003
GNU gdb 2003-09-20-cvs (cygwin-special)
Copyright 2003 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you
are
welcome to change it and/or distribute copies of it under certain
conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB.  Type "show warranty" for
details.
This GDB was configured as "i686-pc-cygwin"...
(gdb) run
Starting program: /usr/X11R6/bin/XWin.exe -multiwindow -clipboard
-multiplemonit
ors
--Type <return> to continue, or q <return> to quit--

Program received signal SIGSEGV, Segmentation fault.
0x004d3228 in miComputeClips (pParent=0x103a1800, pScreen=0x100f8e80,
    universe=0x22e6a4, kind=VTMove, exposed=0x22e684) at mivaltree.c:259
259         dx = pParent->drawable.x -
pParent->valdata->before.oldAbsCorner.x;
(gdb) thread apply bt all
(gdb) thread apply all bt

Thread 13 (thread 2848.0x960):
#0  0x7ffe0304 in ?? ()
#1  0x77f5c534 in ntdll!ZwWaitForSingleObject () from ntdll.dll
#2  0x77e7a62d in WaitForSingleObjectEx ()
   from /cygdrive/c/WINDOWS/system32/KERNEL32.DLL
#3  0x00000468 in ?? ()

Thread 12 (thread 2848.0xf7c):
#0  0x7ffe0304 in ?? ()
#1  0x77f5c534 in ntdll!ZwWaitForSingleObject () from ntdll.dll
#2  0x71a51f97 in DSA_DestroyCallback ()
   from /cygdrive/c/WINDOWS/System32/MSWSOCK.DLL
#3  0x0421fdfc in ?? ()
#4  0x0421fe90 in ?? ()
#5  0x10184bfc in ?? ()
#6  0x0421fe80 in ?? ()
#7  0x6efeb39c in ?? ()
#8  0x01c3f8c5 in ?? ()
#9  0xffffffff in ?? ()
#10 0x7fffffff in ?? ()
#11 0x002523d8 in ?? ()

Thread 11 (thread 2848.0xb18):
--Type <return> to continue, or q <return> to quit--
#0  0x7ffe0304 in ?? ()
#1  0x77f5c524 in ntdll!ZwWaitForMultipleObjects () from ntdll.dll
#2  0x77e75ee0 in WaitForMultipleObjectsEx ()
   from /cygdrive/c/WINDOWS/system32/KERNEL32.DLL
#3  0x00000003 in ?? ()
#4  0x0401e978 in ?? ()
#5  0x00000001 in ?? ()

Thread 10 (thread 2848.0xe5c):
#0  0x7ffe0304 in ?? ()
#1  0x77f5c534 in ntdll!ZwWaitForSingleObject () from ntdll.dll
#2  0x71a51f97 in DSA_DestroyCallback ()
   from /cygdrive/c/WINDOWS/System32/MSWSOCK.DLL
#3  0x03e1fdfc in ?? ()
#4  0x03e1fe90 in ?? ()
#5  0x10191c94 in ?? ()
#6  0x03e1fe80 in ?? ()
#7  0x6efeb39c in ?? ()
#8  0x01c3f8c5 in ?? ()
#9  0xffffffff in ?? ()
#10 0x7fffffff in ?? ()
#11 0x00252208 in ?? ()

Thread 9 (thread 2848.0x698):
--Type <return> to continue, or q <return> to quit--
#0  0x7ffe0304 in ?? ()
#1  0x77f5c534 in ntdll!ZwWaitForSingleObject () from ntdll.dll
#2  0x77e7a62d in WaitForSingleObjectEx ()
   from /cygdrive/c/WINDOWS/system32/KERNEL32.DLL
#3  0x000005a4 in ?? ()

Thread 8 (thread 2848.0x218):
#0  0x7ffe0304 in ?? ()
#1  0x77f5c534 in ntdll!ZwWaitForSingleObject () from ntdll.dll
#2  0x77e7a62d in WaitForSingleObjectEx ()
   from /cygdrive/c/WINDOWS/system32/KERNEL32.DLL
#3  0x000005b8 in ?? ()

Thread 7 (thread 2848.0x42c):
#0  0x7ffe0304 in ?? ()
#1  0x77f5c024 in ntdll!ZwRemoveIoCompletion () from ntdll.dll
#2  0x71a51a1b in DSA_DestroyCallback ()
   from /cygdrive/c/WINDOWS/System32/MSWSOCK.DLL
#3  0x0381ffac in ?? ()
#4  0x0381ffb0 in ?? ()
#5  0x71a5b740 in MSWSOCK!AcceptEx ()
   from /cygdrive/c/WINDOWS/System32/MSWSOCK.DLL
#6  0x00240608 in ?? ()
#7  0x77f9e28f in ntdll!RtlpNtEnumerateSubKey () from ntdll.dll
--Type <return> to continue, or q <return> to quit--
#8  0x00000003 in ?? ()
#9  0x00000004 in ?? ()
#10 0x0000ffff in ?? ()
#11 0x000000b8 in ?? ()

Thread 6 (thread 2848.0xce0):
#0  0x7ffe0304 in ?? ()
#1  0x77d43a09 in SetBitmapDimensionEx ()
   from /cygdrive/c/WINDOWS/system32/user32.dll
#2  0x77d443b5 in USER32!GetMessageA ()
   from /cygdrive/c/WINDOWS/system32/user32.dll
#3  0x61091f03 in wait4 () from /usr/bin/cygwin1.dll
#4  0x61002dae in forkpty () from /usr/bin/cygwin1.dll
#5  0x77e7d33b in RegisterWaitForInputIdle ()
   from /cygdrive/c/WINDOWS/system32/KERNEL32.DLL
#6  0x610cfb50 in cygwin1!__ctype_ptr ()
#7  0x019e4200 in ?? ()
#8  0x610cfb50 in cygwin1!__ctype_ptr ()
#9  0x7ffd9000 in ?? ()
#10 0x0361ffc0 in ?? ()
#11 0x00000007 in ?? ()
#12 0xffffffff in ?? ()
#13 0x77e94809 in SetThreadExecutionState ()
   from /cygdrive/c/WINDOWS/system32/KERNEL32.DLL
--Type <return> to continue, or q <return> to quit--

Thread 5 (thread 2848.0xf28):
#0  0x7ffe0304 in ?? ()
#1  0x77f5c524 in ntdll!ZwWaitForMultipleObjects () from ntdll.dll
#2  0x77e75ee0 in WaitForMultipleObjectsEx ()
   from /cygdrive/c/WINDOWS/system32/KERNEL32.DLL
#3  0x00000001 in ?? ()
#4  0x0341fe88 in ?? ()
#5  0x00000001 in ?? ()

Thread 4 (thread 2848.0xd84):
#0  0x7ffe0304 in ?? ()
#1  0x77f5c524 in ntdll!ZwWaitForMultipleObjects () from ntdll.dll
#2  0x77e75ee0 in WaitForMultipleObjectsEx ()
   from /cygdrive/c/WINDOWS/system32/KERNEL32.DLL
#3  0x00000002 in ?? ()
#4  0x0321e058 in ?? ()
#5  0x00000001 in ?? ()

Thread 3 (thread 2848.0xa38):
#0  0x7ffe0304 in ?? ()
#1  0x77f5c534 in ntdll!ZwWaitForSingleObject () from ntdll.dll
#2  0x77e7a62d in WaitForSingleObjectEx ()
   from /cygdrive/c/WINDOWS/system32/KERNEL32.DLL
--Type <return> to continue, or q <return> to quit--
#3  0x000005b0 in ?? ()

Thread 2 (thread 2848.0xde0):
#0  0x7ffe0304 in ?? ()
#1  0x77f5c524 in ntdll!ZwWaitForMultipleObjects () from ntdll.dll
#2  0x77e75ee0 in WaitForMultipleObjectsEx ()
   from /cygdrive/c/WINDOWS/system32/KERNEL32.DLL
#3  0x00000003 in ?? ()
#4  0x0191fe58 in ?? ()
#5  0x00000001 in ?? ()

Thread 1 (thread 2848.0x820):
#0  0x004d3228 in miComputeClips (pParent=0x103a1800,
pScreen=0x100f8e80,
    universe=0x22e6a4, kind=VTMove, exposed=0x22e684) at mivaltree.c:259
#1  0x004d4004 in miValidateTree (pParent=0x10110258, pChild=0x103a1800,
    kind=VTMove) at mivaltree.c:717
#2  0x004d1764 in miMoveWindow (pWin=0x1035c8c0, x=1658, y=56,
pNextSib=0x0,
    kind=VTMove) at miwindow.c:552
#3  0x00465436 in winMoveWindowMultiWindow (pWin=0x1035c8c0, x=1658,
y=56,
    pSib=0x0, kind=VTMove) at winmultiwindowwindow.c:870
#4  0x00406e70 in ConfigureWindow (pWin=0x1035c8c0, mask=15,
vlist=0x22e874,
    client=0x10365228) at window.c:2439
#5  0x00465713 in winAdjustXWindow (pWin=0x1035c8c0, hwnd=0x370286)
    at winmultiwindowwindow.c:977
--Type <return> to continue, or q <return> to quit--
#6  0x0045e847 in winTopLevelWindowProc (hwnd=0x370286, message=3,
wParam=0,
    lParam=3671674) at winmultiwindowwndproc.c:804
#7  0x77d43a50 in SetBitmapDimensionEx ()
   from /cygdrive/c/WINDOWS/system32/user32.dll
#8  0x00370286 in ?? ()
#9  0x00000003 in ?? ()
(gdb)



Index: winprefs.h
===================================================================
RCS file: /cvs/xorg/xc/programs/Xserver/hw/xwin/winprefs.h,v
retrieving revision 1.1.6.2
diff -u -r1.1.6.2 winprefs.h
--- winprefs.h	17 Feb 2004 06:26:17 -0000	1.1.6.2
+++ winprefs.h	21 Feb 2004 22:08:34 -0000
@@ -132,7 +132,7 @@
 HandleCustomWM_INITMENU(unsigned long hwndIn,
 			unsigned long hmenuIn);
 
-Bool
+int
 HandleCustomWM_COMMAND (unsigned long hwndIn,
 			int           command);
 

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]