check in. I must stop doing my Unix checkins in the Unix subdir :-(
git-svn-id: svn://svn.tartarus.org/sgt/putty@2125
cda61777-01e9-0310-a592-
d414129be87e
return;
}
/*
+ * Notify the front end that something was pressed, in case
+ * it's depending on finding out (e.g. keypress termination for
+ * Close On Exit).
+ */
+ frontend_keypress();
+ /*
* Less than zero means null terminated special string.
*/
if (len < 0) {
void begin_session(void);
void sys_cursor(int x, int y);
void request_paste(void);
+void frontend_keypress(void);
#define OPTIMISE_IS_SCROLL 1
void set_iconic(int iconic);
ShowWindow(hwnd, SW_MAXIMIZE);
}
}
+
+void frontend_keypress(void)
+{
+ /*
+ * Keypress termination in non-Close-On-Exit mode is not
+ * currently supported in PuTTY proper, because the window
+ * always has a perfectly good Close button anyway. So we do
+ * nothing here.
+ */
+ return;
+}