Skip to content
Snippets Groups Projects
Commit 00aeb6ec authored by Deucе's avatar Deucе :ok_hand_tone4:
Browse files

More X optimizations

Now that bitmap_drv_request_some_pixels() just calls
bitmap_drv_request_pixels(), there's no point in calling expose_rect()
when ev->xexpose.count isn't zero.
parent d4c96604
No related branches found
No related tags found
1 merge request!463MRC mods by Codefenix (2024-10-20)
Pipeline #4287 passed
......@@ -870,6 +870,7 @@ static int x11_event(XEvent *ev)
expose_rect(ev->xgraphicsexpose.x, ev->xgraphicsexpose.y, ev->xgraphicsexpose.width, ev->xgraphicsexpose.height);
break;
case Expose:
if (ev->xexpose.count == 0)
expose_rect(ev->xexpose.x, ev->xexpose.y, ev->xexpose.width, ev->xexpose.height);
break;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment