Calvin Lee
5a26ed645a
Allow configurable verbosity
7 years ago
emersion
9ac9ba861f
Free fullscreen surface and cursors when destroying output
7 years ago
emersion
1fe1d64042
Fix views outside output layout
7 years ago
emersion
38ed3b4245
seat: rename selection_source to selection_data_source, remove unused data_device
7 years ago
emersion
720c1154dc
Fix use-after-free when destroying an offer
7 years ago
emersion
b20aed66d6
Abstract wlr_primary_selection_source
7 years ago
emersion
062809723a
Data source resource now holds a `struct client_data_source *`
7 years ago
emersion
f237b5c7a7
Make wlr_data_source abstract.
...
This removes some fields specific to sources coming from clients.
This adds some drag'n'drop-related callbacks.
7 years ago
emersion
80ed4d4d20
Merge pull request #541 from martinetd/xwm_fixes
...
Fix xwayland restart... and add wlr_seat destroy listener.
7 years ago
Dominique Martinet
6ed1884c84
xwm_get_render_format: fix typo in error message
7 years ago
Dominique Martinet
ec952931a1
wlr_xwayland: preserve end of struct on restart
...
This is more robust than trying to recopy a few fields.
Note: wlr_xwayland->events.ready now resets after each trigger, so one can
hook on it again and be called when restart is ready
7 years ago
Dominique Martinet
a477e5d302
roots_seat_destroy: also destroy seat in public function
...
Rework the functions a bit so that the handler does the bulk of the work
except for destroying the seat itself, and the main public function
just explicitely calls the handler and destroys the seat
7 years ago
Dominique Martinet
a6fb4b007b
xwm_get_render_format: check NULL return value
7 years ago
Dominique Martinet
41649a1f9a
xwm_selection_finish: set NULL seat for xwayland
...
While they could eventually be split appart, the current approach could lead to
double wl_list_remove() calls on selections which is incorrect
7 years ago
Dominique Martinet
d7cefccaee
wlr_seat_destroy: emit seat itself as data on destroy event
7 years ago
Dominique Martinet
689004ff21
rootston seat: implement part of roots_seat_destroy
...
... and have it listen to seat destroy notifier
7 years ago
Dominique Martinet
e0eafa0429
xwayland: listen to wlr_seat destroy signal
7 years ago
Dominique Martinet
58488ec5ce
wlr_seat: add destroy signal
7 years ago
Dominique Martinet
61b91a5721
xwayland restart: copy seat and events over
...
This is very ugly, there must be a better way to do that (not memset it?)
Meanwhile, this fixes rootston xwayland on restart
7 years ago
Dominique Martinet
bb0d888f25
xwayland selection: further cleanup on Xwayland exit
...
This is necessary if our last primary/clipboard selection was on Xwayland,
and we try to paste to native wayland after Xwayland died
7 years ago
Dominique Martinet
f8a346380c
xwayland xwm_get_render_format: free reply
7 years ago
Dominique Martinet
dad9543c51
Xwayland: remove xwm from selection seat listeners on destroy
7 years ago
Drew DeVault
c23bd2ab7a
Further fixes to header install dir
7 years ago
Drew DeVault
45a21ca232
Install headers to /usr/include/wlr
...
Rather than wlroots. I should have caught this.
7 years ago
Drew DeVault
836b46c297
Merge pull request #536 from Timidger/bugfix/drm-refresh-double-send-mode-info
...
Send mode info on DRM refresh only once
7 years ago
Timidger
6e9cef4ed6
Don't send custom mode info twice on DRM refresh
7 years ago
Timidger
f56ce11aa0
Fixes #535 send mode info on DRM refresh once
...
When DRM refreshed, wlr_output_set_mode is called. It would then call
the DRM set_mode callback which sends the updated matrix and mode info.
However once that call completed it would then immediantly send the
information again. This is handled poorly by xwayland, causing it to
scale up the clients twice.
7 years ago
emersion
0fbf1a0755
Merge pull request #532 from Timidger/bugfix/fix-examples-segfaulting
...
Don't destroy backend in compositor_fini
7 years ago
emersion
0eb6bf66f4
Merge pull request #537 from Timidger/bugfix/remove-destroy-listener-on-multi-destroy
...
Remove display_destroy on multi-backend destroy
7 years ago
Timidger
1478ef3202
Remove display_destroy on multi-backend destroy
7 years ago
Timidger
56505c2635
Don't destroy backend in compositor_fini
...
This is already done after the changes in #504 , and now just causes a
segfault on closing the examples.
7 years ago
Drew DeVault
bb24895a2b
Merge pull request #533 from martinetd/wl_array_add
...
ENOMEM checks: consistently check wl_array_add return
7 years ago
Dominique Martinet
b0e440b5b1
xdg_toplevel send_configure: also post no_memory to resource on ENOMEM
7 years ago
Dominique Martinet
8e24aaa3c6
style: fix sizeof() calls without parentheses
7 years ago
Drew DeVault
04b7701e1b
Merge pull request #534 from emersion/multi-output-fixes
...
Fixes for multiple outputs
7 years ago
Dominique Martinet
da3ef46daf
xdg_toplevel send_configure: abort on ENOMEM instead of sending partial configure
7 years ago
emersion
1e6566e6cd
Fixes for multiple outputs
...
* Fixes output positions in screenshots
* Fixes Wayland backend pointer events when output layout doesn't start at (0, 0)
7 years ago
Dominique Martinet
e5dd98c7f5
xwayland/selection: handle wl_array_add failure better
...
Just abort and deregister instead of trying to throw some input out,
which would have lead to inconsistent paste
7 years ago
Dominique Martinet
3eb4fa15ee
ENOMEM checks: consistently check wl_array_add return
7 years ago
Drew DeVault
9c163b7d38
Merge pull request #531 from acrisci/keyboard-num-keycodes
...
wlr-keyboard: keep track of number of keycodes pressed
7 years ago
Tony Crisci
e8b810ce3e
keep track of number of keycodes pressed
7 years ago
Drew DeVault
eeb7cd8ed7
Merge pull request #529 from besser82/bugfix/exclude_headers
...
meson: Fix exclude_headers
7 years ago
Björn Esser
8c0fc4ffe5
meson: Fix exclude_headers
7 years ago
Drew DeVault
fea5aee9cf
Merge pull request #526 from besser82/bugfix/config_header_avoid_clashes
...
Further improvements to header files and shared lib version
7 years ago
Björn Esser
71e42dae90
libwlroots: Add shared library versioning
7 years ago
Björn Esser
48ecbff691
include: Generate and install version-header
7 years ago
Björn Esser
892f7a5db0
include: Install headers in an isolated include-dir
7 years ago
Björn Esser
ff13849624
config: Avoid clash with other config-headers
7 years ago
Drew DeVault
a0d2a6b445
Merge pull request #525 from acrisci/serial-validation
...
Serial validation for grab requests
7 years ago
Drew DeVault
4267ee2bf3
Update CONTRIBUTING.md
7 years ago