Markus Ongyerth
6b51f3b57a
use previous resource versions and destroy pads
6 years ago
Markus Ongyerth
48e2cba9b6
Handle relative motion for mouse tools
6 years ago
Markus Ongyerth
503f9d6e52
emersion feedback
...
Introduce TABLET_MANAGER_VERSION and remove the wlr_tablet_tool_tool.c
6 years ago
Markus Ongyerth
5cbdd13df8
remove unused wl_listener
6 years ago
Markus Ongyerth
3be916f9b8
Add asserts and rename destroy function in libinput backend
6 years ago
Markus Ongyerth
2bc09d91c3
Silent conversion from double to int should be illegal
6 years ago
Markus Ongyerth
dc525a9c5f
Clean up serial handling and automate proximity acompaning events
6 years ago
Markus Ongyerth
25c2808153
Clean up serial handling
6 years ago
Markus Ongyerth
88a4b908d1
Hide pad auxiliary data in .c file
6 years ago
Markus Ongyerth
fa39fd178d
Split tablet_v2 implementation for easier maintainance
6 years ago
Markus Ongyerth
2c12011472
Send all tablet tool axis events
6 years ago
Markus Ongyerth
6a40561e4c
Fix clang build errors
6 years ago
Markus Ongyerth
2155c976f6
Improve inert resource handling
6 years ago
Markus Ongyerth
b79d11395c
Hook up set_cursor in rootston
6 years ago
Markus Ongyerth
0c9a26828a
Use wlr_list for paths, and improve inert resource handling
6 years ago
Markus Ongyerth
adba68a3c1
Use tablet_tool impl in libinput backend
6 years ago
Markus Ongyerth
31cec36b74
1st feedback pass
...
Rename make_ functions to _create
Implement set_cursor and set_feedback
6 years ago
Markus Ongyerth
15870ceb4b
Fix segfaultiness
6 years ago
Markus Ongyerth
599f84f736
Fix borked rebase
6 years ago
Markus Ongyerth
5c7a37f309
Add tool buttons
6 years ago
Markus Ongyerth
391eef6ea9
Propagate most axis events to clients
6 years ago
Markus Ongyerth
f375246657
Implement basic tablet_pad handling (bound to keyboard focus)
6 years ago
Markus Ongyerth
f696e980f1
stabilise tablet_v2 code (prevent bunch of crashes)
6 years ago
Markus Ongyerth
e235f7d336
Basic tablet_v2 object lifetime
6 years ago
Markus Ongyerth
77bac448cc
storage commit #2
6 years ago
Markus Ongyerth
4947295c8f
convoluted tablet code
6 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.
6 years ago
Markus Ongyerth
bf8751d632
Start tablet protocol
6 years ago
Drew DeVault
4984ea49ee
Merge pull request #1132 from emersion/fix-screencopy-frame-error
...
screencopy: fix segfault when client supplies invalid buffer
6 years ago
Drew DeVault
b902c2bd7c
Revert "Move side-effect out of assert statement"
...
This reverts commit a0afedcd8f
.
6 years ago
emersion
935a3f2ebb
screencopy: fix segfault when client supplies invalid buffer
6 years ago
Drew DeVault
a0afedcd8f
Move side-effect out of assert statement
6 years ago
Drew DeVault
3ae423b0e3
Merge pull request #1130 from emersion/surface-opaque
...
Add wlr_surface.opaque_region
6 years ago
emersion
5bb272d7f3
surface: add wlr_surface.opaque_region
6 years ago
emersion
c4915d1492
render: add wlr_texture_is_opaque
6 years ago
emersion
d8bbdf3bd5
Merge pull request #1128 from agx/unbreak-xvfb
...
Unbreak xvfb
6 years ago
Drew DeVault
e226e2c011
Missed some old wlr_log calls
6 years ago
Drew DeVault
c0b4217fce
Merge pull request #1116 from emersion/surface-role
...
surface: replace wlr_surface_set_role_committed with wlr_surface_role
6 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).
6 years ago
Guido Günther
8515b7c65b
x11: use correct type for events in wl_event_loop_add_fd
6 years ago
Guido Günther
e463b49166
x11: Check if xcb_configure_window worked
...
So far we did not check for any errors
6 years ago
Drew DeVault
2518de655c
Merge pull request #1126 from emersion/wlr-log-prefix
...
util: add wlr_ prefix to log symbols
6 years ago
emersion
7cbef15206
util: add wlr_ prefix to log symbols
6 years ago
emersion
e78d72f42e
Merge pull request #1124 from 5nefarious/handle-32bit-time
...
fix: handle 32 bit time_t (or smaller)
6 years ago
Arvin Ignaci
fad62a3e1c
fix: handle 32 bit time_t (or smaller)
6 years ago
Drew DeVault
ffc8780893
Merge pull request #1121 from emersion/rename-wl-resources-global
...
Rename wl_resources to resource, wl_global to global
6 years ago
emersion
deeca53e33
Rename wl_resources to resource, wl_global to global
6 years ago
emersion
66ac9e7f49
Merge pull request #1120 from vilhalmer/gamma-control-set-bail-on-destroyed-resource
...
Bail from setting gamma on destroyed resource
6 years ago
vilhalmer
0260f042d2
Bail from setting gamma on destroyed resource
6 years ago
Drew DeVault
c1a6422b33
Merge pull request #1118 from emersion/xdg-output-no-noop-updates
...
xdg-output: don't send no-op updates
6 years ago