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 )
|
, frame( None )
|
||||||
, wspace( ws )
|
, wspace( ws )
|
||||||
, window_pix( None )
|
, window_pix( None )
|
||||||
|
#ifdef HAVE_XDAMAGE
|
||||||
, damage_handle( None )
|
, damage_handle( None )
|
||||||
|
#endif
|
||||||
, is_shape( false )
|
, is_shape( false )
|
||||||
, effect_window( NULL )
|
, effect_window( NULL )
|
||||||
, wmClientLeaderWin( 0 )
|
, wmClientLeaderWin( 0 )
|
||||||
|
@ -35,7 +37,9 @@ Toplevel::Toplevel( Workspace* ws )
|
||||||
|
|
||||||
Toplevel::~Toplevel()
|
Toplevel::~Toplevel()
|
||||||
{
|
{
|
||||||
|
#ifdef HAVE_XDAMAGE
|
||||||
assert( damage_handle == None );
|
assert( damage_handle == None );
|
||||||
|
#endif
|
||||||
discardWindowPixmap();
|
discardWindowPixmap();
|
||||||
delete info;
|
delete info;
|
||||||
}
|
}
|
||||||
|
@ -100,7 +104,9 @@ void Toplevel::copyToDeleted( Toplevel* c )
|
||||||
frame = c->frame;
|
frame = c->frame;
|
||||||
wspace = c->wspace;
|
wspace = c->wspace;
|
||||||
window_pix = c->window_pix;
|
window_pix = c->window_pix;
|
||||||
|
#ifdef HAVE_XDAMAGE
|
||||||
damage_handle = None;
|
damage_handle = None;
|
||||||
|
#endif
|
||||||
damage_region = c->damage_region;
|
damage_region = c->damage_region;
|
||||||
repaints_region = c->repaints_region;
|
repaints_region = c->repaints_region;
|
||||||
is_shape = c->is_shape;
|
is_shape = c->is_shape;
|
||||||
|
|
Loading…
Reference in a new issue