|
|
|
@ -703,9 +703,8 @@ wlsc_output_repaint(struct wlsc_output *output) |
|
|
|
|
using_hardware_cursor = 0; |
|
|
|
|
|
|
|
|
|
es = container_of(ec->surface_list.next, struct wlsc_surface, link); |
|
|
|
|
if (es->fullscreen_output == output) { |
|
|
|
|
if (es->visual == &ec->compositor.rgb_visual && |
|
|
|
|
using_hardware_cursor) { |
|
|
|
|
|
|
|
|
|
if (es->visual == &ec->compositor.rgb_visual && using_hardware_cursor) { |
|
|
|
|
if (output->prepare_scanout_surface(output, es) == 0) { |
|
|
|
|
/* We're drawing nothing now,
|
|
|
|
|
* draw the damaged regions later. */ |
|
|
|
@ -716,6 +715,7 @@ wlsc_output_repaint(struct wlsc_output *output) |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
if (es->fullscreen_output == output) { |
|
|
|
|
if (es->width < output->width || |
|
|
|
|
es->height < output->height) |
|
|
|
|
glClear(GL_COLOR_BUFFER_BIT); |
|
|
|
|