aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
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-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.
2018-05-29rootston: use wl_display_destroy_clientsemersion
2018-05-29Merge pull request #1014 from RyanDwyer/fix-wlr-box-contains-pointemersion
Fix wlr_box_contains_point comparison
2018-05-29Merge pull request #999 from dcz-purism/virtual-keyboardemersion
Support virtual keyboard protocol
2018-05-29Fix wlr_box_contains_point comparisonRyan Dwyer
2018-05-28Merge pull request #1012 from acrisci/doc-map-unmapemersion
document the map/unmap xdg-shell events
2018-05-28reword new_surface docsTony Crisci
2018-05-28document the map/unmap xdg-shell eventsTony Crisci
2018-05-28virtual-keyboard: add support for the virtual-keyboard-v1 protocolDorota Czaplejewicz
2018-05-27Merge pull request #1007 from emersion/xdg-toplevel-tiledDrew DeVault
xdg-shell: add wlr_xdg_toplevel_set_tiled
2018-05-27xdg-shell: add wlr_xdg_toplevel_set_tiledemersion
2018-05-27Merge pull request #1006 from emersion/drm-logsDrew DeVault
backend/drm: better connector cleanup, add more logs
2018-05-27backend/drm: better connector cleanup, add more logsemersion
2018-05-26Merge pull request #1004 from emersion/surface-buffer-send-releaseDrew DeVault
surface: remove wl_resource_post_event
2018-05-26surface: remove wl_resource_post_eventemersion
2018-05-26Merge pull request #1003 from acrisci/document-keyboard-eventsemersion
document key and modifier signals
2018-05-26document key and modifier signalsTony Crisci
2018-05-26Merge pull request #1001 from ammen99/xterm-fixemersion
xwm: set the proper event mask in client messages
2018-05-26xwm: set the proper event mask in client messagesIlia Bozhinov
Fixes #927
2018-05-25Merge pull request #993 from emersion/bind-wl-drm-in-rendereremersion
render: bind wl_drm in renderer
2018-05-25Merge pull request #1000 from ammen99/custom-renderer-initializationDrew DeVault
[RFC] backends: implement custom EGL and renderer initialization
2018-05-25backends: implement custom EGL and renderer initializationIlia Bozhinov
Compositors now have more control over how the backend creates its renderer. Currently all backends create an EGL/GLES2 renderer, so the necessary attributes for creating the context are passed to a user-provided callback function. It is responsible for initializing provided wlr_egl and to return a renderer. On fail, return 0. Fixes #987
2018-05-24Merge pull request #997 from dcz-purism/masterDrew DeVault
Ignore clicks on un-focuseable things.
2018-05-24rootston: Keep focus unchanged when non-focusable element clickedDorota Czaplejewicz
Before this change, a view would lose focus after clicking something that's not keyboard-interactive. This would lead to edge cases with layer-shell windows like input methods, which are pointer-only-interactive, but are not intended to change the state of any focus.
2018-05-24rootston: Disable keyboard focus on inactive viewsDorota Czaplejewicz
After clicking on something non-interactive, the current view was getting deactivated, but still received keyboard events. roots_seat_set_focus now changes both together in this case.
2018-05-23Merge pull request #994 from agreppin/masteremersion
fix server error on exit: eglMakeCurrent Invalid display
2018-05-23fix server exit: eglMakeCurrent Invalid displayagr
2018-05-21render: bind wl_drm in rendereremersion
2018-05-20Merge pull request #978 from emersion/wlr-backend-envDrew DeVault
backend: add WLR_BACKEND env variable
2018-05-20Merge pull request #990 from emersion/fullscreen-clear-alphaemersion
output: correctly clear screen when fullscreened
2018-05-20output: correctly clear screen when fullscreenedemersion
2018-05-19Merge pull request #989 from ascent12/unused_argemersion
Remove unused argument
2018-05-19Remove unused argumentScott Anderson
2018-05-19backend/wayland: fix segfault when destroying backend before starting itemersion
2018-05-19backend: support creating DRM and libinput via WLR_BACKENDSemersion
2018-05-19Merge pull request #986 from ammen99/masteremersion
gles2: pre-multiply alpha and fix blending function
2018-05-19backend: allow multiple backends in WLR_BACKENDSemersion
2018-05-19backend/multi: disallow multiple renderers at the same timeemersion
2018-05-19backend: add WLR_BACKEND env variableemersion
2018-05-18gles2: pre-multiply alpha and fix blending functionIlia Bozhinov