Age | Commit message (Collapse) | Author | Files | Lines |
|
|
|
This application doesn't use toytoolkit, so don't link to it. We have to
add a copy of xmalloc, to link without toytoolkit.
|
|
For the clients continue to use xmalloc() to simplify OOM-handling.
Signed-off-by: Brian Lovin <brian.j.lovin@intel.com>
|
|
Signed-off-by: Bryce Harrington <b.harrington@samsung.com>
|
|
weston-screenshooter is a helper binary that weston launches to write the
screenshot to disk. If somebody tries to launch it by hand, print a
warning and mention the screenshot keybinding.
|
|
All the clients here were missing the global_remove handler. Because
window.c did not have it, weston-desktop-shell and weston-keyboard
segfaulted on compositor exit, as they received some
wl_registry.global_remove events.
Add more or less stub global_remove handlers, so that clients do not
crash on such events. Toytoolkit and all applications would need a lot
more code to properly handle the global object removal.
Signed-off-by: Pekka Paalanen <ppaalanen@gmail.com>
|
|
This commit updates the clients and the wayland compositor backend to
use the new wl_registry mechanism and the thread safe fd API.
|
|
This is a workaround for screenshots with transformed outputs. It reorders
the output positions so the correct buffer size is determined for the final
image. This assumes the outputs are in succession on the x axis. The outputs
are rendered in their transformed state.
|
|
|
|
We had duplicated code in many places, using hardcoded paths for
temporary files into more than one path. Some cases did not bother with
O_CLOEXEC, and all hardcoded paths that might not exist.
Add an OS helper function for creating a unique anonymous file with
close-on-exec semantics. The helper uses $XDG_RUNTIME_DIR as the
directory for a file.
This patch unifies the buffer file creation in both Weston and the
clients.
As simple clients are better not linking to libshared, as it would
require e.g. Cairo, they pull the OS compatibility code directly.
Android does not have mkostemp(), so a configure test is added for it,
and a fallback used if it is not available.
Changes in v2:
remove all the alternate possible directory definitions and use
XDG_RUNTIME_DIR only, and fail is it is not set.
Signed-off-by: Pekka Paalanen <ppaalanen@gmail.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Signed-off-by: Pekka Paalanen <ppaalanen@gmail.com>
|
|
|
|
|
|
|
|
|
|
Signed-off-by: Tiago Vignatti <tiago.vignatti@intel.com>
|
|
|
|
This moves the png writing part to the client and removes the gdk-pixbuf
dependency from the compositor.
|
|
This lets us drop the wl_ prefix for the un-officual screenshooter protocol.
|
|
|
|
Use the runtime dir from XDG Base Directory Specification for creating the
socket in a directory only the user can read and write.
|
|
Avoid conflict when using wayland-{server,client} together.
|
|
|
|
Users of the client library must install an global handler to get access
to globals.
|
|
|