swindow: fix draw_context_update for north and south orientation
Signed-off-by: Julien Danjou <julien@danjou.info>
This commit is contained in:
parent
7bd08e683c
commit
aa324d6e2b
|
@ -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:
|
||||
|
|
Loading…
Reference in New Issue