aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2018-06-08Merge pull request #1029 from emersion/wl-backend-keyboard-focus-keysemersion
backend/wayland: fix keyboard keys not pressed/released when focus changes
2018-06-07Merge pull request #1043 from acrisci/drag-icon-unmapemersion
drag-icon map and unmap fixes
2018-06-06Merge pull request #1045 from ammen99/masteremersion
xdg-shells: add a set_parent signal to toplevel surfaces
2018-06-06dont damage drag icon after update_positionTony Crisci
2018-06-06Merge pull request #1044 from emersion/fix-box-intersectionTony Crisci
box: fix wlr_box_intersection
2018-06-06Merge pull request #1036 from martinetd/subsurface-draworderemersion
wlr_surface: walk up surfaces in reverse order
2018-06-06xdg-shells: add a set_parent signal to toplevel surfacesIlia Bozhinov
2018-06-06box: fix wlr_box_intersectionemersion
2018-06-05update drag position at the right timesTony Crisci
2018-06-05handle drag icon map in rootstonTony Crisci
2018-06-05add back map eventTony Crisci
2018-06-05rename drag-icon map to unmapTony Crisci
2018-06-05wlr_surface: insert subsurfaces in revert orderDominique Martinet
sibling surfaces were drawn in incorrect order (e.g. latest below). This attempts to fix that by reverting the order of the list.
2018-06-05Merge pull request #1040 from acrisci/fix-box-minus-oneemersion
fix wlr_box_intersection and closest_point
2018-06-04fix wlr_box_intersection and closest_pointTony Crisci
2018-06-04Merge pull request #1033 from RyanDwyer/fix-xdg-popupsTony Crisci
Fix mistakes in xdg_popup and xdg_popup_v6
2018-06-04Merge pull request #1039 from acrisci/positioner-invert-x-fixemersion
add missing anchor case in positioner invert-x for xdg-shell
2018-06-04add missing anchor case in positioner invert-xTony Crisci
2018-06-04Merge pull request #1031 from martinetd/multibind-seatemersion
seat: allow clients to bind to seat multiple times
2018-06-04Merge pull request #1035 from martinetd/subsurface-rootemersion
wlr_surface_get_root_surface: walk up parent
2018-06-05wlr_surface_get_root_surface: walk up parentDominique Martinet
This would dead-loop and never walk up if called on a subsurface
2018-06-04Merge pull request #1034 from rah2501/armhf-printf-conversion-fixemersion
wlr_linux_dmabuf: Fix printf conversion specifiers on armhf
2018-06-04seat: allow clients to bind to seat multiple timesDominique Martinet
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.
2018-06-04wlr_linux_dmabuf: Fix printf conversion specifiers on armhfBob Ham
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.
2018-06-04Fix mistakes in xdg_popup and xdg_popup_v6Ryan Dwyer
2018-06-04Merge pull request #1032 from acrisci/drag-icon-dataemersion
add data to wlr_drag_icon
2018-06-03add data to wlr_drag_iconTony Crisci
2018-06-03Merge pull request #1030 from Shugyousha/removeSeatRemoveDeviceemersion
Remove redundant roots_seat_remove_device function
2018-06-03Remove redundant roots_seat_remove_device functionSilvan Jegen
This function is unimplemented and is redundant because all devices added with roots_seat_add_device get destruction handlers assigned already. This fixes issue #998.
2018-06-03backend/wayland: fix keyboard keys not pressed/released when focus changesemersion
2018-06-03Merge pull request #1027 from Timidger/subsurface_dataemersion
Added data field to wlr_subsurface
2018-06-02Added data field to wlr_subsurfaceTimidger
2018-06-01Merge pull request #1022 from Ongy/masteremersion
Fix type in wlr_surface_get_extends
2018-06-01Fix type in wlr_surface_get_extendsMarkus Ongyerth
2018-06-01Merge pull request #1021 from Ongy/xdg_geometryemersion
Add wlr_surface_get_geometry
2018-06-01Add wlr_surface_get_geometryMarkus Ongyerth
This function defaults and clips the xdg-surface geometry to the bounding box of the surface + its subsurfaces, as specified by the protocol spec.
2018-05-31Merge pull request #1020 from emersion/remove-check-dmabufemersion
render: remove wlr_renderer_check_import_dmabuf
2018-05-30rootston: xdg-shell*: Fix get_size() for newly-mapped viewsGenki Sky
The user-visible issue is that newly-mapped xdg-shell* windows would sometimes start with their top-left-corner, rather than their center, in the center of the screen. This is because get_size() would conservatively fall back on (width, height) == (0, 0) if both set_window_geometry() had not been called, and it found view->wlr_surface to be NULL. But, view->wlr_surface is only set to non-NULL in view_map(). We call get_size() before this. Fortunately, the wlr_surface in question is accessible via view->xdg_shell{,_v6}->surface, so always fall back on that. We can assert its presence instead of further falling back on (width, height) == (0, 0). Signed-off-by: Genki Sky <sky@genki.is>
2018-05-30cleanup: Use void for zero-parameter functionsGenki Sky
Signed-off-by: Genki Sky <sky@genki.is>
2018-05-30linux-dmabuf: fix bound checks for stride and heightemersion
- Fix bound checking for offset + stride * height - Make offset bound checking more consistent - Reject zero strides
2018-05-30render: remove wlr_renderer_check_import_dmabufemersion
It's possible to implement it outside the renderer, by creating a texture and destroying it right away. This reduces the API surface of the renderer.
2018-05-30Merge pull request #1019 from emersion/virtual-keyboard-destroyemersion
virtual-keyboard: fix wlr_virtual_keyboard_manager_v1_destroy
2018-05-30Merge pull request #1015 from emersion/dmabuf-single-modifierDrew DeVault
Only allow one modifier per DMA-BUF, split attributes struct in render/
2018-05-30Only allow one modifier per DMA-BUF, split attributes struct in render/emersion
2018-05-30virtual-keyboard: fix wlr_virtual_keyboard_manager_v1_destroyemersion
2018-05-30Merge pull request #1017 from tobiasblass/examples_rotation_fix_doublefreeemersion
Fix double-free in the rotation.c example.
2018-05-30examples/output-layout: destroy wl_displayemersion
Thanks @tobiasblass for pointing this out. See #1017.
2018-05-30Fix double-free in the tablet.c and touch.c examplesTobias Blass
The wl_display_destroy function already destroys the backend's renderer. Freeing it by hand causes a segmentation fault.
2018-05-29Merge pull request #1016 from emersion/wl-display-destroy-clientsDrew DeVault
rootston: use wl_display_destroy_clients
2018-05-30Fix double-free in the rotation.c example.Tobias Blass
The wl_display_destroy function already destroys the backend's renderer. Freeing it by hand causes a segmentation fault.