~minos-archive/minos/compton

Viewing all changes in revision 355.

  • Committer: Richard Grenville
  • Date: 2015-09-06 14:19:19 UTC
  • Revision ID: git-v1:c156abb0e8f954b65ebd58355b1f1aa0db974980
Bug fix #302: Use more EWMH-compliant way to determine frame extents

Bug fix: Select the larger of the X window border width and
_NET_FRAME_EXTENTS, instead of adding them together, when determining
the frame extents. (Supposedly) more EWMH compliant, as EWMH
_NET_FRAME_EXTENTS should include the X window border width already. We
did not choose to completely rely on _NET_FRAME_EXTENTS to remove the
need to keep track of whether there is a _NET_FRAME_EXTENTS, and
(hopefully) take care of some cases when it is wrong. The commit should
fix awesomeWM/awesome#425. Thanks to psychon for the information. (#302)

The commit fixes the bug in win_get_region_noframe() that the X window
border width is not considered when determining the width/height of the
window without frame, as well.

expand all expand all

Show diffs side-by-side

added added

removed removed

Lines of Context: