swindow: set phys_screen correctly in draw context

Signed-off-by: Julien Danjou <julien@danjou.info>
This commit is contained in:
Julien Danjou 2008-11-04 18:16:33 +01:00
parent 8e66a543bc
commit bf9a2ceeaf
1 changed files with 1 additions and 0 deletions

View File

@ -111,6 +111,7 @@ simplewindow_init(simple_window_t *sw,
xcb_create_pixmap(globalconf.connection, s->root_depth, sw->pixmap, s->root,
geometry.width, geometry.height);
sw->ctx.phys_screen = phys_screen;
simplewindow_draw_context_update(sw, s);
/* The default GC is just a newly created associated to the root window */