Victor Berger
9f9e6d4329
wayland.compositor: rework the subsurface tree
...
Rework the subsurface tree by:
- forbidding subsurface loops
- storing the relative depth of a parent to its children,
finally respecting the wl_subsurface specification.
closes #23
2019-04-22 17:20:46 +02:00
Jonas Platte
c238770a1b
Remove unused imports
2019-02-24 08:23:51 +01:00
Victor Berger
3d8f22c805
Don't promise thread-safety that we can't respect
2019-02-24 08:23:51 +01:00
Victor Berger
3f2857fbf3
Update smithay to wayland-server 0.23
2019-02-24 08:23:51 +01:00
Victor Brekenfeld
cc5d55f535
rustfmt fixes
2018-12-17 16:58:49 +01:00
Victor Brekenfeld
e5f8c351c7
Check for rust_2018_idioms
2018-12-16 19:31:38 +01:00
Victor Brekenfeld
71bd64a6bf
Fix source code for 2018 edition
2018-12-16 19:31:38 +01:00
Victor Brekenfeld
dc97e0ad03
Add reexports module
2018-12-14 14:26:50 +01:00
Victor Brekenfeld
04aee7cbc9
Replace documentation links with intra rustdoc links
2018-12-13 15:14:25 +01:00
Victor Berger
d1d608ab2b
anvil: draw custom cursors and dnd icons
2018-12-11 10:21:59 +01:00
Victor Berger
280decf863
data_device: support for custom DnD icons
2018-12-11 10:21:59 +01:00
Victor Berger
f3a68fb1af
seat: support for curstom cursor images
2018-12-11 10:21:59 +01:00
Victor Brekenfeld
a3acd48cc3
fmt: rust 1.31
2018-12-08 18:31:08 +01:00
Victor Berger
5c8e362a9e
wayland.shell: Fix a leak of surfaces
2018-11-28 23:34:30 +01:00
Victor Berger
ed00fb1d47
data_device: move default_action_chooser into smithay
2018-11-22 15:37:31 +01:00
Victor Berger
cc80233318
data_device: module-level docs
2018-11-22 15:02:01 +01:00
Victor Berger
41f1b37834
data_device: let the compositor generate DnD grabs
2018-11-22 00:29:23 +01:00
Victor Berger
d41517f85b
data_device: let the compositor interact with the selection
2018-11-21 22:24:18 +01:00
Victor Berger
35645596a8
data_device: let the compositor decide the action choice strategy
2018-11-21 16:01:34 +01:00
Victor Berger
81956c8fd0
data_device: basic DnD support
2018-11-21 15:28:41 +01:00
Victor Berger
3e28358668
seat: track pressed buttons for the grab
2018-11-20 23:27:12 +01:00
Victor Berger
0434cbb90d
data_device: basic selection support
2018-11-20 11:56:04 +01:00
Victor Berger
f1251a31e6
seat: user data mechanism for Seat
2018-11-18 23:04:50 +01:00
Victor Berger
5e9ad96b0f
seat: add a keyboard focus hook
2018-11-18 23:04:30 +01:00
Victor Berger
afd92d0a3d
seat: add utilities to Seat
2018-11-17 23:10:48 +01:00
Victor Berger
03cf6ed35f
seat: KeyboardHandle::has_focus
2018-11-17 19:08:47 +01:00
Colin Benner
734d2ce996
Fmt, spelling and capitalisation fixes ( #113 )
...
* Rename priviledged to privileged in backend/drm/mod.rs
* Fix a number of typos in comments
* Fix typos in string literals
* Wrap identifiers with backticks in doc comments
* Spelling and capitalisation in doc comments
* Use XWayland in comments
This seems to be the standard capitalisation, even though the executable
is called `Xwayland`.
* Use Glium instead of glium in comments
* Use DRM and API in comments
* Fix remaining occurrence of 'priviledged'
* Reformat code to appease Travis' rustfmt
2018-10-30 13:56:30 +01:00
Tim
214759aecf
Typo
2018-10-18 10:55:21 +01:00
Victor Berger
f9bd83c3b5
wayland.seat: send keymaps in individual tempfiles
...
Send keymaps to client using a new tempfile for each client, rather than
a single shared tempfile. Doing so prevents a client from tempering with
the contents of the tempfile, which would then cause other clients to
read a corrupted keymap.
See this bug report for details:
https://bugs.freedesktop.org/show_bug.cgi?id=101595
2018-10-08 14:09:58 +02:00
Victor Berger
1618c45d4e
wayland: use AtomicUsize for SerialCounter
2018-10-08 13:55:21 +02:00
Victor Berger
139d0f3992
wayland.seat: Pointer grabbing logic
2018-10-08 13:55:21 +02:00
Victor Berger
1301fb6e62
wayland: global counter for client serials
2018-10-08 13:55:21 +02:00
Jonas Platte
a77e29d9b5
lib: Use nested imports
2018-10-07 22:39:18 +02:00
Jonas Platte
943f02b447
Refactor Seat::add_keyboard
...
With the new XkbConfig struct, it is now easier to just use xkbcommon's
default configuration, by moving the xkbcommon specific options into a
struct with according documentation.
Additionally, anvil now uses xkbcommon's defaults with all backends
(previously, the winit backend had a hardcoded french keyboard layout).
2018-10-02 23:12:35 +02:00
Victor Berger
454f874284
cargo fmt
2018-09-25 00:32:09 +02:00
Victor Berger
605895e30f
update to wayland-rs 0.21
2018-09-25 00:31:58 +02:00
Colin Benner
6d31e9e5ff
address more clippy warnings
...
Not sure how much of an improvement these are.
2018-06-29 12:30:42 +02:00
Colin Benner
4598ba0b48
address a bunch of clippy warnings
2018-06-28 11:33:49 +02:00
Victor Berger
07a98ac5e8
wayland.shm: allow buffer access to return a value
2018-05-19 19:45:04 +02:00
Victor Berger
cba56b0af8
wayland.compositor: CompositorToken is threadsafe
...
Thanks to the refactor of wayland-rs, the CompositorToken can
be make Send/Sync again.
Fixes #66 .
2018-05-13 10:24:24 +02:00
Victor Berger
6ee6fd6890
anvil: factor the input backend code
2018-05-08 12:47:09 +02:00
Victor Berger
6f52f9c75a
re-export crates that are actually part of the public API
2018-05-07 19:55:34 +02:00
Victor Berger
4fda0bef4a
review comments
2018-04-24 11:00:39 +02:00
Victor Berger
048dda59e3
wayland.shell: legacy module for wl_shell
2018-04-23 11:40:41 +02:00
Victor Berger
12e13f863b
wayland.shell.xdg: make names more explicit
2018-04-23 10:49:06 +02:00
Victor Berger
4bd1501b96
wayland.shell: don't access the data of dead surfaces during cleanup
2018-04-22 11:58:18 +02:00
Victor Berger
9c88443706
wayland.shell: clean start for wl_shell
2018-04-19 13:56:13 +02:00
Victor Berger
d97fde32e9
wayland.shell: integrate the stable xdg_shell
2018-04-18 17:44:55 +02:00
Victor Berger
b8d4b17a8a
wayland.shell: split wl and xdg & port xdg
2018-04-18 12:51:08 +02:00
Victor Berger
b80093ffda
backend.session: migrate to wayland_rs-0.20
2018-04-17 18:39:07 +02:00