~ubuntu-branches/ubuntu/natty/idesk/natty

« back to all changes in this revision

Viewing changes to src/XDesktopContainer.cpp

  • Committer: Bazaar Package Importer
  • Author(s): Anibal Avelar (Fixxxer)
  • Date: 2005-11-13 03:27:39 UTC
  • Revision ID: james.westby@ubuntu.com-20051113032739-r1q405bgsfcrmfzx
Tags: 0.7.4-2
 
* Fixed the problem with the desktop background, closes: #338281
* Fixed other minor bugs.
 

Show diffs side-by-side

added added

removed removed

Lines of Context:
133
133
 
134
134
void XDesktopContainer::getRootImage()
135
135
{
 
136
     DesktopConfig * dConfig = dynamic_cast<DesktopConfig *>(config);
 
137
     
136
138
     
137
139
     imlib_context_set_drawable(rootWindow);
 
140
     
138
141
     bg = new XImlib2Background(this,config);
139
 
     
140
 
     bg->spareRoot = imlib_create_image_from_drawable( 0 , 0, 0, 
141
 
                                widthOfScreen(), heightOfScreen(), 1);
 
142
    
 
143
     bg->InitSpareRoot(rootWindow);
142
144
        
143
145
     if(!bg->IsOneShot()){      
144
146
        timer = new Timer(this);