~mdw
/
sgt
/
putty
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Andy Hood points out that `#ifdef MONITOR_DEFAULTTONEAREST' would
[sgt/putty]
/
window.c
diff --git
a/window.c
b/window.c
index
a039ed3
..
c76b083
100644
(file)
--- a/
window.c
+++ b/
window.c
@@
-4584,7
+4584,7
@@
int is_full_screen()
* one monitor is present. */
static int get_fullscreen_rect(RECT * ss)
{
* one monitor is present. */
static int get_fullscreen_rect(RECT * ss)
{
-#if
def MONITOR_DEFAULTTONEAREST
+#if
defined(MONITOR_DEFAULTTONEAREST) && !defined(NO_MULTIMON)
HMONITOR mon;
MONITORINFO mi;
mon = MonitorFromWindow(hwnd, MONITOR_DEFAULTTONEAREST);
HMONITOR mon;
MONITORINFO mi;
mon = MonitorFromWindow(hwnd, MONITOR_DEFAULTTONEAREST);