aboutsummaryrefslogtreecommitdiff
path: root/src/BaseDisplay.hh
diff options
context:
space:
mode:
authorfluxgen <fluxgen>2002-08-30 12:58:08 (GMT)
committerfluxgen <fluxgen>2002-08-30 12:58:08 (GMT)
commit65a124a83cded041ac8025ac4493793db4c76ca0 (patch)
treed9a1838f006485303af46b69fa7164a33d8c1bc5 /src/BaseDisplay.hh
parent99083a7051bf5c6d4c7b05e1eef234929029cc5e (diff)
downloadfluxbox-65a124a83cded041ac8025ac4493793db4c76ca0.zip
fluxbox-65a124a83cded041ac8025ac4493793db4c76ca0.tar.bz2
static Display
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;