зеркало из https://github.com/github/putty.git
Andy Hood points out that `#ifdef MONITOR_DEFAULTTONEAREST' would
benefit from _also_ being conditional on NO_MULTIMON not being defined, to prevent the possibility of only half the multimon code being included. [originally from svn r3644]
This commit is contained in:
Родитель
79ffeb97fc
Коммит
20bc740780
2
window.c
2
window.c
|
@ -4584,7 +4584,7 @@ int is_full_screen()
|
|||
* one monitor is present. */
|
||||
static int get_fullscreen_rect(RECT * ss)
|
||||
{
|
||||
#ifdef MONITOR_DEFAULTTONEAREST
|
||||
#if defined(MONITOR_DEFAULTTONEAREST) && !defined(NO_MULTIMON)
|
||||
HMONITOR mon;
|
||||
MONITORINFO mi;
|
||||
mon = MonitorFromWindow(hwnd, MONITOR_DEFAULTTONEAREST);
|
||||
|
|
Загрузка…
Ссылка в новой задаче