Bugzilla – Attachment 531 Details for
Bug 879
Threads deadlock in native keyboardfocus calls made form multiple threads
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
Log In
[x]
|
Forgot Password
Login:
[x]
patch for discussion purposes, likely breaks things
jogl-focus-diff.txt (text/plain), 1.67 KB, created by
Harvey Harrison
on 2013-10-30 23:09:19 CET
(
hide
)
Description:
patch for discussion purposes, likely breaks things
Filename:
MIME Type:
Creator:
Harvey Harrison
Created:
2013-10-30 23:09:19 CET
Size:
1.67 KB
patch
obsolete
>diff --git a/src/newt/native/WindowsWindow.c b/src/newt/native/WindowsWindow.c >index 4ef2459..cf7899d 100644 >--- a/src/newt/native/WindowsWindow.c >+++ b/src/newt/native/WindowsWindow.c >@@ -901,7 +901,7 @@ static LRESULT CALLBACK wndProc(HWND wnd, UINT message, WPARAM wParam, LPARAM lP > > case WM_LBUTTONDOWN: > DBG_PRINT("*** WindowsWindow: LBUTTONDOWN\n"); >- (*env)->CallVoidMethod(env, window, requestFocusID, JNI_FALSE); >+ //(*env)->CallVoidMethod(env, window, requestFocusID, JNI_FALSE); > (*env)->CallVoidMethod(env, window, sendMouseEventID, > (jshort) EVENT_MOUSE_PRESSED, > GetModifiers( 0 ), >@@ -921,7 +921,7 @@ static LRESULT CALLBACK wndProc(HWND wnd, UINT message, WPARAM wParam, LPARAM lP > > case WM_MBUTTONDOWN: > DBG_PRINT("*** WindowsWindow: MBUTTONDOWN\n"); >- (*env)->CallVoidMethod(env, window, requestFocusID, JNI_FALSE); >+ //(*env)->CallVoidMethod(env, window, requestFocusID, JNI_FALSE); > (*env)->CallVoidMethod(env, window, sendMouseEventID, > (jshort) EVENT_MOUSE_PRESSED, > GetModifiers( 0 ), >@@ -941,7 +941,7 @@ static LRESULT CALLBACK wndProc(HWND wnd, UINT message, WPARAM wParam, LPARAM lP > > case WM_RBUTTONDOWN: > DBG_PRINT("*** WindowsWindow: RBUTTONDOWN\n"); >- (*env)->CallVoidMethod(env, window, requestFocusID, JNI_FALSE); >+ //(*env)->CallVoidMethod(env, window, requestFocusID, JNI_FALSE); > (*env)->CallVoidMethod(env, window, sendMouseEventID, > (jshort) EVENT_MOUSE_PRESSED, > GetModifiers( 0 ),
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 879
:
531
|
540