aboutsummaryrefslogtreecommitdiffstats
path: root/calmwm.h
diff options
context:
space:
mode:
authorokan2013-12-13 22:39:13 +0000
committerokan2013-12-13 22:39:13 +0000
commit2f199b5ad84adda4a8b7d72b78529d68ec037786 (patch)
tree9a52007e2980e107873674841b7b4a7d6d5096a4 /calmwm.h
parentab7c1ffd6e208c0d7bfd9e1ca4be0eecbfac1b40 (diff)
downloadcwm-2f199b5ad84adda4a8b7d72b78529d68ec037786.tar.gz
Teach screen_find_xinerama() to apply gap only when told to do so;
adjust callers. Needed for an upcoming feature.
Diffstat (limited to '')
-rw-r--r--calmwm.h8
1 files changed, 6 insertions, 2 deletions
diff --git a/calmwm.h b/calmwm.h
index 780fa1a..e765537 100644
--- a/calmwm.h
+++ b/calmwm.h
@@ -15,7 +15,7 @@
* ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
* OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
*
- * $OpenBSD: calmwm.h,v 1.235 2013/12/13 14:40:52 okan Exp $
+ * $OpenBSD: calmwm.h,v 1.236 2013/12/13 22:39:13 okan Exp $
*/
#ifndef _CALMWM_H_
@@ -80,6 +80,9 @@
#define CWM_TILE_HORIZ 0x0001
#define CWM_TILE_VERT 0x0002
+#define CWM_GAP 0x0001
+#define CWM_NOGAP 0x0002
+
union arg {
char *c;
int i;
@@ -430,7 +433,8 @@ void search_match_text(struct menu_q *, struct menu_q *,
char *);
void search_print_client(struct menu *, int);
-struct geom screen_find_xinerama(struct screen_ctx *, int, int);
+struct geom screen_find_xinerama(struct screen_ctx *,
+ int, int, int);
struct screen_ctx *screen_fromroot(Window);
void screen_init(int);
void screen_update_geometry(struct screen_ctx *);