[RFC 0/2] Notify clients when the native mode is switched

Hardening rdp.effort at gmail.com
Tue Sep 10 15:28:48 PDT 2013


This suite of patches implements notification of clients when the mode is switched.
For now, most clients aren't ready for being notified and take appropriate actions. 
The shell behaves strangely during a mode_switch(), anyway I think the underlying
logic is ok.
Comments are welcome and appreciated, as well as help on the observed shell behaviour.

Hardening (2):
  Rename current, origin, scale, origin_scale
  Notify clients on mode_switch()

 src/compositor-drm.c      |  58 ++++++++++----------
 src/compositor-fbdev.c    |   4 +-
 src/compositor-headless.c |   4 +-
 src/compositor-rdp.c      |  34 ++++++------
 src/compositor-rpi.c      |   4 +-
 src/compositor-wayland.c  |   4 +-
 src/compositor-x11.c      |  12 ++---
 src/compositor.c          | 131 +++++++++++++++++++++++++++++++++++++++-------
 src/compositor.h          |  19 +++++--
 src/evdev.c               |   8 +--
 src/gl-renderer.c         |  14 ++---
 src/pixman-renderer.c     |  12 ++---
 src/rpi-renderer.c        |   4 +-
 src/screenshooter.c       |  52 +++++++++---------
 src/shell.c               |  12 +++--
 15 files changed, 240 insertions(+), 132 deletions(-)

-- 
1.8.1.2



More information about the wayland-devel mailing list