mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-21 05:09:34 -06:00
Migrate the "Adjust window size" option to the main configuration dialog (under the "Display" tab, in "Emulator Display Settings", after "Window Size"). Also rework the way that the option works. When using render to main and the auto resize option, the application window will be resized and then resized back when the emulator stops. This looks much better than the box in the corner look before. Also only resize when it would actually change the size of the window. This fixes the hang on emulation stop on linux.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@6910 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
@ -579,7 +579,7 @@ void Host_GetRenderWindowSize(int& x, int& y, int& width, int& height)
|
||||
main_frame->GetRenderWindowSize(x, y, width, height);
|
||||
}
|
||||
|
||||
void Host_RequestRenderWindowSize(int& width, int& height)
|
||||
void Host_RequestRenderWindowSize(int width, int height)
|
||||
{
|
||||
main_frame->OnRenderWindowSizeRequest(width, height);
|
||||
}
|
||||
@ -600,8 +600,6 @@ void Host_UpdateStatusBar(const char* _pText, int Field)
|
||||
// Update statusbar field
|
||||
event.SetInt(Field);
|
||||
// Post message
|
||||
// TODO : this has been said to cause hang (??) how is that even possible ? :d
|
||||
event.StopPropagation();
|
||||
main_frame->GetEventHandler()->AddPendingEvent(event);
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user