Go to file
Ander Conselvan de Oliveira a57c9f1b90 window: Ignore input events from subsurfaces
Toytoolkit was not designed to handle input from subsurfaces and
instead it expects subsurfaces to have an empty input region. That way
input events for subsurfaces are generated on the main surface and
there is no need to convert coordinates before reporting the event to
the user.

However it is possible that a subsurface has a non-empty input region,
but in that case those events aren't properly processed. The function
window_find_widget() assumes the coordinates are in the main surface
coordinate space, and ends up chosing the wrong widget.

This patch changes the input code to completely ignore input events from
subsurfaces. This option was chosen instead of ensuring that the input
region on those surfaces is always empty since there's no enforcement
that a subsurface should completely overlap with the main surface. If
an event happens in the area of the surface that doesn't overlap, the
event could cause a completely unrelated surface to be picked.

https://bugs.freedesktop.org/show_bug.cgi?id=78207
2014-05-12 12:50:00 -07:00
clients window: Ignore input events from subsurfaces 2014-05-12 12:50:00 -07:00
data build: Move data/Makefile.am into Makefile.am 2014-01-31 23:49:39 -08:00
desktop-shell desktop-shell: Damage the black view when we remove it 2014-05-09 16:24:07 -07:00
fullscreen-shell Add a wl_fullscreen_shell implementation 2014-04-02 21:25:56 -07:00
man compositor: add --no-config command line option 2014-05-09 15:00:01 -07:00
protocol desktop-shell: Fix order of desktop_shell messages 2014-05-12 10:05:28 -07:00
shared cairo-util: Don't show a resize cursor on edges when we're maximized 2014-04-30 21:02:37 -07:00
src compositor: add --no-config command line option 2014-05-09 15:00:01 -07:00
tests tests: load the right shell plugin 2014-05-09 15:00:32 -07:00
wcap wcap: Check for mmap and malloc return value in wcap decode module 2014-05-06 15:21:27 -07:00
xwayland compositor: Remove the edges parameter from send_configure 2014-04-30 20:53:15 -07:00
.gitignore gitignore log files, now in root directory 2014-05-12 10:06:50 -07:00
COPYING Add COPYING 2012-04-25 10:17:42 -04:00
Makefile.am build: let 'make clean' remove logs/ again 2014-05-12 10:07:03 -07:00
README README: Fix typo; add link to testing docs 2014-02-05 17:20:24 -08:00
autogen.sh Update autotools configuration 2010-11-06 21:04:03 -04:00
configure.ac configure.ac: Fix indent for screen-share option 2014-05-09 15:32:28 -07:00
notes.txt Add informal notes file 2012-10-25 15:00:42 -04:00
weston.ini.in weston.ini.in: Update path to weston-flower 2014-02-18 20:39:51 -08:00

README

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 building
weston and its dependencies.

The test suite can be invoked via `make check`; see
http://wayland.freedesktop.org/testing.html for additional details.