summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorElijah Newren <newren@gmail.com>2005-10-16 06:11:06 +0000
committerElijah Newren <newren@src.gnome.org>2005-10-16 06:11:06 +0000
commit9b94728b7bd93def8e3725d65e2951c9d2444467 (patch)
tree81d483d8618b380aad7e837ee4740c13651b8def
parentef6159b75768486062705caa7025a0b54104dd9f (diff)
downloadmetacity-9b94728b7bd93def8e3725d65e2951c9d2444467.tar.gz
remove the debugging information added a couple commits ago; it was
2005-10-16 Elijah Newren <newren@gmail.com> * src/window.c: (meta_window_new_with_attrs): (meta_window_apply_session_info): (meta_window_resize): (meta_window_move): (meta_window_move_resize): (meta_window_resize_with_gravity): (meta_window_configure_request): remove the debugging information added a couple commits ago; it was causing segfault when not running under Xnest (since all windows in my Xnest session had a frame); I think I found the big problem with these calls in the last commit, and I just don't think the extra debug spew is worth the extra effort anymore
-rw-r--r--ChangeLog16
-rw-r--r--src/window.c59
2 files changed, 16 insertions, 59 deletions
diff --git a/ChangeLog b/ChangeLog
index 109385b4..f3ea631a 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,19 @@
+2005-10-16 Elijah Newren <newren@gmail.com>
+
+ * src/window.c:
+ (meta_window_new_with_attrs):
+ (meta_window_apply_session_info):
+ (meta_window_resize):
+ (meta_window_move):
+ (meta_window_move_resize):
+ (meta_window_resize_with_gravity):
+ (meta_window_configure_request):
+ remove the debugging information added a couple commits ago; it was
+ causing segfault when not running under Xnest (since all windows in
+ my Xnest session had a frame); I think I found the big problem with
+ these calls in the last commit, and I just don't think the extra
+ debug spew is worth the extra effort anymore
+
2005-10-15 Elijah Newren <newren@gmail.com>
* src/constraints.c (constrain_partially_onscreen): I was supposed
diff --git a/src/window.c b/src/window.c
index fe690d9a..3f275524 100644
--- a/src/window.c
+++ b/src/window.c
@@ -687,15 +687,6 @@ meta_window_new_with_attrs (MetaDisplay *display,
*/
MetaMoveResizeFlags flags =
META_IS_CONFIGURE_REQUEST | META_IS_MOVE_ACTION | META_IS_RESIZE_ACTION;
- meta_topic (META_DEBUG_GEOMETRY,
- "Calling from %s; %d,%d +%d,%d -> %d,%d +%d,%d\n",
- __FUNCTION__,
- window->frame->rect.x + window->frame->child_x,
- window->frame->rect.y + window->frame->child_y,
- window->rect.width,
- window->rect.height,
- window->size_hints.x, window->size_hints.y,
- window->size_hints.width, window->size_hints.height);
meta_window_move_resize_internal (window,
flags,
NorthWestGravity,
@@ -876,14 +867,6 @@ meta_window_apply_session_info (MetaWindow *window,
MetaMoveResizeFlags flags =
META_DO_GRAVITY_ADJUST | META_IS_MOVE_ACTION | META_IS_RESIZE_ACTION;
- meta_topic (META_DEBUG_GEOMETRY,
- "Calling from %s; %d,%d +%d,%d -> %d,%d +%d,%d\n",
- __FUNCTION__,
- window->frame->rect.x + window->frame->child_x,
- window->frame->rect.y + window->frame->child_y,
- window->rect.width,
- window->rect.height,
- x, y, w, h);
meta_window_move_resize_internal (window,
flags,
NorthWestGravity,
@@ -2943,14 +2926,6 @@ meta_window_resize (MetaWindow *window,
MetaMoveResizeFlags flags =
(user_op ? META_IS_USER_ACTION : 0) | META_IS_RESIZE_ACTION;
- meta_topic (META_DEBUG_GEOMETRY,
- "Calling from %s; %d,%d +%d,%d -> %d,%d +%d,%d\n",
- __FUNCTION__,
- window->frame->rect.x + window->frame->child_x,
- window->frame->rect.y + window->frame->child_y,
- window->rect.width,
- window->rect.height,
- x, y, w, h);
meta_window_move_resize_internal (window,
flags,
NorthWestGravity,
@@ -2965,14 +2940,6 @@ meta_window_move (MetaWindow *window,
{
MetaMoveResizeFlags flags =
(user_op ? META_IS_USER_ACTION : 0) | META_IS_MOVE_ACTION;
- meta_topic (META_DEBUG_GEOMETRY,
- "Calling from %s; %d,%d +%d,%d -> %d,%d +%d,%d\n",
- __FUNCTION__,
- window->frame->rect.x + window->frame->child_x,
- window->frame->rect.y + window->frame->child_y,
- window->rect.width,
- window->rect.height,
- root_x_nw, root_y_nw, window->rect.width, window->rect.height);
meta_window_move_resize_internal (window,
flags,
NorthWestGravity,
@@ -2992,14 +2959,6 @@ meta_window_move_resize (MetaWindow *window,
MetaMoveResizeFlags flags =
(user_op ? META_IS_USER_ACTION : 0) |
META_IS_MOVE_ACTION | META_IS_RESIZE_ACTION;
- meta_topic (META_DEBUG_GEOMETRY,
- "Calling from %s; %d,%d +%d,%d -> %d,%d +%d,%d\n",
- __FUNCTION__,
- window->frame->rect.x + window->frame->child_x,
- window->frame->rect.y + window->frame->child_y,
- window->rect.width,
- window->rect.height,
- root_x_nw, root_y_nw, w, h);
meta_window_move_resize_internal (window,
flags,
NorthWestGravity,
@@ -3020,16 +2979,6 @@ meta_window_resize_with_gravity (MetaWindow *window,
MetaMoveResizeFlags flags =
(user_op ? META_IS_USER_ACTION : 0) | META_IS_RESIZE_ACTION;
- meta_topic (META_DEBUG_GEOMETRY,
- "Calling from %s with gravity %s; "
- "%d,%d +%d,%d -> %d,%d +%d,%d\n",
- __FUNCTION__,
- meta_gravity_to_string (gravity),
- window->frame->rect.x + window->frame->child_x,
- window->frame->rect.y + window->frame->child_y,
- window->rect.width,
- window->rect.height,
- x, y, w, h);
meta_window_move_resize_internal (window,
flags,
gravity,
@@ -4137,14 +4086,6 @@ meta_window_configure_request (MetaWindow *window,
if (event->xconfigurerequest.value_mask & (CWWidth | CWHeight))
flags |= META_IS_RESIZE_ACTION;
- meta_topic (META_DEBUG_GEOMETRY,
- "Calling from %s; %d,%d +%d,%d -> %d,%d +%d,%d\n",
- __FUNCTION__,
- window->frame->rect.x + window->frame->child_x,
- window->frame->rect.y + window->frame->child_y,
- window->rect.width, window->rect.height,
- window->size_hints.x, window->size_hints.y,
- window->size_hints.width, window->size_hints.height);
meta_window_move_resize_internal (window,
flags,
only_resize ?