From: Dana Jansens Date: Thu, 3 May 2007 03:19:30 +0000 (+0000) Subject: merge r5996-5998 from trunk X-Git-Tag: openbox-3_3_991-RELEASE~194 X-Git-Url: http://git.openbox.org/?a=commitdiff_plain;h=b3c89beb8979eb8a46c5210b2b14589d1d0afab7;p=dana%2Fopenbox.git merge r5996-5998 from trunk --- diff --git a/openbox/client.c b/openbox/client.c index 600acfcc..34ae4d86 100644 --- a/openbox/client.c +++ b/openbox/client.c @@ -347,8 +347,8 @@ void client_manage(Window window) /* make sure the window is visible. */ client_find_onscreen(self, &newx, &newy, - self->frame->area.width, - self->frame->area.height, + self->area.width, + self->area.height, /* non-normal clients has less rules, and windows that are being restored from a session do also. we can assume you want @@ -742,8 +742,8 @@ void client_move_onscreen(ObClient *self, gboolean rude) gint x = self->area.x; gint y = self->area.y; if (client_find_onscreen(self, &x, &y, - self->frame->area.width, - self->frame->area.height, rude)) { + self->area.width, + self->area.height, rude)) { client_move(self, x, y); } } diff --git a/openbox/event.c b/openbox/event.c index c00212f8..cbc9aaf8 100644 --- a/openbox/event.c +++ b/openbox/event.c @@ -894,6 +894,10 @@ static void event_handle_client(ObClient *client, XEvent *e) h = (e->xconfigurerequest.value_mask & CWHeight) ? e->xconfigurerequest.height : client->area.height; + ob_debug("ConfigureRequest x %d %d y %d %d\n", + e->xconfigurerequest.value_mask & CWX, x, + e->xconfigurerequest.value_mask & CWY, y); + client_find_onscreen(client, &x, &y, w, h, FALSE); client_configure_full(client, x, y, w, h, FALSE, TRUE, TRUE); } @@ -1081,6 +1085,9 @@ static void event_handle_client(ObClient *client, XEvent *e) else h = client->area.height; + ob_debug("MOVERESIZE x %d %d y %d %d\n", + e->xclient.data.l[0] & 1 << 8, x, + e->xclient.data.l[0] & 1 << 9, y); client_convert_gravity(client, grav, &x, &y, w, h); client_find_onscreen(client, &x, &y, w, h, FALSE); client_configure(client, x, y, w, h, FALSE, TRUE); diff --git a/render/render.h b/render/render.h index 3b996375..ad638ae8 100644 --- a/render/render.h +++ b/render/render.h @@ -125,7 +125,7 @@ struct _RrTextureText { gint shadow_offset_x; gint shadow_offset_y; RrColor *shadow_color; - gchar shadow_alpha; + guchar shadow_alpha; gboolean shortcut; /*!< Underline a character */ guint shortcut_pos; /*!< Position in bytes of the character to underline */ };