Diff of /branches/KDE/4.0/kdebase/workspace/kwin/layers.cpp
Parent Directory
|
Revision Log
|
Patch
| 721 |
ToplevelList Workspace::rootStackingOrder() const |
ToplevelList Workspace::rootStackingOrder() const |
| 722 |
{ |
{ |
| 723 |
Window dummy; |
Window dummy; |
| 724 |
Window* windows; |
Window* windows = NULL; |
| 725 |
unsigned int count = 0; |
unsigned int count = 0; |
| 726 |
XQueryTree( display(), rootWindow(), &dummy, &dummy, &windows, &count ); |
XQueryTree( display(), rootWindow(), &dummy, &dummy, &windows, &count ); |
| 727 |
ToplevelList ret; |
ToplevelList ret; |
| 736 |
} |
} |
| 737 |
foreach( Deleted* c, deleted ) |
foreach( Deleted* c, deleted ) |
| 738 |
ret.append( c ); |
ret.append( c ); |
| 739 |
|
if( windows != NULL ) |
| 740 |
|
XFree( windows ); |
| 741 |
return ret; |
return ret; |
| 742 |
} |
} |
| 743 |
|
|
|
|
Legend:
| Removed from v.803345 |
|
| changed lines |
| |
Added in v.804133 |
|
|