Fix flickering when switching VT

This commit is contained in:
emersion 2018-01-27 11:16:42 +01:00
parent 7111dd79ef
commit 7adf13e284
No known key found for this signature in database
GPG key ID: 0FDE7BE0E88F5E48
3 changed files with 10 additions and 7 deletions

View file

@ -184,11 +184,6 @@ void wlr_output_update_mode(struct wlr_output *output,
void wlr_output_update_custom_mode(struct wlr_output *output, int32_t width,
int32_t height, int32_t refresh) {
if (output->width == width && output->height == height &&
output->refresh == refresh) {
return;
}
output->width = width;
output->height = height;
wlr_output_update_matrix(output);