]> Dogcows Code - chaz/openbox/blobdiff - otk_c/screeninfo.h
so close to keybindings. wont link for now.
[chaz/openbox] / otk_c / screeninfo.h
index 1a4aaea062bdde8a86ac3cd6dca10363868d2a0b..70ce7d3acba75d32d2d0219c9690fcaf706cc257 100644 (file)
@@ -1,4 +1,4 @@
-// -*- mode: C; indent-tabs-mode: nil; -*-
+// -*- mode: C; indent-tabs-mode: nil; c-basic-offset: 2; -*-
 #ifndef   __screeninfo_h
 #define   __screeninfo_h
 
@@ -10,6 +10,7 @@ extern PyTypeObject OtkScreenInfo_Type;
 struct OtkRect;
 
 typedef struct OtkScreenInfo {
+  PyObject_HEAD
   int screen;
   Window root_window;
 
@@ -20,7 +21,7 @@ typedef struct OtkScreenInfo {
   PyStringObject *display_string;
   struct OtkRect *rect; // OtkRect
 #ifdef XINERAMA
-  PyObject *xinerama_areas; // PyListObject[OtkRect]
+  PyListObject *xinerama_areas; // holds OtkRect's
   Bool xinerama_active;
 #endif
 } OtkScreenInfo;
This page took 0.022576 seconds and 4 git commands to generate.