summaryrefslogtreecommitdiff
path: root/src/BaseDisplay.h
diff options
context:
space:
mode:
authorDana Jansens <danakj@orodu.net>2002-05-14 23:30:22 +0000
committerDana Jansens <danakj@orodu.net>2002-05-14 23:30:22 +0000
commit878d57337f2795b2c84e786a7ca6392d4bbc7fb8 (patch)
tree2bafd72823ed59889d20a83e504ae9e69db00b64 /src/BaseDisplay.h
parente7978c7d24723f46615f8a2f209d1035bdee7bc4 (diff)
update changelog.
removed a redundant var from BaseDisplay.
Diffstat (limited to 'src/BaseDisplay.h')
-rw-r--r--src/BaseDisplay.h6
1 files changed, 3 insertions, 3 deletions
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; }