aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2018-04-29rootston: map input devices with wlr_input_device.output_nameemersion
2018-04-29backend/wayland: create one virtual pointer per outputemersion
2018-04-29input-device: add output_name field, populate it from libinputemersion
2018-04-29Merge pull request #926 from emersion/fix-x11-backend-memory-leaksDrew DeVault
Fix some backend memory leaks
2018-04-29Merge pull request #923 from emersion/cursor-unspecified-axesDrew DeVault
cursor: use NAN for unspecified axes, refactor absolute warping code
2018-04-28backend/x11: correctly destroy input devicesemersion
2018-04-28backend/headless: remove useless destructoremersion
2018-04-28backend/wayland: add proper error handling to wlr_wl_backend_createemersion
2018-04-28cursor: use NAN for unspecified axes, refactor absolute warping codeemersion
2018-04-27Merge pull request #921 from emersion/xwayland-firefox-popupsemersion
xwayland: make utility windows unmanaged again
2018-04-27xwayland: make utility windows unmanaged againemersion
7f70d244a9802207c258bd5da6d4ada5eb15484a made utility windows managed, because it made sense according to the spec. Turns out Firefox uses them for popups.
2018-04-27Merge pull request #918 from emersion/xwayland-unmapped-request-configureDrew DeVault
xwayland: forward configure events to compositor when unmapped
2018-04-27Merge pull request #919 from emersion/xwayland-chromium-comboboxDrew DeVault
xwayland: fix some Chromium comboboxes
2018-04-27Merge pull request #917 from emersion/fix-xdg-positioner-castDrew DeVault
xdg-shell: fix invalid xdg-positioner cast
2018-04-26xwayland: fix some Chromium comboboxesemersion
Some comboboxes (e.g. in chrome://flags) are advertized as… Notifications of course! Yeah, notifications, the thing that tells you you have mail, your battery is low, or the dog has eaten your carpet. This isn't the first time we notice Chromium's X11 backend is pretty shit. Anyway, added notifications and splash screens to the list of unmanaged windows. Also removed utility windows because those should be managed, but maybe I'm wrong and I'll revert this.
2018-04-26xwayland: forward configure events to compositor when unmappedemersion
2018-04-26xdg-shell: fix invalid xdg-positioner castemersion
2018-04-26Merge pull request #915 from emersion/redesign-compositor-resourcesDrew DeVault
compositor: redesign how resources are managed
2018-04-26compositor: redesign how resources are managedemersion
All public resource creators now take a new ID for the resource and an optional list where the resource link is added. When the resource is destroyed it is its own responsibility to remove itself from the list. This removes the need for the caller to add a destroy listener. This commit fixes a few segfaults with resources not removed from the list when destroyed.
2018-04-26Merge pull request #914 from emersion/misc-segfault-fixesDrew DeVault
Misc segfault fixes
2018-04-26xwayland/selection: fix little memory leak on erroremersion
2018-04-26xdg-shell: fix invalid wlr_xdg_positioner allocemersion
2018-04-26layer-shell: fix use-after-free when client requests an invalid layeremersion
2018-04-26Merge pull request #890 from agx/layer-shell-empty-output-crashDrew DeVault
layer-shell: Fix crash when cursor is intially outside any output
2018-04-26layer-shell: Don't crash when the compositor didn't find a suitable outputGuido Günther
In that case it must have closed the surface.
2018-04-26layer-shell: Fix crash when cursor is intially outside any outputGuido Günther
On the X11 backend the cursor position might be outside the output window so no output is returned leading to the assert to trigger. Use sane fallback instead of crashing.
2018-04-26Merge pull request #912 from RyanDwyer/remove-bitchecksDrew DeVault
Remove bitchecks from wlr_output_layout_adjacent_output()
2018-04-26Merge pull request #913 from emersion/log-require-extensionDrew DeVault
Log required extension name if unavailable
2018-04-26Log required extension name if unavailableemersion
2018-04-26Make WLR_DIRECTION enum powers of 2Ryan Dwyer
2018-04-26Merge pull request #902 from emersion/various-memory-leaksDrew DeVault
Various memory leaks
2018-04-26Merge pull request #911 from RyanDwyer/fix-output-directionDrew DeVault
Fix WLR_DIRECTION enums
2018-04-26Merge pull request #882 from emersion/unprefix-local-symbolsDrew DeVault
Remove wlr_ prefix from local symbols
2018-04-26Fix WLR_DIRECTION enums.Ryan Dwyer
Having 0 as an enum value causes wlr_output_layout_adjacent_output() to never match WLR_DIRECTION_UP.
2018-04-26Merge pull request #910 from agx/printf-ssize_temersion
Use correct prinf format specifiers for ssize_t
2018-04-26Use correct printf format specifiers for ssize_tGuido Guenther
This unbreaks the build on armhf that otherwise fails like ../xwayland/selection/incoming.c: In function 'xwm_data_source_write': ../include/wlr/util/log.h:34:17: error: format '%ld' expects argument of type 'long int', but argument 6 has type 'ssize_t {aka int}' [-Werror=format=] _wlr_log(verb, "[%s:%d] " fmt, wlr_strip_path(__FILE__), __LINE__, ##__VA_ARGS__) ^ ../xwayland/selection/incoming.c:34:2: note: in expansion of macro 'wlr_log' wlr_log(L_DEBUG, "wrote %zd (chunk size %ld) of %d bytes", ^~~~~~~ ../xwayland/selection/incoming.c:34:44: note: format string is defined here wlr_log(L_DEBUG, "wrote %zd (chunk size %ld) of %d bytes", ~~^ %d
2018-04-26Destroy wlr_surface with wlr_rendereremersion
2018-04-25compositor: destroy subsurface resources with wlr_subcompositoremersion
2018-04-25compositor: make wlr_compositor_destroy destroy resourcesemersion
2018-04-25backend: destroy renderer when destroying backendemersion
2018-04-25Don't use the wlr_ prefix for static functionsemersion
2018-04-25Make sure we don't use others' prefixesemersion
2018-04-25Add prefix policy to CONTRIBUTING.mdemersion
2018-04-25Remove wlr_ prefix from local symbolsemersion
2018-04-25Merge pull request #901 from emersion/layer-shell-minor-memory-leakDrew DeVault
layer-shell: fix small memory leak
2018-04-25Merge pull request #903 from emersion/wlr-egl-destroy-surfaceemersion
render/egl: add wlr_egl_destroy_surface
2018-04-25render/egl: allow passing NULL to surface and image destructorsemersion
2018-04-24render/egl: add wlr_egl_destroy_surfaceemersion
2018-04-24layer-shell: fix small memory leakemersion
2018-04-24Merge pull request #900 from emersion/cursor-wrap-absolute-zeroDrew DeVault
cursor: allow to call wlr_cursor_wrap_absolute with zero