diff options
Diffstat (limited to 'src/window-xlib.c')
-rw-r--r-- | src/window-xlib.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/window-xlib.c b/src/window-xlib.c index c9a82bd..b19e9d1 100644 --- a/src/window-xlib.c +++ b/src/window-xlib.c @@ -273,6 +273,13 @@ void runes_window_backend_request_close(RunesTerm *t) XUnlockDisplay(t->w.dpy); } +unsigned long runes_window_backend_get_window_id(RunesTerm *t) +{ + RunesWindowBackend *w = &t->w; + + return (unsigned long)w->w; +} + void runes_window_backend_get_size(RunesTerm *t, int *xpixel, int *ypixel) { cairo_surface_t *surface; |