display: Mode compare takes interlaced into account
When changing the display mode, the apply button does not appear if the current mode and new mode differ only in their interlaced flag. The display mode comparison function now takes the interlaced flag into account.
This commit is contained in:
parent
4e6aa67fa4
commit
b4809cd210
1 changed files with 2 additions and 1 deletions
|
@ -70,7 +70,8 @@ cc_display_mode_dbus_equal (const CcDisplayModeDBus *m1,
|
|||
|
||||
return m1->width == m2->width &&
|
||||
m1->height == m2->height &&
|
||||
m1->refresh_rate == m2->refresh_rate;
|
||||
m1->refresh_rate == m2->refresh_rate &&
|
||||
(m1->flags & MODE_INTERLACED) == (m2->flags & MODE_INTERLACED);
|
||||
}
|
||||
|
||||
static void
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue