]> Dogcows Code - chaz/openbox/blobdiff - openbox/screen.h
add misc.h with some standard enumerations with proper prefixing and capitalizations.
[chaz/openbox] / openbox / screen.h
index 42e3dc17f22766d8876f5b0c213268080768e27a..b68f6ea5345638182123d56714e8997d1bd6570e 100644 (file)
@@ -1,6 +1,7 @@
 #ifndef __screen_h
 #define __screen_h
 
+#include "misc.h"
 #include "geom.h"
 #include "client.h"
 
@@ -17,15 +18,9 @@ extern guint screen_desktop;
 /*! Are we in showing-desktop mode? */
 extern gboolean screen_showing_desktop;
 
-/*! Orientation of the desktops */
-typedef enum {
-    Orientation_Horz = 0,
-    Orientation_Vert = 1
-} Orientation;
-
 typedef struct DesktopLayout {
-    Orientation orientation;
-    Corner start_corner;
+    ObOrientation orientation;
+    ObCorner start_corner;
     guint rows;
     guint columns;
 } DesktopLayout;
This page took 0.024007 seconds and 4 git commands to generate.