mirror of
https://gitlab.freedesktop.org/wlroots/wlroots.git
synced 2025-11-02 09:01:38 -05:00
Fix flickering when switching VT
This commit is contained in:
parent
7111dd79ef
commit
7adf13e284
3 changed files with 10 additions and 7 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue