Test
This commit is contained in:
parent
672bba9ed0
commit
f5a4fe32db
|
@ -732,7 +732,7 @@ xwl_screen_init(ScreenPtr pScreen, int argc, char **argv)
|
|||
miSetPixmapDepths();
|
||||
|
||||
ret = fbScreenInit(pScreen, NULL,
|
||||
xwl_screen->width * 2, xwl_screen->height * 2,
|
||||
xwl_screen->width, xwl_screen->height,
|
||||
monitorResolution, monitorResolution, 0,
|
||||
BitsPerPixel(xwl_screen->depth));
|
||||
if (!ret)
|
||||
|
|
|
@ -470,8 +470,8 @@ ensure_surface_for_window(WindowPtr window)
|
|||
}
|
||||
|
||||
wl_region_add(region, 0, 0,
|
||||
xwl_scale_to(xwl_screen, window->drawable.width),
|
||||
xwl_scale_to(xwl_screen, window->drawable.height));
|
||||
window->drawable.width,
|
||||
window->drawable.height);
|
||||
wl_surface_set_opaque_region(xwl_window->surface, region);
|
||||
wl_region_destroy(region);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user