Drew DeVault
d27eeaa14c
Revert "Merge pull request #1050 from emersion/wlr-buffer"
...
This reverts commit 5e4af4862e
, reversing
changes made to 9a1f0e2d5f
.
7 years ago
emersion
0378d143d9
surface: remove wlr_surface.texture
...
The texture is managed by the surface's wlr_buffer now. In
particular, the buffer can destroy the texture early if it becomes
invalid.
7 years ago
emersion
d643361c48
Merge pull request #1047 from NotKit/gles2fix
...
Fix GLES2 renderer to use glGetUniformLocations locations
7 years ago
Drew DeVault
5e4af4862e
Merge pull request #1050 from emersion/wlr-buffer
...
Introduce wlr_buffer
7 years ago
NeKit
6f29db1044
gles2 renderer: introduce struct wlr_gles2_tex_shader
7 years ago
emersion
38d415dd20
buffer: make wlr_buffer_ref return the buffer
7 years ago
Genki Sky
28d718c0dd
rootston: Cancel existing keyboard grab when changing focus
...
It's possible that a non-default keyboard grab exists when we are trying
to change focus. For example, say there is an XDG popup when we click on
a different window. This popup's keyboard grab will swallow any
keyboard_notify_enter(), meaning the newly-clicked window won't receive
keyboard input.
So, we cancel any existing grabs in roots_seat_set_focus(). Before this
fix, a window would have been set as active but not receive keyboard
entry.
Fixes #233 .
Signed-off-by: Genki Sky <sky@genki.is>
7 years ago
Drew DeVault
9a1f0e2d5f
Merge pull request #1052 from VincentVanlaer/egl-damage-khr
...
Split eglSwapBuffersWithDamage feature detection
7 years ago
Vincent Vanlaer
f1a62a3200
Rename egl.exts to match the extension names
7 years ago
emersion
9ea5b1a85e
Merge branch 'master' into wlr-buffer
7 years ago
Vincent Vanlaer
5ec6d8230d
Split eglSwapBuffersWithDamage feature detection
...
Detecting whether eglSwapBuffersWithDamageEXT or
eglSwapBuffersWithDamageKHR is used should be based on the extension
string, not only on the availability of the function.
7 years ago
emersion
9179b438a5
Merge pull request #1051 from RedSoxFan/fix-atti-assert
...
Fix atti assert in wlr_egl_init
7 years ago
Brian Ashworth
18bbe2d897
Fix atti assert in wlr_egl_init
7 years ago
Drew DeVault
7f3ad497eb
Merge branch 'surface-fix-buffer-release'
7 years ago
emersion
8770449eb7
Merge pull request #1028 from emersion/egl-context-priority
...
Request a high priority EGL context
7 years ago
emersion
7d24af43e5
buffer: improve docs
7 years ago
emersion
e4933ab445
Introduce wlr_buffer
7 years ago
emersion
a072a8309e
Merge pull request #1049 from emersion/fix-xwayland-restart-on-shutdown
...
rootston: destroy xwayland before all clients
7 years ago
emersion
3a81afed0e
rootston: destroy xwayland before all clients
...
Destroying all clients disconnects the xwayland client, and
xwayland automatically restarts when disconnected.
7 years ago
emersion
457bfcab19
render/egl: only request high priority context on DRM
7 years ago
emersion
d425edc96c
render/egl: consistent extension checking
7 years ago
emersion
cbfe0e834a
Request a high priority EGL context
7 years ago
emersion
3e83f9d6b8
surface: don't release wl_drm and linux-dmabuf buffers early
7 years ago
emersion
32f9699359
Merge pull request #1029 from emersion/wl-backend-keyboard-focus-keys
...
backend/wayland: fix keyboard keys not pressed/released when focus changes
7 years ago
NeKit
de91c55ea9
Fix GLES2 renderer to use glGetUniformLocations locations
...
This is needed as uniform locations are driver implementation-specific.
7 years ago
emersion
6f895081e1
Merge pull request #1043 from acrisci/drag-icon-unmap
...
drag-icon map and unmap fixes
7 years ago
emersion
211463ba87
Merge pull request #1045 from ammen99/master
...
xdg-shells: add a set_parent signal to toplevel surfaces
7 years ago
Tony Crisci
5d3e95f833
dont damage drag icon after update_position
7 years ago
Tony Crisci
1a07bf95ae
Merge pull request #1044 from emersion/fix-box-intersection
...
box: fix wlr_box_intersection
7 years ago
emersion
b8202f072c
Merge pull request #1036 from martinetd/subsurface-draworder
...
wlr_surface: walk up surfaces in reverse order
7 years ago
Ilia Bozhinov
a989104a6b
xdg-shells: add a set_parent signal to toplevel surfaces
7 years ago
emersion
ed89a24328
box: fix wlr_box_intersection
7 years ago
Tony Crisci
7c888a39c6
update drag position at the right times
7 years ago
Tony Crisci
9333acd68e
handle drag icon map in rootston
7 years ago
Tony Crisci
319ebdf476
add back map event
7 years ago
Tony Crisci
1c75d4e54a
rename drag-icon map to unmap
7 years ago
Dominique Martinet
c6821f3dd3
wlr_surface: insert subsurfaces in revert order
...
sibling surfaces were drawn in incorrect order (e.g. latest below).
This attempts to fix that by reverting the order of the list.
7 years ago
emersion
7366e1ced9
Merge pull request #1040 from acrisci/fix-box-minus-one
...
fix wlr_box_intersection and closest_point
7 years ago
Tony Crisci
7206997e95
fix wlr_box_intersection and closest_point
7 years ago
Tony Crisci
a57d1baf57
Merge pull request #1033 from RyanDwyer/fix-xdg-popups
...
Fix mistakes in xdg_popup and xdg_popup_v6
7 years ago
emersion
344374fa14
Merge pull request #1039 from acrisci/positioner-invert-x-fix
...
add missing anchor case in positioner invert-x for xdg-shell
7 years ago
Tony Crisci
bcb660cb1d
add missing anchor case in positioner invert-x
7 years ago
emersion
78966417f4
Merge pull request #1031 from martinetd/multibind-seat
...
seat: allow clients to bind to seat multiple times
7 years ago
emersion
cb66569a58
Merge pull request #1035 from martinetd/subsurface-root
...
wlr_surface_get_root_surface: walk up parent
7 years ago
Dominique Martinet
cf9b8c0a8c
wlr_surface_get_root_surface: walk up parent
...
This would dead-loop and never walk up if called on a subsurface
7 years ago
emersion
f11ef26379
Merge pull request #1034 from rah2501/armhf-printf-conversion-fix
...
wlr_linux_dmabuf: Fix printf conversion specifiers on armhf
7 years ago
Dominique Martinet
51b9883ea0
seat: allow clients to bind to seat multiple times
...
This lets clients bind to a seat multiple times by re-using the existing
wlr_seat_client whenever a duplicate request happens.
Previously, an independant wlr_seat_client would be created and only
events from one would be processed.
Fixes #1023 .
7 years ago
Bob Ham
eb8b8acca6
wlr_linux_dmabuf: Fix printf conversion specifiers on armhf
...
The printf conversion specifiers in a call to wl_resource_post_error
do not specify the type correctly on armhf:
../types/wlr_linux_dmabuf.c: In function 'params_add':
../types/wlr_linux_dmabuf.c:104:21: error: format '%lu' expects argument of type 'long unsigned int', but argument 4 has type 'uint64_t {aka long long unsigned int}' [-Werror=format=]
"sent modifier %lu for plane %u, expected modifier %lu like other planes",
~~^
%llu
To fix this, we use standard printf conversion specifier macros from
inttypes.h.
7 years ago
Ryan Dwyer
516c864d46
Fix mistakes in xdg_popup and xdg_popup_v6
7 years ago
emersion
caf72767a1
Merge pull request #1032 from acrisci/drag-icon-data
...
add data to wlr_drag_icon
7 years ago