X-Git-Url: https://git.brokenzipper.com/gitweb?a=blobdiff_plain;f=otk%2Fdisplay.hh;h=ed469a6c5c79e9acfa85a9e2bf7f979c532c403f;hb=4c768d5d63154e416e1282396dc48492d0585d42;hp=0fbf2b34bf3dfe80aaf90751c0cbe2c4b5a2f460;hpb=f3865bb12c2b3506e181f15f09b8429a59a618f8;p=chaz%2Fopenbox diff --git a/otk/display.hh b/otk/display.hh index 0fbf2b34..ed469a6c 100644 --- a/otk/display.hh +++ b/otk/display.hh @@ -96,6 +96,9 @@ public: */ static const ScreenInfo* screenInfo(int snum); + //! Find a ScreenInfo based on a root window + static const ScreenInfo* findScreen(Window root); + //! Returns if the display has the shape extention available inline static bool shape() { return _shape; } //! Returns the shape extension's event base