From: <sba...@us...> - 2023-04-09 05:31:40
|
This is an automated email from the git hooks/post-receive-user script. sbaldovi pushed a commit to branch master in repository fuse. View the commit online: https://sourceforge.net/p/fuse-emulator/fuse/ci/dad3ee2f00429758e34ec1ac2f273e15ab46c529/ The following commit(s) were added to refs/heads/master by this push: new dad3ee2f Suppress maximizing on win32 UI dad3ee2f is described below commit dad3ee2f00429758e34ec1ac2f273e15ab46c529 Author: Miroslav Ďurčík / Arki55 <mir...@gm...> AuthorDate: Tue Apr 4 22:27:33 2023 +0200 Suppress maximizing on win32 UI Suppressing doubleclick message on title bar to not do window maximizing (fixes bug #488). --- ui/win32/win32ui.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/ui/win32/win32ui.c b/ui/win32/win32ui.c index 5f1d9ef5..55d8f272 100755 --- a/ui/win32/win32ui.c +++ b/ui/win32/win32ui.c @@ -182,6 +182,10 @@ fuse_window_proc( HWND hWnd, UINT msg, WPARAM wParam, LPARAM lParam ) if( paused ) menu_machine_pause( 0 ); return 0; + case WM_NCLBUTTONDBLCLK: + /* Don't allow double click on title bar, suppressing window maximizing */ + return 0; + case WM_ENTERMENULOOP: case WM_ENTERSIZEMOVE: { |