Markus Ongyerth
b84288af16
Remove unused tablet_pad list from tools
7 years ago
Markus Ongyerth
101080a382
Another feedback pass
7 years ago
Markus Ongyerth
6b51f3b57a
use previous resource versions and destroy pads
7 years ago
Markus Ongyerth
48e2cba9b6
Handle relative motion for mouse tools
7 years ago
Markus Ongyerth
503f9d6e52
emersion feedback
...
Introduce TABLET_MANAGER_VERSION and remove the wlr_tablet_tool_tool.c
7 years ago
Markus Ongyerth
5cbdd13df8
remove unused wl_listener
7 years ago
Markus Ongyerth
3be916f9b8
Add asserts and rename destroy function in libinput backend
7 years ago
Markus Ongyerth
2bc09d91c3
Silent conversion from double to int should be illegal
7 years ago
Markus Ongyerth
dc525a9c5f
Clean up serial handling and automate proximity acompaning events
7 years ago
Markus Ongyerth
25c2808153
Clean up serial handling
7 years ago
Markus Ongyerth
88a4b908d1
Hide pad auxiliary data in .c file
7 years ago
Markus Ongyerth
fa39fd178d
Split tablet_v2 implementation for easier maintainance
7 years ago
Markus Ongyerth
2c12011472
Send all tablet tool axis events
7 years ago
Markus Ongyerth
6a40561e4c
Fix clang build errors
7 years ago
Markus Ongyerth
2155c976f6
Improve inert resource handling
7 years ago
Markus Ongyerth
b79d11395c
Hook up set_cursor in rootston
7 years ago
Markus Ongyerth
0c9a26828a
Use wlr_list for paths, and improve inert resource handling
7 years ago
Markus Ongyerth
adba68a3c1
Use tablet_tool impl in libinput backend
7 years ago
Markus Ongyerth
31cec36b74
1st feedback pass
...
Rename make_ functions to _create
Implement set_cursor and set_feedback
7 years ago
Markus Ongyerth
15870ceb4b
Fix segfaultiness
7 years ago
Markus Ongyerth
599f84f736
Fix borked rebase
7 years ago
Markus Ongyerth
5c7a37f309
Add tool buttons
7 years ago
Markus Ongyerth
391eef6ea9
Propagate most axis events to clients
7 years ago
Markus Ongyerth
f375246657
Implement basic tablet_pad handling (bound to keyboard focus)
7 years ago
Markus Ongyerth
f696e980f1
stabilise tablet_v2 code (prevent bunch of crashes)
7 years ago
Markus Ongyerth
e235f7d336
Basic tablet_v2 object lifetime
7 years ago
Markus Ongyerth
77bac448cc
storage commit #2
7 years ago
Markus Ongyerth
4947295c8f
convoluted tablet code
7 years ago
Markus Ongyerth
000b305ecc
backend/libinput: Manage tablet tool livetimes
...
This adds the management code to manage tablet tools lifetimes from
libinput.
It follows the suggestion made in the tablet-unstable-v2.xml to destroy
tablet_tools once all tablets that it got into contact with were removed
from the system. This is implemented via a refcount.
If a tool is *not* unique, it will be destroyed on proximity out. This
is libinput specific and mentioned in libinput docs that tools will not
be found again, so we shouldn't keep a reference to them.
Also they can't be on other tablets as well, because they cannot be
tracked.
The naming in this commit is a bit off (to not break things).
The wlr names stay the same, tablet_tool is the libinput_device with
capaiblity LIBINPUT_DEVICE_CAP_TABLET_TOOL which is more akin to
"tablet" in the tablet-unstable-v2 protocol.
The struct that corresponds to the tablet_tool in tablet-unstable-v2 is
called tablet_tool_tool, a rename should be done at some point in the
future.
7 years ago
Markus Ongyerth
bf8751d632
Start tablet protocol
7 years ago
Drew DeVault
4984ea49ee
Merge pull request #1132 from emersion/fix-screencopy-frame-error
...
screencopy: fix segfault when client supplies invalid buffer
7 years ago
Drew DeVault
b902c2bd7c
Revert "Move side-effect out of assert statement"
...
This reverts commit a0afedcd8f
.
7 years ago
emersion
935a3f2ebb
screencopy: fix segfault when client supplies invalid buffer
7 years ago
Drew DeVault
a0afedcd8f
Move side-effect out of assert statement
7 years ago
Drew DeVault
3ae423b0e3
Merge pull request #1130 from emersion/surface-opaque
...
Add wlr_surface.opaque_region
7 years ago
emersion
5bb272d7f3
surface: add wlr_surface.opaque_region
7 years ago
emersion
c4915d1492
render: add wlr_texture_is_opaque
7 years ago
emersion
d8bbdf3bd5
Merge pull request #1128 from agx/unbreak-xvfb
...
Unbreak xvfb
7 years ago
Drew DeVault
e226e2c011
Missed some old wlr_log calls
7 years ago
Drew DeVault
c0b4217fce
Merge pull request #1116 from emersion/surface-role
...
surface: replace wlr_surface_set_role_committed with wlr_surface_role
7 years ago
Guido Günther
40fe252c2d
x11: make sure event source is drained
...
Otherwise running under Xvfb will not deliver any events. This results
in e.g. weston-info reporting a 0x0 window size (which results in all
sorts of problems).
7 years ago
Guido Günther
8515b7c65b
x11: use correct type for events in wl_event_loop_add_fd
7 years ago
Guido Günther
e463b49166
x11: Check if xcb_configure_window worked
...
So far we did not check for any errors
7 years ago
Drew DeVault
2518de655c
Merge pull request #1126 from emersion/wlr-log-prefix
...
util: add wlr_ prefix to log symbols
7 years ago
emersion
7cbef15206
util: add wlr_ prefix to log symbols
7 years ago
emersion
e78d72f42e
Merge pull request #1124 from 5nefarious/handle-32bit-time
...
fix: handle 32 bit time_t (or smaller)
7 years ago
Arvin Ignaci
fad62a3e1c
fix: handle 32 bit time_t (or smaller)
7 years ago
Drew DeVault
ffc8780893
Merge pull request #1121 from emersion/rename-wl-resources-global
...
Rename wl_resources to resource, wl_global to global
7 years ago
emersion
deeca53e33
Rename wl_resources to resource, wl_global to global
7 years ago
emersion
66ac9e7f49
Merge pull request #1120 from vilhalmer/gamma-control-set-bail-on-destroyed-resource
...
Bail from setting gamma on destroyed resource
7 years ago