mirror of
https://github.com/servo/servo.git
synced 2025-08-07 14:35:33 +01:00
style: Don't draw window decorations when painting headerbar on wayland
This is a better fix for the double decorations than clipping them using CSS. Differential Revision: https://phabricator.services.mozilla.com/D133871
This commit is contained in:
parent
98b49f8023
commit
9e7b8e9202
1 changed files with 1 additions and 2 deletions
|
@ -652,7 +652,7 @@ macro_rules! bool_pref_feature {
|
|||
/// to support new types in these entries and (2) ensuring that either
|
||||
/// nsPresContext::MediaFeatureValuesChanged is called when the value that
|
||||
/// would be returned by the evaluator function could change.
|
||||
pub static MEDIA_FEATURES: [MediaFeatureDescription; 58] = [
|
||||
pub static MEDIA_FEATURES: [MediaFeatureDescription; 57] = [
|
||||
feature!(
|
||||
atom!("width"),
|
||||
AllowsRanges::Yes,
|
||||
|
@ -919,7 +919,6 @@ pub static MEDIA_FEATURES: [MediaFeatureDescription; 58] = [
|
|||
atom!("-moz-gtk-csd-reversed-placement"),
|
||||
GTKCSDReversedPlacement
|
||||
),
|
||||
lnf_int_feature!(atom!("-moz-gtk-wayland"), GTKWayland),
|
||||
lnf_int_feature!(atom!("-moz-system-dark-theme"), SystemUsesDarkTheme),
|
||||
bool_pref_feature!(
|
||||
atom!("-moz-proton-places-tooltip"),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue