Handle expose events for root window.
svn path=/branches/work/kwin_composite/; revision=558264
This commit is contained in:
parent
f4f07d4fd3
commit
dfe8968d8e
2 changed files with 6 additions and 1 deletions
|
@ -472,6 +472,10 @@ bool Workspace::workspaceEvent( XEvent * e )
|
|||
XRefreshKeyboardMapping( &e->xmapping );
|
||||
tab_box->updateKeyMapping();
|
||||
break;
|
||||
case Expose:
|
||||
if( e->xexpose.window == rootWindow() && compositing())
|
||||
setDamaged(); // root window needs repainting
|
||||
break;
|
||||
default:
|
||||
break;
|
||||
}
|
||||
|
|
|
@ -169,7 +169,8 @@ Workspace::Workspace( bool restore )
|
|||
ColormapChangeMask |
|
||||
SubstructureRedirectMask |
|
||||
SubstructureNotifyMask |
|
||||
FocusChangeMask // for NotifyDetailNone
|
||||
FocusChangeMask | // for NotifyDetailNone
|
||||
ExposureMask
|
||||
);
|
||||
|
||||
Extensions::init();
|
||||
|
|
Loading…
Reference in a new issue