summaryrefslogtreecommitdiff
path: root/recordmydesktop/src/rmd.c
diff options
context:
space:
mode:
authorenselic <enselic@f606c939-3180-4ac9-a4b8-4b8779d57d0a>2008-09-16 06:25:52 +0000
committerenselic <enselic@f606c939-3180-4ac9-a4b8-4b8779d57d0a>2008-09-16 06:25:52 +0000
commitbbf369b9e52d718ce335c60aa457bee86b40503d (patch)
tree919d1a975d346d1e720152cdba066657bf7b33e6 /recordmydesktop/src/rmd.c
parent70ed9b12e14fa40b16bfa92011ea1d2d67155b7e (diff)
src/rmd_types.h: Remove DisplaySpecs::bpixel and wpixel.
src/rmd_make_dummy_pointer.[ch]: Take Display as a parameter to MakeDummyPointer() and put bpixel and wpixel locally here instead. src/rmd.c: Remove initialization of DisplaySpecs::bpixel and wpixel. src/rmd_initialize_data.c: Pass Display to MakeDummyPointer(). git-svn-id: https://recordmydesktop.svn.sourceforge.net/svnroot/recordmydesktop/trunk@549 f606c939-3180-4ac9-a4b8-4b8779d57d0a
Diffstat (limited to 'recordmydesktop/src/rmd.c')
-rw-r--r--recordmydesktop/src/rmd.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/recordmydesktop/src/rmd.c b/recordmydesktop/src/rmd.c
index 92e247f..bb513a2 100644
--- a/recordmydesktop/src/rmd.c
+++ b/recordmydesktop/src/rmd.c
@@ -84,8 +84,6 @@ int main(int argc,char **argv){
pdata.specs.visual = DefaultVisual(pdata.dpy, pdata.specs.screen);
pdata.specs.gc = DefaultGC(pdata.dpy, pdata.specs.screen);
pdata.specs.depth = DefaultDepth(pdata.dpy, pdata.specs.screen);
- pdata.specs.bpixel = XBlackPixel(pdata.dpy, pdata.specs.screen);
- pdata.specs.wpixel = XWhitePixel(pdata.dpy, pdata.specs.screen);
if((pdata.specs.depth!=32)&&
(pdata.specs.depth!=24)&&
© All Rights Reserved