Find a file
Pekka Paalanen a03a93c6ea window: fix segfault in window_handle_key()
When a window destroyed, if any input had the window in keyboard
focus, the keyboard focus is reset to NULL. A new keyboard focus is set
only, if the user clicks something. If the user presses a key instead of
clicking, the key press event is sent to the client which has NULL
keyboard focus, triggering a segfault in window_handle_key().

Fix the segfault by ignoring the key event, if there is no target
window.

I triggered this segfault by clicking the unlock dialog away, and then
pressing a key.

Signed-off-by: Pekka Paalanen <ppaalanen@gmail.com>
2011-12-02 06:31:08 -05:00
clients window: fix segfault in window_handle_key() 2011-12-02 06:31:08 -05:00
compositor shell: fix resume_desktop for zero clients 2011-12-02 06:31:07 -05:00
data Fix out of source build [wayland.png] 2011-01-30 20:56:01 -05:00
protocol desktop-shell: Make panel and background output dependent 2011-11-23 20:17:54 +01:00
.gitignore Clean up .gitignore files 2010-11-11 20:11:27 -05:00
autogen.sh Update autotools configuration 2010-11-06 21:04:03 -04:00
configure.ac De-brand the tablet shell 2011-11-14 15:57:59 -05:00
Makefile.am configure: set up simple clients independently from the others 2011-07-21 08:42:58 -07:00
README Split into a demo repository that holds the demo compositor and clients 2011-02-14 22:13:33 -05:00
wayland-desktop-shell.ini desktop-shell: Add sample ini file 2011-11-14 22:57:14 -05:00
wayland-tablet-shell.ini tablet-shell: Add more interesting lock and home screens 2011-11-26 23:38:46 -05:00

Wayland Demos

This repository contains a few demos application for the Wayland
project.  There's a sample compositor that can run on KMS, under X11
or under another Wayland compositor and there's a handful of simple
clients that demonstrate various aspects of Wayland: