[mutter] constraints: Remove a lie
- From: Jasper St. Pierre <jstpierre src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [mutter] constraints: Remove a lie
- Date: Thu, 1 May 2014 23:51:13 +0000 (UTC)
commit a6353944f6515ca0b4caeb54b871b9a7511ce5f9
Author: Jasper St. Pierre <jstpierre mecheye net>
Date: Thu May 1 19:15:55 2014 -0400
constraints: Remove a lie
The orig / new now are about the frame rect, not the inner window
rect.
src/core/constraints.c | 5 -----
1 files changed, 0 insertions(+), 5 deletions(-)
---
diff --git a/src/core/constraints.c b/src/core/constraints.c
index 78f4dcc..177a7d9 100644
--- a/src/core/constraints.c
+++ b/src/core/constraints.c
@@ -275,11 +275,6 @@ meta_window_constrain (MetaWindow *window,
ConstraintPriority priority = PRIORITY_MINIMUM;
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,
"Constraining %s in move from %d,%d %dx%d to %d,%d %dx%d\n",
window->desc,
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]