Louis-Francis Ratté-Boulianne
dce3dacc37
xwayland: Remove transform listener when destroying the wm
...
Fix a segfault occuring after the last X window was closed.
11 years ago
Armin K
aac6021bc0
autotools: Add an option to install demo clients
...
This patch adds a configure option which will enable
user to install demo clients if desired. It is disabled
by default.
v2: Remove AC_DEFINE as it is not necesary
11 years ago
Armin K
77ab1721b8
autotools: Rename demo clients
...
Prefix demo clients names with weston-, so they can
be installed if user desires.
11 years ago
Kristian Høgsberg
0af26c4fe7
evdev: Suport old-style single-touch touch screens
...
These screens send only BTN_TOUCH and ABS_X/Y.
11 years ago
Kristian Høgsberg
58014bbba8
evdev: Use temporary x and y coordinates when applying calibration
...
Don't overwrite device->abs.x halfway through the matrix multiplication.
11 years ago
Kristian Høgsberg
cee407e0c0
evdev: Don't add output offset in evdev_process_absolute_motion()
...
We do that in weston_output_transform_coordinate() now.
11 years ago
Kristian Høgsberg
4162483d74
window.c: Simplify window_create()
11 years ago
Kristian Høgsberg
b886212545
Use xmalloc in desktop-shell.c
11 years ago
Kristian Høgsberg
87d38418a1
compositor-x11: Use assert(0) instead of return NULL for non-reachable code
11 years ago
Kristian Høgsberg
8eeb30b9d1
window.c: Use xmalloc for frame_create()
11 years ago
Kristian Høgsberg
9a6c48d0fd
cliptest: Use xmalloc in cliptest
11 years ago
Kristian Høgsberg
46118f8197
clipboard: Fix fd leak
...
We never closed the reading end of the pipe after copying data to the
clipboard.
11 years ago
Kristian Høgsberg
5e76a49d9c
Rename wl_data_offer to weston_data_offer
...
Another left-over from when we moved the input structs.
11 years ago
Kristian Høgsberg
0e17de1c0b
udev: Use WL_OUTPUT udev attribute for pairing touchscreens to outputs
11 years ago
Kristian Høgsberg
f2807701d9
weston-launch: Switch to regular poll
...
epoll doesn't provide any convenince here and is just awkward to use.
11 years ago
Kristian Høgsberg
636156d5f6
weston-launch: Don't start new session unless -u is given
11 years ago
Kristian Høgsberg
ab4999492c
weston-launch: Drop sleep_fork option
11 years ago
Kristian Høgsberg
ca70f2fc68
weston-launch: Move child setup and exec to its own function
11 years ago
Kristian Høgsberg
7ff3bdb5f7
Rename wl_data_source to weston_data_source
...
Missed this rename when we moved the input structs over from wayland.
11 years ago
Kristian Høgsberg
862814b2e6
clipboard: Handle OOM in clipboard_source_create()
11 years ago
Kristian Høgsberg
ce27841be5
clients: Introduce xmalloc() and use it a few places
...
For the sample clients we introduce xmalloc() to simplify OOM-handling.
This patch only converts a few callsites, but this will be our strategy
going forward.
11 years ago
Kristian Høgsberg
c0bf8173dd
shared: Add out-of-memory handling to theme_create()
11 years ago
Kristian Høgsberg
3c95e70496
compositor: Move weston-launch socket lookup to drm backend
...
This is the only backend that uses the launcher, so let's set it
up there.
11 years ago
Kristian Høgsberg
9e5d7d17a7
shell: Remove redundant weston_pointer field from shell_grab
...
This is already in weston_grab.
11 years ago
Kristian Høgsberg
97e806f138
evdev: Use weston_output_transform_coordinate for evdev touch screens
11 years ago
Kristian Høgsberg
98c774f1c0
compositor: Move device coordinate transform helper to compositor.c
...
This function transform input coordinates from output space to
compositor space and is useful for X input as well as touch screen input.
11 years ago
Kristian Høgsberg
5addaa1820
simple-touch: Attach buffer before posting damage
11 years ago
Kristian Høgsberg
18684d442e
weston-launch: Ignore sighup
...
When our session terminates all processes get a SIGHUP. We need to ignore
that in weston-launch and stay around to help weston shut down properly.
https://bugs.freedesktop.org/show_bug.cgi?id=63004
11 years ago
Kristian Høgsberg
a684b5a3d5
Bump version to 1.2.0
12 years ago
Rob Bradford
5f087746ee
window: Disregard motion events outside our current surface dimensions
...
It is possible to receive a motion event that was generated by the
compositor based on a pick of a surface of old dimensions. This was
triggerable on toytoolkit clients when minimising. The new window
dimensions were propagated through the widget hierarchy before the event
was dispatched.
This issue was triggering a segfault due to the focussed widget being
lost as the client code tried to identify which widget should have the
focus using co-ordinates outside the dimensions of the surface.
https://bugs.freedesktop.org/show_bug.cgi?id=66795
12 years ago
Rob Bradford
7000283741
editor: Support shift-left/right for selecting text
...
If the shift modifier is active then we don't make the cursor and the
anchor the same and as a result we develop a selection in the direction
that the arrow key gets pressed in.
https://bugs.freedesktop.org/show_bug.cgi?id=66802
12 years ago
Rob Bradford
bdeb5d224d
shell: Respect output transformation for input panel surface
...
Rather than using the dimensions in the mode we can use the recently
added output width and height members which are updated to reflect any
output rotation.
https://bugs.freedesktop.org/show_bug.cgi?id=66798
12 years ago
Rob Bradford
3c9d967688
window: Allow popup menu when the window is maximised
...
https://bugs.freedesktop.org/show_bug.cgi?id=66793
12 years ago
Peng Wu
3cd1f860a0
wcap: Fix README typo
12 years ago
Yanko Kaneti
9b78adfe9d
configure.ac: Set automake conditional after testing for colord pkg
12 years ago
Kristian Høgsberg
46cb4a9513
Bump versionto 1.1.91
12 years ago
Peter Maatman
b9a23f4fb8
clients/editor.c: Draw cursor at correct verical position
...
With this patch, the editor cursor now moves up and down correctly
instead of having the top part stuck on the first line.
12 years ago
Peter Maatman
08c38d4bc5
clients/editor.c: Ignore ESC key
...
Otherwise, editor would print the "unknown UTF-8 glyph" boxes.
12 years ago
Rob Bradford
e1ad1d2498
tablet-shell: Avoid infinite loop when unlocking
...
weston_compositor_wake will fire the signal that the unlock handler is
setup as the listener for. Instead lets change the state to HOME which
unlocks.
12 years ago
Rob Bradford
6cf9b01e88
tablet-shell: Fix copy and paste error in unlock handler
...
The signal handler was using the wrong member to find the containing
structure of the unlock listener.
https://bugs.freedesktop.org/show_bug.cgi?id=57637
12 years ago
Kristian Høgsberg
919cddb0ab
Convert to wl_global_create/destroy()
12 years ago
Kristian Høgsberg
ac3a8b83fd
tests: Fix warnings in config-parser-test
12 years ago
Quentin Glidic
d2d70f2aeb
tests: Move config-parser.test to tests/
...
Signed-off-by: Quentin Glidic <sardemff7+git@sardemff7.net>
12 years ago
Peng Wu
f291f20553
Use the average width of ASCII glyphs for cell width
...
As some CJK fonts are dual-width, calculate the average width of ASCII
glyphs and use that instead of the max_x_advance of the font. This is
what VTE does too.
https://bugs.freedesktop.org/show_bug.cgi?id=63796
12 years ago
Kristian Høgsberg
aaadc774a7
input: Remove wl_seat global when a seat is destroyed
...
The input code was relying on compositor destruction to clean up the
global, but that doesn't work when the global comes and goes dynamically.
https://bugs.freedesktop.org/show_bug.cgi?id=65913
12 years ago
Kristian Høgsberg
fa514b496e
xwayland: Don't allow resizing to 0x0 or less
...
X windows have to be at least 1x1 pixels.
https://bugs.freedesktop.org/show_bug.cgi?id=63510
12 years ago
Kristian Høgsberg
07d48a306e
weston-launch: Fix the typo for real this time
...
Thanks to MonkeyofDoom for point this out. I'm still adjusting to the
fact that there's no 'd' in privilege, but I'll get over it.
12 years ago
Kristian Høgsberg
9dadfb5352
compositor: Eliminate marshalling warning for leave events
...
Don't NULL the resource pointer before calling weston_surface_destroy().
We use to have more of a distinction between compositor created surfaces
and client surfaces, and weston_surface_destroy couldn't be used for
client surfaces. Now it all goes through weston_surface_destroy() and
we can remove the assert and the NULL-ing of resource, which caused the
marshalling warning.
12 years ago
Giulio Camuffo
708b8af018
input: check if the resource is valid in seat_get_pointer
...
seat->pointer->focus->resource can be NULL, if the surface was
created with weston_surface_create.
12 years ago
Hardening
c077a8435d
Document RDP compositor options
...
Help was missing for the RDP compositor, this patch gives details
about available options.
12 years ago