[weston v2 0/8] Implement NET_WM_SYNC_REQUEST basic support

Louis-Francis Ratté-Boulianne lfrb at collabora.com
Mon Nov 13 21:20:48 UTC 2017


Hi,

This patchset implements NET_WM_SYNC_REQUEST protocol for throtting
X11 window resizes in Weston's XWM. We wait for the window to be drawn
(by setting an alarm on the sync counter) before configuring the window
again.

I also did some small fixes the Xwayland window manager as to better
respect size hints from X11 applications and to display the title
more elegantly when there isn't enough space available.

The first sumission was a while back:

https://lists.freedesktop.org/archives/wayland-devel/2017-April/033859.html

Changes compared to previous patches are:

 - Remove some useless checks
 - Be less verbose when resizing with debug log enabled
 - Re-enable the sync extension when a new resize operation is started
   instead of just disabling it forever when something times out.

Louis-Francis Ratté-Boulianne (8):
  xwm: Implement _NET_WM_SYNC_REQUEST protocol
  xwm: Maximize windows when double-clicking on title bar
  xwm: Don't resize windows if the application have these hints
  xwm: Only send configure a window if the new size is different
  xwm: Make sure we respect the window's size hints
  xwm: Ignore configure request while the user is resizing
  xwm: Deal with title in a smarter way when there isn't enough space
  xwm: Use Pango to draw title string if available

 Makefile.am               |   2 +
 configure.ac              |   5 +-
 shared/cairo-util.c       |  86 ++++++++++---
 shared/cairo-util.h       |   4 +-
 shared/frame.c            |  10 +-
 xwayland/window-manager.c | 306 ++++++++++++++++++++++++++++++++++++++++++----
 xwayland/xwayland.h       |   5 +
 7 files changed, 374 insertions(+), 44 deletions(-)

-- 
2.13.0



More information about the wayland-devel mailing list