Fixed TTY switching (#364)

This commit is contained in:
Vaxry
2022-07-13 18:18:23 +02:00
committed by GitHub
parent ef7ee2fd0f
commit 6708f3b133
10 changed files with 70 additions and 37 deletions

View File

@@ -599,7 +599,7 @@ void CHyprRenderer::damageSurface(wlr_surface* pSurface, double x, double y) {
// schedule frame events
if (!wl_list_empty(&pSurface->current.frame_callback_list)) {
wlr_output_schedule_frame(g_pCompositor->getMonitorFromVector(Vector2D(x, y))->output);
g_pCompositor->scheduleFrameForMonitor(g_pCompositor->getMonitorFromVector(Vector2D(x, y)));
}
if (!pixman_region32_not_empty(&damageBox)) {