From aa324d6e2b9b994efab509c739ff17c14dbf9a2a Mon Sep 17 00:00:00 2001 From: Julien Danjou Date: Sun, 10 May 2009 16:05:38 +0200 Subject: [PATCH] swindow: fix draw_context_update for north and south orientation Signed-off-by: Julien Danjou --- swindow.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/swindow.c b/swindow.c index 2d0582f4..2591e342 100644 --- a/swindow.c +++ b/swindow.c @@ -46,9 +46,9 @@ simplewindow_draw_context_update(simple_window_t *sw, xcb_screen_t *s) xcb_create_pixmap(globalconf.connection, s->root_depth, sw->ctx.pixmap, s->root, - sw->geometry.height, sw->geometries.internal.width); + sw->geometries.internal.height, sw->geometries.internal.width); draw_context_init(&sw->ctx, phys_screen, - sw->geometry.height, sw->geometries.internal.width, + sw->geometries.internal.height, sw->geometries.internal.width, sw->ctx.pixmap, &fg, &bg); break; case East: