D18486: [RFC] XWayland Multi DPI support

Roman Gilg <[email protected]>
Newsgroups gmane.comp.kde.devel.kwin
Message-ID <[email protected]>
romangg created this revision.
romangg added a reviewer: KWin.
Herald added a project: KWin.
Herald added a subscriber: kwin.
romangg requested review of this revision.

REVISION SUMMARY
  This patch enables for all HiDPI aware X clients in our Wayland session Multi
  DPI support.
  
  The following patch to XWayland needs to be applied in order to work:
  <link to follow>
  
  More information about the internal mechanism can be found in the description
  and commit message of this merge request.
  
  Additionally for common browsers to work the workspace should set GDK_SCALE to
  the maximum scale factor of the output configuration.
  
  A next step would be to do this programmatically. For example workspace could
  listen to a DBus signal sent by KWin when the maximum scale factor changes.
  
  **Watch it in action here:** https://youtu.be/a8HPS3LbCCg
  
  BUG: 389191

TEST PLAN
  Manually

REPOSITORY
  R108 KWin

BRANCH
  xwlScaling

REVISION DETAIL
  https://phabricator.kde.org/D18486

AFFECTED FILES
  abstract_output.cpp
  client.cpp
  events.cpp
  geometry.cpp
  main.h
  main_wayland.cpp
  main_wayland.h
  netinfo.cpp
  platformsupport/scenes/opengl/abstract_egl_backend.cpp
  plugins/scenes/opengl/scene_opengl.cpp
  plugins/scenes/qpainter/scene_qpainter.cpp
  scene.cpp
  screens.cpp
  xcbutils.h

To: romangg, #kwin
Cc: kwin, jraleigh, GB_2, mkulinski, ragreen, jackyalcine, Pitel, iodelay, bwowk, ZrenBot, ngraham, lesliezhai, ali-mohamed, hardening, jensreuterberg, abetts, sebas, apol, mart
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.