From 5d94735fde23fb1addaf17559eb64d1723b5173f Mon Sep 17 00:00:00 2001 From: sabetts Date: Thu, 24 Jan 2002 06:30:15 +0000 Subject: * src/manage.c (send_configure): Change parameters to X11 window, x, y, width, height and border. Prototype updated. All callers updated. * src/events.c (configure_request): For the changes variable, fill in geometry parameters not part of the request with the window's geometry. * src/manage.c (update_normal_hints): improve debugging output. --- src/manage.c | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) (limited to 'src/manage.c') diff --git a/src/manage.c b/src/manage.c index f1ac058..7c5c148 100644 --- a/src/manage.c +++ b/src/manage.c @@ -230,22 +230,22 @@ update_window_name (rp_window *win) /* Send an artificial configure event to the window. */ void -send_configure (rp_window *win) +send_configure (Window w, int x, int y, int width, int height, int border) { XConfigureEvent ce; ce.type = ConfigureNotify; - ce.event = win->w; - ce.window = win->w; - ce.x = win->x; - ce.y = win->y; - ce.width = win->width; - ce.height = win->height; - ce.border_width = win->border; + ce.event = w; + ce.window = w; + ce.x = x; + ce.y = y; + ce.width = width; + ce.height = height; + ce.border_width = border; ce.above = None; ce.override_redirect = 0; - XSendEvent (dpy, win->w, False, StructureNotifyMask, (XEvent*)&ce); + XSendEvent (dpy, w, False, StructureNotifyMask, (XEvent*)&ce); } void -- cgit v1.2.3