mirror of
https://github.com/brl/mutter.git
synced 2024-12-24 20:12:06 +00:00
constraints: Remove a lie
The orig / new now are about the frame rect, not the inner window rect.
This commit is contained in:
parent
43d6088ebb
commit
a6353944f6
@ -275,11 +275,6 @@ meta_window_constrain (MetaWindow *window,
|
|||||||
ConstraintPriority priority = PRIORITY_MINIMUM;
|
ConstraintPriority priority = PRIORITY_MINIMUM;
|
||||||
gboolean satisfied = FALSE;
|
gboolean satisfied = FALSE;
|
||||||
|
|
||||||
/* WARNING: orig and new specify positions and sizes of the inner window,
|
|
||||||
* not the outer. This is a common gotcha since half the constraints
|
|
||||||
* deal with inner window position/size and half deal with outer. See
|
|
||||||
* doc/how-constraints-works.txt for more information.
|
|
||||||
*/
|
|
||||||
meta_topic (META_DEBUG_GEOMETRY,
|
meta_topic (META_DEBUG_GEOMETRY,
|
||||||
"Constraining %s in move from %d,%d %dx%d to %d,%d %dx%d\n",
|
"Constraining %s in move from %d,%d %dx%d to %d,%d %dx%d\n",
|
||||||
window->desc,
|
window->desc,
|
||||||
|
Loading…
Reference in New Issue
Block a user