Bugzilla – Attachment 546 Details for
Bug 5111
Issues with fltk win32 clipboard patches
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Fixes 2 identified problems with clipboard monitoring.
fltk.patch (text/plain), 1016 bytes, created by
Henrik Andersson
on 2014-05-23 14:31:36 CEST
(
hide
)
Description:
Fixes 2 identified problems with clipboard monitoring.
Filename:
MIME Type:
Creator:
Henrik Andersson
Created:
2014-05-23 14:31:36 CEST
Size:
1016 bytes
patch
obsolete
>diff -up ./Fl.cxx.henrik ./Fl.cxx >diff -up ./Fl_win32.cxx.henrik ./Fl_win32.cxx >--- ./Fl_win32.cxx.henrik 2014-05-23 13:11:10.341222221 +0200 >+++ ./Fl_win32.cxx 2014-05-23 13:40:12.790769322 +0200 >@@ -983,8 +983,7 @@ static LRESULT CALLBACK WndProc(HWND hWn > > case WM_CLOSE: // user clicked close box > Fl::handle(FL_CLOSE, window); >- PostQuitMessage(0); >- return 0; >+ break; > > case WM_SYNCPAINT : > case WM_NCPAINT : >@@ -1367,12 +1366,11 @@ static LRESULT CALLBACK WndProc(HWND hWn > return 0; > > case WM_CHANGECBCHAIN: >- if ((hWnd == clipboard_wnd) && >- (next_clipboard_wnd == (HWND)wParam)) { >+ if ((hWnd == clipboard_wnd) && (next_clipboard_wnd == (HWND)wParam)) > next_clipboard_wnd = (HWND)lParam; >- return 0; >- } >- break; >+ else >+ SendMessage(next_clipboard_wnd, WM_CHANGECBCHAIN, wParam, lParam); >+ return 0; > > case WM_DRAWCLIPBOARD: > // When the clipboard moves between two FLTK windows, >diff -up ./Fl_Window.cxx.henrik ./Fl_Window.cxx
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 Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 5111
:
533
|
546
|
549