X-Git-Url: https://git.dogcows.com/gitweb?a=blobdiff_plain;f=openbox%2Fscreen.h;h=b68f6ea5345638182123d56714e8997d1bd6570e;hb=276b2be581c6cb138b439537761ff2ca42201805;hp=42e3dc17f22766d8876f5b0c213268080768e27a;hpb=6357583c396382dd6ed8ac42004177f204fabe62;p=chaz%2Fopenbox diff --git a/openbox/screen.h b/openbox/screen.h index 42e3dc17..b68f6ea5 100644 --- a/openbox/screen.h +++ b/openbox/screen.h @@ -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;