Commit graph

2668 commits

Author SHA1 Message Date
Dominique Martinet
8e24aaa3c6 style: fix sizeof() calls without parentheses 2017-12-28 16:28:19 +01:00
Drew DeVault
04b7701e1b
Merge pull request #534 from emersion/multi-output-fixes
Fixes for multiple outputs
2017-12-28 07:19:54 -08:00
Dominique Martinet
da3ef46daf xdg_toplevel send_configure: abort on ENOMEM instead of sending partial configure 2017-12-28 16:08:45 +01:00
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)
2017-12-28 15:09:57 +01:00
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
2017-12-28 12:17:57 +01:00
Dominique Martinet
3eb4fa15ee ENOMEM checks: consistently check wl_array_add return 2017-12-28 09:48:35 +01:00
Drew DeVault
9c163b7d38
Merge pull request #531 from acrisci/keyboard-num-keycodes
wlr-keyboard: keep track of number of keycodes pressed
2017-12-27 16:14:06 -08:00
Tony Crisci
e8b810ce3e keep track of number of keycodes pressed 2017-12-27 18:58:43 -05:00
Drew DeVault
eeb7cd8ed7
Merge pull request #529 from besser82/bugfix/exclude_headers
meson: Fix exclude_headers
2017-12-27 09:58:44 -08:00
Björn Esser
8c0fc4ffe5
meson: Fix exclude_headers 2017-12-27 18:29:27 +01:00
Drew DeVault
fea5aee9cf
Merge pull request #526 from besser82/bugfix/config_header_avoid_clashes
Further improvements to header files and shared lib version
2017-12-27 09:22:38 -08:00
Björn Esser
71e42dae90
libwlroots: Add shared library versioning 2017-12-27 18:00:13 +01:00
Björn Esser
48ecbff691
include: Generate and install version-header 2017-12-27 17:13:58 +01:00
Björn Esser
892f7a5db0
include: Install headers in an isolated include-dir 2017-12-27 17:13:58 +01:00
Björn Esser
ff13849624
config: Avoid clash with other config-headers 2017-12-27 17:13:58 +01:00
Drew DeVault
a0d2a6b445
Merge pull request #525 from acrisci/serial-validation
Serial validation for grab requests
2017-12-27 07:54:00 -08:00
Drew DeVault
4267ee2bf3 Update CONTRIBUTING.md 2017-12-27 10:39:53 -05:00
Tony Crisci
815d71a3aa validate grab serial for shell events 2017-12-27 08:04:01 -05:00
Tony Crisci
069f120b70 rootston: remove input event ring buffer 2017-12-27 07:31:53 -05:00
emersion
a79dc7df51
Merge pull request #524 from acrisci/role-committed
[wip] Role committed
2017-12-27 13:02:49 +01:00
Tony Crisci
5c5f0611c4 xwayland: role committed 2017-12-27 06:50:21 -05:00
Tony Crisci
e42d762a88 drag-icon: surface committed 2017-12-27 06:41:14 -05:00
Tony Crisci
68328700c7 wl-shell: role committed 2017-12-27 06:32:54 -05:00
Tony Crisci
e809250171
Merge pull request #519 from emersion/xwayland-primary-selection
Implement xwayland primary selection sync
2017-12-27 06:23:04 -05:00
Tony Crisci
d5ffa26564 xdg-shell: role-committed func 2017-12-27 06:15:25 -05:00
Tony Crisci
5a18f62fee add role-committed hook 2017-12-27 06:06:29 -05:00
emersion
1c9b09ca92
Add logging to selection message handlers 2017-12-27 11:58:51 +01:00
Tony Crisci
cbd76cb46f
Merge pull request #521 from acrisci/nop-command
add nop command
2017-12-27 05:49:34 -05:00
emersion
b3072f81fe
Allow calling xwm_set_seat with a NULL seat 2017-12-27 11:49:25 +01:00
Tony Crisci
6c2242e66b
Merge pull request #522 from emersion/fix-drm-output-transform-cursor
Fix cursor on transformed output with DRM backend
2017-12-27 05:48:45 -05:00
emersion
43435d4915
Add output transform helpers docs 2017-12-27 11:17:25 +01:00
Tony Crisci
47f9f91d15
Merge pull request #523 from besser82/bugfix/config_header
config: Put all defines into config.h
2017-12-27 04:30:05 -05:00
Björn Esser
57a09c8ca4
config: Put all defines into config.h 2017-12-26 18:51:27 +01:00
emersion
e737f65e38
Fix cursor on transformed output with DRM backend 2017-12-26 18:16:37 +01:00
Tony Crisci
ebf27f2027 add nop command 2017-12-26 08:41:58 -05:00
emersion
998267e291
Fix primary selection not sent to xwayland when clipboard is empty 2017-12-26 12:20:01 +01:00
emersion
4a11609b76
Fix use-after-free when destroying selection sources 2017-12-25 18:18:26 +01:00
emersion
cdc21cdcff
Properly free selection sources 2017-12-25 16:23:17 +01:00
emersion
6dffaa7bb7
Implement xwayland primary selection sync 2017-12-25 16:10:16 +01:00
Drew DeVault
4d744aeb23 Remove PKGBUILD 2017-12-24 08:18:41 -08:00
Drew DeVault
a081b3bf7b
Merge pull request #518 from martinetd/libinput_config
rootston: add arbitrary libinput config 'tap_enabled'
2017-12-24 08:17:41 -08:00
Dominique Martinet
e85c2827c8 rootston: add arbitrary libinput config 'tap_enabled'
This ought to be enough to serve as an example for other compositors to
use.
2017-12-24 14:55:38 +01:00
emersion
e04d350113
Merge pull request #515 from primeos/meson-backend-fix
Add libdrm as dependency for wlr_backend
2017-12-23 23:25:02 +01:00
Michael Weiss
e457967e3f Add libdrm as a dependency of wlr_backend
Without this patch I'm getting the following build error when building
with Nix:

FAILED: backend/wlr_backend@sta/session_direct-ipc.c.o
In file included from ../backend/session/direct-ipc.c:20:0:
/nix/store/9ac27wk5vh47p28gladbdfafpidrx9rh-libdrm-2.4.88-dev/include/xf86drm.h:40:17: fatal error: drm.h: No such file or directory
 #include <drm.h>
                 ^
compilation terminated.
2017-12-23 22:49:41 +01:00
Drew DeVault
eb410e0b6e
Merge pull request #508 from emersion/fix-rootston-seat-button-count
Fix rootston seat button count
2017-12-23 11:30:30 -08:00
Tony Crisci
e8a35a84ba
Merge pull request #509 from emersion/primary-selection
Add gtk-primary-selection protocol
2017-12-23 14:02:39 -05:00
emersion
d4d860666c
Correctly free primary selection manager & source 2017-12-23 17:43:55 +01:00
emersion
077bdfa789
Send primary selection when clients get keyboard focus 2017-12-23 00:03:15 +01:00
emersion
4476f79850
Fix primary clipboard issues 2017-12-22 23:45:07 +01:00
emersion
a95d09d561
Add missing gtk-primary-selection interfaces 2017-12-22 22:22:29 +01:00