diff options
| author | Dana Jansens <danakj@orodu.net> | 2002-05-02 04:44:19 +0000 |
|---|---|---|
| committer | Dana Jansens <danakj@orodu.net> | 2002-05-02 04:44:19 +0000 |
| commit | 445e28af9aeb385f5ec40213ea66b0a32c8a06ed (patch) | |
| tree | 59db145521321d5d55a2dc67971e3a1562dfc2d9 /src/Workspace.cc | |
| parent | ba832151d037225f086c8d7ff1de31f94c50cd09 (diff) | |
windows at positions x<0 or y<0 are no longer ignored in the placing code
Diffstat (limited to 'src/Workspace.cc')
| -rw-r--r-- | src/Workspace.cc | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/src/Workspace.cc b/src/Workspace.cc index 38581d5a..a9fbcdb9 100644 --- a/src/Workspace.cc +++ b/src/Workspace.cc @@ -545,10 +545,7 @@ Point *Workspace::colSmartPlacement(const Size &win_size, const Rect &space) { sort(spaces.begin(),spaces.end(),colLRBT); else sort(spaces.begin(),spaces.end(),colRLBT); - fprintf(stderr,"Spaces after sorting\n"); - for (siter=spaces.begin(); siter!=spaces.end(); ++siter) - fprintf(stderr,"space(%d,%d)(%d,%d)\n",siter->x(),siter->y(), - siter->x()+siter->w(),siter->y()+siter->h()); + //Find first space that fits the window best = NULL; for (siter=spaces.begin(); siter!=spaces.end(); ++siter) |
