diff options
author | Vito Caputo <vcaputo@pengaru.com> | 2017-11-28 12:25:17 -0800 |
---|---|---|
committer | Vito Caputo <vcaputo@pengaru.com> | 2017-11-28 12:25:17 -0800 |
commit | 9bfd0e3319ec99ca6e89b02c060c4305fddbb610 (patch) | |
tree | 78b48047c5083ef9b593573172971bbb8c44aeab /src/screen.h | |
parent | ef70d6f8faa1ba04f12d4485d94fd37de3203087 (diff) |
screen: raw rectangle coords for vwm_screen_find()
Adds VWM_SCREEN_REL_RECT so a screen can be located without a
formal xwin, just supply the x,y,width,height.
Diffstat (limited to 'src/screen.h')
-rw-r--r-- | src/screen.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/screen.h b/src/screen.h index 51b4f05..ad8ddce 100644 --- a/src/screen.h +++ b/src/screen.h @@ -9,6 +9,7 @@ typedef struct _vwm_xwindow_t vwm_xwindow_t; typedef XineramaScreenInfo vwm_screen_t; /* conveniently reuse the xinerama type for describing screens */ typedef enum _vwm_screen_rel_t { + VWM_SCREEN_REL_RECT, /* return the screen the supplied rectangle x,y,w,h most resides in */ VWM_SCREEN_REL_XWIN, /* return the screen the supplied window most resides in */ VWM_SCREEN_REL_POINTER, /* return the screen the pointer resides in */ VWM_SCREEN_REL_TOTAL, /* return the bounding rectangle of all screens as one */ |