]> asedeno.scripts.mit.edu Git - PuTTY.git/blobdiff - winstuff.h
SSH2 MACs now use dynamically allocated contexts.
[PuTTY.git] / winstuff.h
index 3bf43bcbb1a0a92a88117358df8c4e4d8dcc48b8..dadce6e0b5e35c4c6f4213eacadd9b3044f3c64d 100644 (file)
@@ -18,8 +18,6 @@
 #endif
 #endif
 
-typedef struct config_tag Config;      /* duplicated from putty.h */
-
 #define PUTTY_REG_POS "Software\\SimonTatham\\PuTTY"
 #define PUTTY_REG_PARENT "Software\\SimonTatham"
 #define PUTTY_REG_PARENT_CHILD "PuTTY"
@@ -53,6 +51,22 @@ GLOBAL HINSTANCE hinst;
 #define WM_XUSER     (WM_USER + 0x2000)
 #define WM_NETEVENT  (WM_XUSER + 5)
 
+/*
+ * On Windows, we send MA_2CLK as the only event marking the second
+ * press of a mouse button. Compare unix.h.
+ */
+#define MULTICLICK_ONLY_EVENT 1
+
+/*
+ * On Windows, data written to the clipboard must be NUL-terminated.
+ */
+#define SELECTION_NUL_TERMINATED 1
+
+/*
+ * On Windows, copying to the clipboard terminates lines with CRLF.
+ */
+#define SEL_NL { 13, 10 }
+
 /*
  * Exports from winctrls.c.
  */