Hello all.
I have very strange problems with mouse button presses.
First, I decided to solve the problem with tool windows in
Adobe Pagemaker: currently they are completely unmovable. Examining
the traces, I noticed that messages WM_LBUTTONUP exist but
corresponding WM_LBUTTONDOWN don't. Looking deeper, shows that
X event for the mouse button presses don't got translated
into mouse message. Now I completely in confusion how to proceed
further.
Some traces (+all) (--> my comments):
...
trace:cursor:X11DRV_MOUSE_SendEvent (0002,636,126)
--> 0x0002 == MOUSEEVENTF_LEFTDOWN
trace:heap:HeapAlloc (65430000,08000000,0000002c): returning 6543de2c
trace:msg:QUEUE_SetWakeBit queue = 02d7 (wm=007f), bit = 0004
--> 0004 == QS_MOUSEBUTTON
08075aa0: wake_queue( handle=1414155775, bits=00000004 )
08060bd8: select() = 0 { signaled=0 }
08075aa0: wake_queue() = 0
trace:event:EVENT_ProcessEvent returns.
trace:timer:SERVICE_Loop Waiting for 4 objects
08075aa0: select( count=4, flags=2, timeout=-1, handles={88,40,36,28} )
08075aa0: select() = 0 { signaled=0 }
trace:timer:SERVICE_Loop Wait returned: 0
trace:timer:TIMER_CheckTimer Timer expired: 012c, 0113, 006f, 00000000
trace:msg:QUEUE_SetWakeBit queue = 02d7 (wm=0000), bit = 0010
--> 0010 == QS_TIMER
trace:timer:SERVICE_Loop Waiting for 4 objects
08075aa0: select( count=4, flags=2, timeout=-1, handles={88,40,36,28} )
trace:win32:_EnterSysLevel (0x402a9358, level 2): thread 0x8060bd8 (fs 008f, pid
10627) count before
0
trace:win32:_EnterSysLevel (0x402a9358, level 2): thread 0x8060bd8 (fs 008f, pid
10627) count after
1
08075aa0: select() = 0 { signaled=3 }
trace:timer:SERVICE_Loop Wait returned: 3
trace:event:EVENT_ProcessAllEvents called (thread 8075aa0).
trace:event:EVENT_ProcessEvent called.
trace:x11:TSXFindContext Call XFindContext
trace:x11:TSXFindContext Ret XFindContext
trace:event:EVENT_ProcessEvent Got event MotionNotify for hwnd 012c
trace:x11:TSXCheckTypedWindowEvent Call XCheckTypedWindowEvent
trace:x11:TSXCheckTypedWindowEvent Ret XCheckTypedWindowEvent
...
Dmitry.