diff options
author | James Magahern <james@magahern.com> | 2019-01-20 00:53:03 -0800 |
---|---|---|
committer | James Magahern <james@magahern.com> | 2019-01-20 00:53:03 -0800 |
commit | da3cc9db3ee945aa32de774ef0b50e507728a895 (patch) | |
tree | 4eaeaf54e789ad7c1ca26ece990d38db49c2b4f6 /src/x11_support.h | |
parent | Changes to get it to work with xsecurelock (diff) |
Get default height/width from X11
Diffstat (limited to 'src/x11_support.h')
-rw-r--r-- | src/x11_support.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/x11_support.h b/src/x11_support.h index 2c24c98..6421f4b 100644 --- a/src/x11_support.h +++ b/src/x11_support.h @@ -12,6 +12,8 @@ #include <X11/Xlib.h> #include <X11/Xutil.h> +void x11_get_display_bounds(int *width, int *height); + // Sets up a window and returns a cairo_surface to draw onto cairo_surface_t* x11_helper_acquire_cairo_surface(int width, int height); |