Merge lp:~ricotz/plank/hidpi into lp:plank
Proposed by
Rico Tzschichholz
Status: | Merged | ||||
---|---|---|---|---|---|
Merged at revision: | 1008 | ||||
Proposed branch: | lp:~ricotz/plank/hidpi | ||||
Merge into: | lp:plank | ||||
Diff against target: |
259 lines (+88/-23) 6 files modified
configure.ac (+10/-0) lib/DockRenderer.vala (+25/-5) lib/Factories/AbstractMain.vala (+3/-0) lib/HideManager.vala (+13/-0) lib/PositionManager.vala (+33/-18) vapi/compat.vapi (+4/-0) |
||||
To merge this branch: | bzr merge lp:~ricotz/plank/hidpi | ||||
Related bugs: |
|
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Cassidy James Blaede (community) | Approve | ||
Docky Core | Pending | ||
Review via email: mp+210035@code.launchpad.net |
Description of the change
Simple hack to figure out what needs to be done to support HiDPI
The main problem are Pixbuf based drawings with need to be upscaled by the scale-factor and downscaled for the dock-rendering again. The Gdk-API is providing scaled coords automatically. On the other hand Wnck is working with the real unscaled dimensions.
Run with "GDK_SCALE=2 src/plank"
To post a comment you must log in.
This looks to be doing the right thing when run with GDK_SCALE=2.