summaryrefslogtreecommitdiff
path: root/src/screen.h
diff options
context:
space:
mode:
authorVito Caputo <vcaputo@pengaru.com>2017-03-31 03:31:44 -0700
committerVito Caputo <vcaputo@pengaru.com>2017-04-04 17:48:58 -0700
commitf26f79f361eebb9af08ce64bc1c2f35b705e2927 (patch)
tree91ba988a3075dfea64bd4a37be7f89f503911925 /src/screen.h
parent7a13afda4a51c28025eaae7789d8afb7e076d591 (diff)
window: drop configuring member from vwm_window_t
Rather than setting this configuring flag for the sake of vwm_screen_is_empty() to ignore, simply supply the xwin to ignore if desired.
Diffstat (limited to 'src/screen.h')
-rw-r--r--src/screen.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/screen.h b/src/screen.h
index c8b7531..51b4f05 100644
--- a/src/screen.h
+++ b/src/screen.h
@@ -4,6 +4,7 @@
#include <X11/extensions/Xinerama.h> /* XINERAMA extension, facilitates easy multihead awareness */
typedef struct _vwm_t vwm_t;
+typedef struct _vwm_xwindow_t vwm_xwindow_t;
typedef XineramaScreenInfo vwm_screen_t; /* conveniently reuse the xinerama type for describing screens */
@@ -14,6 +15,6 @@ typedef enum _vwm_screen_rel_t {
} vwm_screen_rel_t;
const vwm_screen_t * vwm_screen_find(vwm_t *vwm, vwm_screen_rel_t rel, ...);
-int vwm_screen_is_empty(vwm_t *vwm, const vwm_screen_t *scr);
+int vwm_screen_is_empty(vwm_t *vwm, const vwm_screen_t *scr, vwm_xwindow_t *ignore_xwin);
#endif
© All Rights Reserved