aboutsummaryrefslogtreecommitdiff
path: root/src/BaseDisplay.hh
diff options
context:
space:
mode:
Diffstat (limited to 'src/BaseDisplay.hh')
-rw-r--r--src/BaseDisplay.hh6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/BaseDisplay.hh b/src/BaseDisplay.hh
index 1624a05..0a35dd1 100644
--- a/src/BaseDisplay.hh
+++ b/src/BaseDisplay.hh
@@ -22,7 +22,7 @@
22// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER 22// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
23// DEALINGS IN THE SOFTWARE. 23// DEALINGS IN THE SOFTWARE.
24 24
25// $Id: BaseDisplay.hh,v 1.26 2002/08/17 22:10:03 fluxgen Exp $ 25// $Id: BaseDisplay.hh,v 1.27 2002/08/30 12:58:08 fluxgen Exp $
26 26
27#ifndef BASEDISPLAY_HH 27#ifndef BASEDISPLAY_HH
28#define BASEDISPLAY_HH 28#define BASEDISPLAY_HH
@@ -92,7 +92,7 @@ public:
92 inline bool isStartup() const { return m_startup; } 92 inline bool isStartup() const { return m_startup; }
93 93
94 94
95 inline Display *getXDisplay() { return m_display; } 95 static Display *getXDisplay() { return s_display; }
96 96
97 inline const char *getXDisplayName() const { return m_display_name; } 97 inline const char *getXDisplayName() const { return m_display_name; }
98 inline const char *getApplicationName() const { return m_app_name; } 98 inline const char *getApplicationName() const { return m_app_name; }
@@ -128,7 +128,7 @@ private:
128 } shape; 128 } shape;
129 129
130 bool m_startup, m_shutdown; 130 bool m_startup, m_shutdown;
131 Display *m_display; 131 static Display *s_display;
132 132
133 typedef std::vector<ScreenInfo *> ScreenInfoList; 133 typedef std::vector<ScreenInfo *> ScreenInfoList;
134 ScreenInfoList screenInfoList; 134 ScreenInfoList screenInfoList;