emersion
876f07e9f1
renderer: replace wlr_texture_get_matrix by wlr_render_texture
7 years ago
emersion
1914a1aa2b
surface: drop wlr_surface_get_matrix
7 years ago
emersion
8b58e1a3ad
Merge branch 'master' into matrix-redesign
7 years ago
emersion
824a95ad19
matrix: use 2D matrices
7 years ago
emersion
de0e40d621
Merge pull request #698 from agx/linux-dmabuf
...
Add initial linux_dmabuf protocol support
7 years ago
Guido Günther
653bc282a7
Indent GLSL by two spaces
...
since this is the most established indentation
7 years ago
Guido Günther
eb4337b5ee
Wire up linux_dmabuf in rootston
7 years ago
Guido Günther
14cdb6153f
Add initial linux_dmabuf protocol support
...
Tested with
./weston-simple-dmabuf-drm
./weston-simple-dmabuf-drm --import-immediate=1
./weston-simple-dmabuf-drm --y-inverted=1
(and combinations)
Supports only single plane XRGB dmabufs for now.
7 years ago
emersion
d26b67cb06
matrix: unify API, don't use array pointers
7 years ago
emersion
b6a3f240c7
matrix: move to types/
7 years ago
Drew DeVault
85da9df807
Merge pull request #719 from acrisci/xdg-toplevel-role
...
differentiate xdg-toplevel roles
7 years ago
Tony Crisci
b2926a6c62
differentiate xdg-toplevel roles
7 years ago
Tony Crisci
efa9eeb5d5
Merge pull request #716 from emersion/fix-cursor-hotspot-update
...
Fix cursor hotspot update
7 years ago
Tony Crisci
647c2e68ba
Merge pull request #696 from emersion/fix-output-layout-destroy-global
...
output-layout: fix output global not destroyed
7 years ago
emersion
d24f868bbe
backend/drm: fix cursor hotspot not updated
7 years ago
emersion
7cdad5cde4
Merge pull request #710 from emersion/dont-move-hidden-cursors
...
output: don't move hidden cursors
7 years ago
Drew DeVault
90409b9692
Merge pull request #718 from emersion/wlroots-subproject
...
meson: use current_source_dir instead of source_root
7 years ago
emersion
375e1bdf2b
meson: use current_source_dir instead of source_root
...
Use source_root breaks the build when used as a subproject.
7 years ago
Guido Günther
2d0db16942
render: Flip textures in case of inverted_y
7 years ago
Drew DeVault
1c5e035884
Merge pull request #715 from emersion/fix-rootston-tablet-tool-destroy
...
rootston: fix segfault in handle_tablet_tool_destroy
7 years ago
emersion
9d6e17fb11
rootston: fix segfault in handle_tablet_tool_destroy
7 years ago
emersion
92ca4ad474
backend/drm: refactor wlr_drm_connector_set_cursor
7 years ago
emersion
8e3d294d6a
output: fix trailing cursor at (0, 0) on startup
7 years ago
Drew DeVault
bfc0e95d2c
Add mode support to libinput backend
...
And extend tablet example with tilt and ring support
7 years ago
emersion
a951fbb264
output: don't move hidden cursors
...
When using the DRM backend and multiple outputs, that reduces the
number of commits.
7 years ago
emersion
36dcad13d0
Merge pull request #707 from ascent12/xcb_fixes
...
Xcb fixes
7 years ago
Scott Anderson
3c9fc7c68e
Add const to x11 and input interfaces
7 years ago
Scott Anderson
902d6cc240
Use xcb atoms properly
7 years ago
Drew DeVault
c986cc24a9
Merge pull request #703 from swaywm/drop-travis
...
Remove Travis in favor of builds.sr.ht
7 years ago
Drew DeVault
925d7a4987
Remove Travis in favor of builds.sr.ht
7 years ago
Drew DeVault
3a291b189b
Merge pull request #699 from martinetd/xcb_errors
...
Print xcb errors
7 years ago
Dominique Martinet
2910972b25
xwm.h: fix guard ifdef and remove wlr_ prefix from xwm_atoms_contains
7 years ago
Drew DeVault
0713cb043f
Change .build.yml upstream to GitHub
7 years ago
Dominique Martinet
d9a724c4a2
xcb errors: init errors context at start
...
`xcb_errors_context_new` is more than just a malloc, it does a few
xcb requests so we benefit from not generating a new context everytime
7 years ago
Dominique Martinet
7d1870c6f1
move xwm.h out of include/wlr
...
xwm.h was meant to be private, so move it to include/xwayland/xwm.h
We had an ifdef WLR_HAS_XCB_ICCCM in xwayland.h which was easy to move
to xwm, it is not safe to use the WLR_HAS_* in the public headers.
I checked a few of our current users and none rely on xwm.h being
public as expected (rootston, sway, hsroots)
7 years ago
Drew DeVault
9a37a33f05
Merge pull request #701 from mikkeloscar/fix-arch-travis
...
Enable docker service in travis
7 years ago
Dominique Martinet
f481791669
xcb error: get unhandled events names
...
This provides more friendly debug messages for unhandled events,
for example:
[xwayland/xwm.c:1033] unhandled X11 event: FocusOut (10)
[xwayland/xwm.c:1033] unhandled X11 event: MappingNotify (34)
7 years ago
Mikkel Oscar Lyderik Larsen
2c10344f8f
Enable docker service in travis
...
Adds the docker service in travis which is now required by arch-travis.
See: https://github.com/mikkeloscar/arch-travis/pull/40
7 years ago
Dominique Martinet
8026cd2a06
xcb error: always log sequence
7 years ago
Drew DeVault
0775d00c39
Merge pull request #700 from martinetd/gitignore
...
Update .gitignore
7 years ago
Dominique Martinet
69697e55a1
update .gitignore
...
- Remove old cmake ignores
- Add rootston.ini (example is rootston.ini.example)
7 years ago
Dominique Martinet
6f9da97565
xcb errors: address declare-assign style
7 years ago
Dominique Martinet
f8428d1063
xcb errors: optional dependency with improved messages
...
Now message can look like:
[xwayland/xwm.c:991] xcb error: op ChangeProperty (no minor), code Window (no extension), value 6291465
instead of this one when the lib is not available:
[xwayland/xwm.c:999] xcb error: op 18:0, code 3, sequence 103, value 6291465
The value in case of Window is the window id, so we can tell what
function applied on which window which is a good start.
The sequence ought to be able to tell us more precisely which
invocation it was, but we never log it when calling functions
so is useless in practice and no longer logged.
7 years ago
Dominique Martinet
2a9ba5c8dc
xcb errors: log raw values
7 years ago
emersion
3d176fcd1a
Merge pull request #697 from martinetd/xwm_values
...
xwm: fix call of xcb_change_window_attributes for old gcc versions
7 years ago
Dominique Martinet
5ec06dcecd
xwm: fix call of xcb_change_window_attributes for old gcc versions
...
gcc 6.3.0 (at least) complains about &values:
expected ‘const uint32_t * {aka const unsigned int *}’ but argument
is of type ‘uint32_t (*)[1] {aka unsigned int (*)[1]}’
Reported by thorwil on irc
7 years ago
emersion
aa2b62fbff
output-layout: fix output global not destroyed
7 years ago
Drew DeVault
0820557c8c
Merge pull request #693 from emersion/fix-output-bind-multiple
...
Fix clients binding multiple times to the same output
7 years ago
emersion
7340cf19ea
Merge pull request #694 from Ongy/keep_current_mode
...
prevent current_mode null on output_enable(false)
7 years ago
Guido Günther
6c7e1c867c
protocol: sort protocols from wayland-protocols alphabetically
7 years ago