Find a file
Neil Roberts 96d790e74b input: Emit events on all resources for a client
The Wayland protocol permits a client to request the pointer, keyboard
and touch multiple times from the seat global. This is very useful in a
component like Clutter-GTK where we are combining two libraries that use
Wayland together.

This change migrates the weston input handling code to emit the
events for all the resources for the client by using the newly added
wl_resource_for_each macro to iterate over the resources that are
associated with the focused surface's client.

We maintain a list of focused resources on the pointer and keyboard
which is updated when the focus changes. However since we can have
resources created after the focus has already been set we must add the
resources to the right list and also update any state.

Additionally when setting the pointer focus it will now send the
keyboard modifiers regardless of whether the focused client has a
pointer resource. This is important because otherwise if the client
gets the pointer later than you getting the keyboard then the
modifiers might not be up-to-date.

Co-author: Neil Roberts <neil@linux.intel.com>
2013-09-21 20:56:55 -07:00
clients Minor improvement of weston-terminal resizing 2013-09-13 15:42:28 -07:00
data window.c: frame_button: Maximize, minimize, close, icon buttons in window frame 2012-05-10 16:19:33 -04:00
man add [xwayland] path weston.ini option 2013-08-16 10:55:59 -07:00
protocol protocol: Add missing xml files to EXTRA_DIST 2012-02-26 22:29:18 -05:00
shared evdev-touchpad: Set some options using weston.ini 2013-08-12 22:42:17 -07:00
src input: Emit events on all resources for a client 2013-09-21 20:56:55 -07:00
tests Added tests for the vertex clipping code. 2013-09-16 21:40:34 -07:00
wcap Add more missing config.h #includes 2013-08-26 14:59:14 -07:00
.gitignore gitignore: Ignore test-driver 2013-03-28 14:04:05 -04:00
autogen.sh Update autotools configuration 2010-11-06 21:04:03 -04:00
configure.ac configure.ac: Only enable enable_simple_egl_clients if enable_egl is yes 2013-09-03 22:59:17 -07:00
COPYING Add COPYING 2012-04-25 10:17:42 -04:00
Makefile.am autotools: Don't use wayland-scanner.m4 2013-08-20 11:15:19 -07:00
notes.txt Add informal notes file 2012-10-25 15:00:42 -04:00
README Flesh out README a bit, link to building instructions 2012-07-20 12:26:23 -04:00
wayland-scanner.mk autotools: Don't use wayland-scanner.m4 2013-08-20 11:15:19 -07:00
weston.ini Add a --shell option to override the default desktop-shell 2013-08-26 22:07:03 -07:00

Weston

Weston is the reference implementation of a Wayland compositor, and a
useful compositor in its own right.  Weston has various backends that
lets it run on Linux kernel modesetting and evdev input as well as
under X11.  Weston ships with a few example clients, from simple
clients that demonstrate certain aspects of the protocol to more
complete clients and a simplistic toolkit.  There is also a quite
capable terminal emulator (weston-terminal) and an toy/example desktop
shell.  Finally, weston also provides integration with the Xorg server
and can pull X clients into the Wayland desktop and act as a X window
manager.

Refer to http://wayland.freedesktop.org/building.html for buiding
weston and its dependencies.