]> Dogcows Code - chaz/openbox/blobdiff - openbox/geom.h
changes
[chaz/openbox] / openbox / geom.h
index 6553b74edd259e24bbb6c3debecabe6fb1f375e8..6b5fb0a022ea55207a6357e874f58264ad91638f 100644 (file)
@@ -1,4 +1,4 @@
-/* -*- indent-tabs-mode: t; tab-width: 4; c-basic-offset: 4; -*-
+/* -*- indent-tabs-mode: nil; tab-width: 4; c-basic-offset: 4; -*-
 
    geom.h for the Openbox window manager
    Copyright (c) 2003        Ben Jansens
@@ -110,6 +110,12 @@ typedef struct _StrutPartial {
     (s1).bottom = MAX((s1).bottom, (s2).bottom)
 
 #define STRUT_EQUAL(s1, s2) \
+    ((s1).left == (s2).left && \
+     (s1).top == (s2).top && \
+     (s1).right == (s2).right && \
+     (s1).bottom == (s2).bottom)
+
+#define PARTIAL_STRUT_EQUAL(s1, s2) \
     ((s1).left == (s2).left && \
      (s1).top == (s2).top && \
      (s1).right == (s2).right && \
This page took 0.027076 seconds and 4 git commands to generate.