X-Git-Url: https://git.dogcows.com/gitweb?a=blobdiff_plain;f=otk_c%2Fdisplay.h;h=32e92c4a6aee6e1c9f6356a4ae50d55668f5ad60;hb=390d447d9ba92878fbd1a0f7955edb5f83256195;hp=a36cd8538a5dfa2fdffbe9bf4a38362086accd3c;hpb=187e7db9c039d7369766aeae7dfdf87f191ac446;p=chaz%2Fopenbox diff --git a/otk_c/display.h b/otk_c/display.h index a36cd853..32e92c4a 100644 --- a/otk_c/display.h +++ b/otk_c/display.h @@ -1,4 +1,4 @@ -// -*- mode: C; indent-tabs-mode: nil; -*- +// -*- mode: C; indent-tabs-mode: nil; c-basic-offset: 2; -*- #ifndef __display_h #define __display_h @@ -10,6 +10,8 @@ struct OtkDisplay; extern struct OtkDisplay *OBDisplay; // the global display XXX: move this to app.h and ob.h? +extern PyTypeObject OtkDisplay_Type; + typedef struct OtkDisplay { PyObject_HEAD @@ -33,7 +35,7 @@ typedef struct OtkDisplay { int grab_count; //! A list of information for all screens on the display - PyObject *screenInfoList; // PyListObject + PyListObject *screenInfoList; } OtkDisplay; //! Opens the X display, and sets the global OBDisplay variable