added missing ifdefs for those of us without XDAMAGE
svn path=/trunk/KDE/kdebase/workspace/; revision=670200
This commit is contained in:
parent
c6dedebad2
commit
36c309ab8d
1 changed files with 6 additions and 0 deletions
|
@ -26,7 +26,9 @@ Toplevel::Toplevel( Workspace* ws )
|
|||
, frame( None )
|
||||
, wspace( ws )
|
||||
, window_pix( None )
|
||||
#ifdef HAVE_XDAMAGE
|
||||
, damage_handle( None )
|
||||
#endif
|
||||
, is_shape( false )
|
||||
, effect_window( NULL )
|
||||
, wmClientLeaderWin( 0 )
|
||||
|
@ -35,7 +37,9 @@ Toplevel::Toplevel( Workspace* ws )
|
|||
|
||||
Toplevel::~Toplevel()
|
||||
{
|
||||
#ifdef HAVE_XDAMAGE
|
||||
assert( damage_handle == None );
|
||||
#endif
|
||||
discardWindowPixmap();
|
||||
delete info;
|
||||
}
|
||||
|
@ -100,7 +104,9 @@ void Toplevel::copyToDeleted( Toplevel* c )
|
|||
frame = c->frame;
|
||||
wspace = c->wspace;
|
||||
window_pix = c->window_pix;
|
||||
#ifdef HAVE_XDAMAGE
|
||||
damage_handle = None;
|
||||
#endif
|
||||
damage_region = c->damage_region;
|
||||
repaints_region = c->repaints_region;
|
||||
is_shape = c->is_shape;
|
||||
|
|
Loading…
Reference in a new issue