Drew DeVault
f1b65b34a6
Merge pull request #1127 from emersion/surface-precommit
...
surface: add wlr_surface_role.precommit
6 years ago
Ilia Bozhinov
8b7c85d765
xdg-shell(-v6): add set_title and set_app_id toplevel signals
...
This is useful for example when rendering decorations
6 years ago
Drew DeVault
4b096fc114
Revert "Merge pull request #1153 from emersion/include-config"
...
This reverts commit ef0a6ea4d2
, reversing
changes made to 8d03bc9178
.
6 years ago
emersion
41094a7df5
Always include config.h
6 years ago
emersion
5dbf0fe7f2
linux-dmabuf: add v1 suffix
...
This prevents some future conflicts with the stable version.
Fixes #1133
6 years ago
emersion
4afd69bbe7
Remove unused types/wlr_tablet_v2.c
6 years ago
emersion
16d7e09d99
surface: add wlr_surface_role.precommit
...
This allows to emit the unmap event before the surface becomes
actually unmapped for most shells.
6 years ago
Markus Ongyerth
9a6f77fc2c
tablet-v2: fix merge commits and test again
...
There were a few issues after rebase, that the merge algorithm didn't
throw at my face:
wlr_output did a check on the actual role, not a string anymore, so that
had to go to allow tablet-v2 to set cursor surfaces.
A few L_DEBUG/L_ERRORs were still around
There was a user-after-free in tablet-group free()ing, probably after
insufficient testing from a previous feedback pass
6 years ago
Markus Ongyerth
74ca2f8fcf
Another round of feedback from acrisci
6 years ago
Markus Ongyerth
43b20bfea2
First feedback pass from acrisci
6 years ago
Markus Ongyerth
d9e978e1b3
rename wlr_tablet_tool to wlr_tablet
...
The previous naming was based on the input-device capability names from
libinput.
With code that uses the libinput_tablet_tool and mapping into tablet-v2,
this is confusing, so the name is changed to follow the names used in
the protocol.
6 years ago
Markus Ongyerth
101080a382
Another feedback pass
6 years ago
Markus Ongyerth
6b51f3b57a
use previous resource versions and destroy pads
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
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
31cec36b74
1st feedback pass
...
Rename make_ functions to _create
Implement set_cursor and set_feedback
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
bf8751d632
Start tablet protocol
6 years ago
emersion
935a3f2ebb
screencopy: fix segfault when client supplies invalid buffer
6 years ago
emersion
5bb272d7f3
surface: add wlr_surface.opaque_region
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
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
Arvin Ignaci
fad62a3e1c
fix: handle 32 bit time_t (or smaller)
6 years ago
emersion
deeca53e33
Rename wl_resources to resource, wl_global to global
6 years ago
vilhalmer
0260f042d2
Bail from setting gamma on destroyed resource
6 years ago
emersion
c19d475753
xdg-output: don't send no-op updates
...
To begin with, no-op updates are unnecessary, so this patch is an
improvement on its own.
Then, this fixes hotplugging issues with xwayland. xwayland waits
for both wl_output and xdg_output to send a "done" event. However,
it doesn't handle well desynchronized "done" updates: if xdg-output
sends "done" twice, the second one will wait for the next wl_output
"done" event. This is an issue when the first is a no-op and the
second is a real update: the second isn't applied. I've considered
patching xwayland instead, but it seems pretty complicated.
6 years ago
emersion
5fe50b9a28
output: make wl_output resources inert
6 years ago
emersion
33db4263a0
surface: replace wlr_surface_set_role_committed with wlr_surface_role
6 years ago
emersion
515d682312
surface: fix damage when moving subsurfaces with scale > 1
7 years ago
emersion
e665a74122
surface: don't clip input and opaque regions
...
These can be set to e.g. regions larger than the surface. If the
surface resizes itself, it doesn't need to set again these regions.
7 years ago
emersion
226306ed45
surface: rename wlr_surface_state.buffer to buffer_resource
7 years ago
emersion
68c133da2f
surface: fix crash on NULL commit
7 years ago
emersion
6f0eb11024
surface: fix previous state eating current state resources
7 years ago