After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 165381 - Window placement doesn't take into account the right list of windows
Window placement doesn't take into account the right list of windows
Status: RESOLVED FIXED
Product: metacity
Classification: Other
Component: general
trunk
Other Linux
: Normal normal
: ---
Assigned To: Metacity maintainers list
Metacity maintainers list
Depends on:
Blocks:
 
 
Reported: 2005-01-27 07:11 UTC by Elijah Newren
Modified: 2005-01-28 14:14 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
take into account the appropriate list of windows when placing a new one (2.98 KB, patch)
2005-01-27 07:12 UTC, Elijah Newren
accepted-commit_now Details | Review

Description Elijah Newren 2005-01-27 07:11:32 UTC
place.c:751 uses the rule
  !w->minimized && w != window && window->workspace == w->workspace
to determine whether a window w should be taken into account when trying to
place window.  This takes into account some windows that shouldn't be: windows
that may be hidden due to a desktop being shown and windows that are minimized
implicitly because they have an ancestor that is.  The list could of course grow
in the future as well.  It also might neglect to account for some sticky windows
that should be accounted for (my fault--introduced by patch in bug 156182).

I will attach a patch in a minute that fixes this issue.
Comment 1 Elijah Newren 2005-01-27 07:12:13 UTC
Created attachment 36590 [details] [review]
take into account the appropriate list of windows when placing a new one
Comment 2 Elijah Newren 2005-01-28 14:14:48 UTC
committed (with the obvious and simple fix to take into a account the trivial
conflict from the patch in bug 165377)