aboutsummaryrefslogtreecommitdiff
path: root/src/BaseDisplay.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/BaseDisplay.cc')
-rw-r--r--src/BaseDisplay.cc6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/BaseDisplay.cc b/src/BaseDisplay.cc
index 1006ed5..2b5a194 100644
--- a/src/BaseDisplay.cc
+++ b/src/BaseDisplay.cc
@@ -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.cc,v 1.14 2002/05/17 11:55:41 fluxgen Exp $ 25// $Id: BaseDisplay.cc,v 1.15 2002/07/19 21:16:53 fluxgen Exp $
26 26
27// use GNU extensions 27// use GNU extensions
28#ifndef _GNU_SOURCE 28#ifndef _GNU_SOURCE
@@ -388,11 +388,11 @@ ScreenInfo::ScreenInfo(BaseDisplay *d, int num) {
388 } 388 }
389 389
390 if (visual) { 390 if (visual) {
391 colormap = XCreateColormap(basedisplay->getXDisplay(), root_window, 391 m_colormap = XCreateColormap(basedisplay->getXDisplay(), root_window,
392 visual, AllocNone); 392 visual, AllocNone);
393 } else { 393 } else {
394 visual = DefaultVisual(basedisplay->getXDisplay(), screen_number); 394 visual = DefaultVisual(basedisplay->getXDisplay(), screen_number);
395 colormap = DefaultColormap(basedisplay->getXDisplay(), screen_number); 395 m_colormap = DefaultColormap(basedisplay->getXDisplay(), screen_number);
396 } 396 }
397 397
398#ifdef XINERAMA 398#ifdef XINERAMA