1
0
mirror of https://git.tartarus.org/simon/putty.git synced 2025-07-05 21:42:47 -05:00

Richard B's patch to add WINDOWID support to pterm.

[originally from svn r2912]
This commit is contained in:
Simon Tatham
2003-03-06 12:57:37 +00:00
parent 5376d94b96
commit 83da92826e
3 changed files with 16 additions and 0 deletions

View File

@ -1978,6 +1978,13 @@ char *get_x_display(void *frontend)
return gdk_get_display();
}
long get_windowid(void *frontend)
{
Terminal *term = (Terminal *)frontend;
struct gui_data *inst = (struct gui_data *)(term->frontend);
return (long)GDK_WINDOW_XWINDOW(inst->area->window);
}
static void help(FILE *fp) {
if(fprintf(fp,
"pterm option summary:\n"