X-Git-Url: https://git.dogcows.com/gitweb?a=blobdiff_plain;f=src%2FBaseDisplay.h;h=8bd13e89edf87b10754a872909b8e8978ef70b82;hb=e7c332a586280ac1ea9d0f993d637802d64c9f87;hp=3e092cfb2a966dee0485cd2ac32498245c4d1225;hpb=f75083669f65aadd6b32f8ed25880ca362296a2f;p=chaz%2Fopenbox diff --git a/src/BaseDisplay.h b/src/BaseDisplay.h index 3e092cfb..8bd13e89 100644 --- a/src/BaseDisplay.h +++ b/src/BaseDisplay.h @@ -137,7 +137,7 @@ private: TimerList timerList; char *display_name, *application_name; - unsigned int number_of_screens, server_grabs, colors_per_channel; + unsigned int server_grabs, colors_per_channel; protected: @@ -308,8 +308,8 @@ public: inline const char *getApplicationName() const { return (const char *) application_name; } - inline const unsigned int getNumberOfScreens() const - { return number_of_screens; } + inline const unsigned int numberOfScreens() const + { return ScreenCount(display); } inline const int &getShapeEventBase() const { return shape.event_basep; }