]> Dogcows Code - chaz/openbox/blobdiff - src/BaseDisplay.h
update changelog.
[chaz/openbox] / src / BaseDisplay.h
index 3e092cfb2a966dee0485cd2ac32498245c4d1225..8bd13e89edf87b10754a872909b8e8978ef70b82 100644 (file)
@@ -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; }
 
This page took 0.024388 seconds and 4 git commands to generate.