mirror of
https://git.tartarus.org/simon/putty.git
synced 2025-05-28 15:24:49 -05:00
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:
parent
79ffeb97fc
commit
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);
|
||||
|
Loading…
x
Reference in New Issue
Block a user