Sync XRDB DPI to the platform specific setting

Authored by davidedmundson on Sep 15 2017, 4:11 PM.

Description

Sync XRDB DPI to the platform specific setting

Summary:
Even though this sets up the X rdb, we want to use the value the
user has set to use when under wayland - as X apps will be scaled by the
compositor.

This ensures when I open firefox on my X or Wayland session it's the
same size.

Colors KCM part is needed as it includes ../krdb/krdb.cpp

Test Plan:
Logged in on X with my normal settings, opened Firefox
Logged in on Wayland with my normal settings, opened Firefox

Same size on both

Reviewers: Plasma, graesslin

Reviewed By: Plasma, graesslin

Subscribers: plasma-devel

Tags: Plasma

Differential Revision: https://phabricator.kde.org/D7834

Details

Committed
davidedmundsonSep 15 2017, 4:11 PM
Reviewer
Plasma
Differential Revision
D7834: Sync XRDB DPI to the platform specific setting
Parents
R119:fbbdfa100128: Use a different key for font DPI on X and Wayland
Branches
Unknown
Tags
Unknown