swindow: fix draw_context_update for north and south orientation

Signed-off-by: Julien Danjou <julien@danjou.info>
This commit is contained in:
Julien Danjou 2009-05-10 16:05:38 +02:00
parent 7bd08e683c
commit aa324d6e2b
1 changed files with 2 additions and 2 deletions

View File

@ -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: