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:
@ -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"
|
||||
|
Reference in New Issue
Block a user