X-Git-Url: https://git.dogcows.com/gitweb?a=blobdiff_plain;f=otk%2Fdisplay.hh;h=7f5ab02d0b55daf96385ab430152de3e60129361;hb=30a23b645083b17736cb942e1452f06aad680111;hp=e8f91ae946dcd1bec090d643b2313ac5b82d78af;hpb=d4d89ce0bbd3dd0c556a593accb5e48f7ae09d9e;p=chaz%2Fopenbox diff --git a/otk/display.hh b/otk/display.hh index e8f91ae9..7f5ab02d 100644 --- a/otk/display.hh +++ b/otk/display.hh @@ -42,6 +42,9 @@ private: //! A list of all possible combinations of keyboard lock masks static unsigned int _mask_list[8]; + //! The number of requested grabs on the display + static int _grab_count; + //! A list of information for all screens on the display static ScreenInfoList _screenInfoList; @@ -94,7 +97,11 @@ public: //! Returns if the display has the xinerama extention available inline static bool xinerama() { return _xinerama; } + //! Grabs the display + static void grab(); + //! Ungrabs the display + static void ungrab();