diff options
author | Jari Vetoniemi <mailroxas@gmail.com> | 2014-11-02 07:58:34 +0200 |
---|---|---|
committer | Jari Vetoniemi <mailroxas@gmail.com> | 2014-11-02 07:58:34 +0200 |
commit | e8fc51d80cdd955f47113f63e22068f3a00d4224 (patch) | |
tree | c6cd4ce8e3037004b8dd5da63933bba935a066bd /lib/renderers/wayland/wayland.h | |
parent | dfda59ad188f60acbc0e184aeca28a38f0649446 (diff) | |
download | bemenu-e8fc51d80cdd955f47113f63e22068f3a00d4224.tar.gz bemenu-e8fc51d80cdd955f47113f63e22068f3a00d4224.tar.bz2 bemenu-e8fc51d80cdd955f47113f63e22068f3a00d4224.zip |
Get output width and height.
Diffstat (limited to 'lib/renderers/wayland/wayland.h')
-rw-r--r-- | lib/renderers/wayland/wayland.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/renderers/wayland/wayland.h b/lib/renderers/wayland/wayland.h index db837e9..50455b5 100644 --- a/lib/renderers/wayland/wayland.h +++ b/lib/renderers/wayland/wayland.h @@ -80,7 +80,7 @@ struct window { struct xdg_surface *xdg_surface; struct wl_shm *shm; struct buffer buffers[2]; - uint32_t width, height; + uint32_t width, height, max_height; uint32_t displayed; struct { @@ -97,6 +97,7 @@ struct wayland { struct wl_display *display; struct wl_registry *registry; struct wl_compositor *compositor; + struct wl_output *output; struct wl_seat *seat; struct xdg_shell *xdg_shell; struct wl_shell *shell; |