emersion
a7bb48b404
render/egl: add wlr_egl_create_image_from_wl_drm
...
This allows external renderers and potential future GL-based
renderers to re-use this function.
7 years ago
Drew DeVault
b60e31e5c0
Merge pull request #794 from emersion/renderer-untie-backend
...
Untie wlr_backend from wlr_renderer
7 years ago
Drew DeVault
1b258ffceb
Merge pull request #797 from emersion/drm-cursor-transform
...
Fix cursor transform on DRM backend
7 years ago
emersion
a2391a6047
Fix cursor transform on DRM backend
7 years ago
emersion
33a2eb4b77
Untie wlr_backend from wlr_renderer
7 years ago
Drew DeVault
00e12278c7
Merge pull request #793 from emersion/x11-backend-flush-destroy-window
...
backend/x11: flush after destroying window
7 years ago
emersion
37aae0b2cd
backend/x11: flush after destroying window
...
Otherwise the destroy message is kept buffered and never reaches
the X11 server. Thanks X11.
7 years ago
Drew DeVault
96c6091f80
Merge pull request #786 from emersion/x11-backend-multiple-outputs
...
backend/x11: add support for multiple outputs
7 years ago
Drew DeVault
937362b552
FIx crash on touch down
7 years ago
Drew DeVault
6eb72a1ae5
Merge pull request #790 from orestisf1993/fix-build
...
Another gcc false positive
7 years ago
Orestis Floros
3f6823092a
Initialize roots_output to fix -Wmaybe-uninitialized
...
With -O2:
../rootston/desktop.c: In function ‘desktop_surface_at’:
../rootston/desktop.c:714:18: error: ‘roots_output’ may be used uninitialized in this function [-Werror=maybe-uninitialized]
if ((surface = layer_surface_at(roots_output,
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
&roots_output->layers[ZWLR_LAYER_SHELL_V1_LAYER_BOTTOM],
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
ox, oy, sx, sy))) {
~~~~~~~~~~~~~~~
7 years ago
Drew DeVault
8ed0e9f343
Merge pull request #789 from emersion/xwayland-h-style
...
xwyaland: fix style issues
7 years ago
emersion
90fbab6f39
xwyaland: fix style issues
7 years ago
Drew DeVault
3041612363
Merge pull request #788 from emersion/xwm-cursor-stride
...
xwayland: specify xwm cursor stride in bytes
7 years ago
Drew DeVault
23d357e371
Downgrade gles2 messages to L_DEBUG
...
L_INFO is for stuff that's useful to the user
7 years ago
emersion
692f1746cf
xwayland: specify xwm cursor stride in bytes
7 years ago
Drew DeVault
1778818a50
Don't destroying all layer surfaces on client d/c
7 years ago
emersion
5111f7df84
backend/x11: fix extra output
7 years ago
emersion
f37e8c5b6e
backend/wayland: cleanup input transform code
7 years ago
emersion
aa6ae710f7
backend/x11: fix input events
7 years ago
emersion
0a7a8cbd1c
backend/x11: add WLR_X11_OUTPUTS support
7 years ago
emersion
d4f7ced6e2
backend/x11: refactor, prepare support for multiple outputs
7 years ago
emersion
f133170ff0
Merge pull request #787 from swaywm/input-point
...
Add wlr_surface_point_accepts_input
7 years ago
Drew DeVault
e19ee6d469
Add wlr_surface_point_accepts_input
...
Ref https://github.com/swaywm/sway/pull/1674
7 years ago
Drew DeVault
2053a4c144
Add more exotic cursor for layer shell example
...
So it's more obvious that it's being set
7 years ago
Drew DeVault
2701a964cf
Merge pull request #783 from swaywm/layer-input
...
Add pointer input to layer surfaces
7 years ago
Drew DeVault
746e3759b7
Address review feedback
7 years ago
emersion
c4666918fa
Merge pull request #782 from orestisf1993/fix-build
...
Fix build error with -O2
7 years ago
Drew DeVault
168f65fb7a
Minor bugfixes
7 years ago
Drew DeVault
e3eb487dc2
Add pointer support to layer shell example
7 years ago
Orestis Floros
c9ed6fed59
Fix build error with -O2
...
../render/gles2/renderer.c: In function ‘gles2_render_texture_with_matrix’:
../render/gles2/renderer.c:140:2: error: ‘target’ may be used uninitialized in this function [-Werror=maybe-uninitialized]
glBindTexture(target, tex_id);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../render/gles2/renderer.c:145:2: error: ‘prog’ may be used uninitialized in this function [-Werror=maybe-uninitialized]
glUseProgram(prog);
7 years ago
Drew DeVault
dc412c514b
Find layer surfaces for input events
7 years ago
Drew DeVault
662f40b8ae
Refactor cursor event passhtrough
7 years ago
Tony Crisci
212d957c69
Merge pull request #779 from emersion/xwayland-map-consistency
...
xwayland: rename map_notify to map for consistency
7 years ago
emersion
e8cb5e89e9
Merge pull request #780 from emersion/output-damage-box-include
...
output-damage: fix missing wlr_box include
7 years ago
emersion
47a529a69c
output-damage: fix missing wlr_box include
7 years ago
emersion
865b0aa123
xwayland: rename map_notify to map for consistency
7 years ago
Drew DeVault
8ada41c272
Merge pull request #777 from emersion/fix-surface-buffer-not-updated
...
surface: fix texture not updated on commit
7 years ago
emersion
6bbf507082
surface: fix texture not updated on commit
...
When a client attaches a wl_drm or a linux_dmabuf buffer, we only
update it if the size is different from the one of the old buffer.
This means that if the client attaches a new, updated buffer with
the same size as the old buffer, the texture won't get updated.
This commit changes this behavior and re-creates the texture if
the client attaches a new buffer, without requiring the size to be
different.
7 years ago
Drew DeVault
4137d9fc80
Destroy layer surfaces on client destroyed
7 years ago
Drew DeVault
b887af9a60
Fix maximized windows interaction with layer shell
...
If there were no layer surfaces the usable area of the output would be
an empty box.
7 years ago
emersion
a316396eab
Merge pull request #720 from acrisci/xdg-positioner
...
xdg-positioner
7 years ago
Tony Crisci
2e63d1a0ca
toplevel_box to toplevel_sx_box
7 years ago
Tony Crisci
27f450ac0e
add todo for rotated unconstrained popup
7 years ago
Tony Crisci
71da20dbde
add comment for output box in toplevel coords
7 years ago
Tony Crisci
cf13a6d9c6
address toplevel coords issue
7 years ago
Tony Crisci
967bccffcd
remove xdg-positioner wlr wrappers
7 years ago
Tony Crisci
8b967fc573
bug: dont slide over too far
7 years ago
Tony Crisci
bf5ae85683
return early when no dest_x/y in output layout closest point
7 years ago
Tony Crisci
67c8aec77f
popup constraint handle empty output layout
7 years ago