From bf9a2ceeafb07b007016ad290522df95ae5f0c17 Mon Sep 17 00:00:00 2001 From: Julien Danjou Date: Tue, 4 Nov 2008 18:16:33 +0100 Subject: [PATCH] swindow: set phys_screen correctly in draw context Signed-off-by: Julien Danjou --- swindow.c | 1 + 1 file changed, 1 insertion(+) diff --git a/swindow.c b/swindow.c index c1926ce7b..10d284e6a 100644 --- a/swindow.c +++ b/swindow.c @@ -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 */