mirror of
https://git.tartarus.org/simon/putty.git
synced 2025-05-29 15:54:48 -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. */
|
* one monitor is present. */
|
||||||
static int get_fullscreen_rect(RECT * ss)
|
static int get_fullscreen_rect(RECT * ss)
|
||||||
{
|
{
|
||||||
#ifdef MONITOR_DEFAULTTONEAREST
|
#if defined(MONITOR_DEFAULTTONEAREST) && !defined(NO_MULTIMON)
|
||||||
HMONITOR mon;
|
HMONITOR mon;
|
||||||
MONITORINFO mi;
|
MONITORINFO mi;
|
||||||
mon = MonitorFromWindow(hwnd, MONITOR_DEFAULTTONEAREST);
|
mon = MonitorFromWindow(hwnd, MONITOR_DEFAULTTONEAREST);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user