aboutsummaryrefslogtreecommitdiffstats
path: root/src/window-xlib.c
diff options
context:
space:
mode:
authorJesse Luehrs <doy@tozt.net>2014-04-23 17:39:17 -0400
committerJesse Luehrs <doy@tozt.net>2014-04-23 17:39:17 -0400
commit0f9682d9d4db7f83fa7d45d1035e99982912535b (patch)
treea43806c55983374432219db5399acb8e2dd3374c /src/window-xlib.c
parent9f5a234faa692e3e797537ceeac0dc4a299efa2a (diff)
downloadrunes-0f9682d9d4db7f83fa7d45d1035e99982912535b.tar.gz
runes-0f9682d9d4db7f83fa7d45d1035e99982912535b.zip
also set WINDOWID
Diffstat (limited to 'src/window-xlib.c')
-rw-r--r--src/window-xlib.c7
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;