mirror of
https://git.tartarus.org/simon/putty.git
synced 2025-01-10 01:48:00 +00:00
Fix build failure with -DNOT_X_WINDOWS.
The recent window resize fixes introduced an unchecked use of GDK_IS_X11_DISPLAY.
This commit is contained in:
parent
cc10b68d31
commit
0a877e9df5
@ -4506,7 +4506,7 @@ void set_geom_hints(GtkFrontend *inst)
|
||||
* So instead, I simply avoid setting geometry hints at all on any
|
||||
* GDK backend other than X11, and hopefully that's a workaround.
|
||||
*/
|
||||
#if GTK_CHECK_VERSION(3,0,0)
|
||||
#if GTK_CHECK_VERSION(3,0,0) && !defined NOT_X_WINDOWS
|
||||
if (!GDK_IS_X11_DISPLAY(gdk_display_get_default()))
|
||||
return;
|
||||
#endif
|
||||
|
Loading…
Reference in New Issue
Block a user