aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
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
2018-04-24cursor: allow to call wlr_cursor_wrap_absolute with zeroemersion
2018-04-24Merge pull request #895 from agx/layer-shell-popup-damageDrew DeVault
layer-shell: use output_damage_{whole,from}_local_surface
2018-04-24layer-shell: use output_damage_{whole,from}_local_surface on map/unmapGuido Günther
These handle rotation and scaling
2018-04-24layer-shell: use output_damage_{whole,from}_local_surface for popupsGuido Günther
Reuse what already handles rotation and scaling. This unbreaks popups on rotated or scaled outputs.
2018-04-24Merge pull request #893 from emersion/fix-subsurface-recreateemersion
Fix protocol error when a client destroys and re-creates a subsurface
2018-04-23Fix protocol error when a client destroys and re-creates a subsurfaceemersion
2018-04-23Merge pull request #891 from agx/layer-shell-popup-grabDrew DeVault
examples/layer-shell: take grab on the popup
2018-04-23examples/layer-shell: take an explicit grab on the popupGuido Günther
This demonstrates popups can be closed by clicking on the area outside the popup and parent.
2018-04-23Merge pull request #877 from agx/layer-popupsDrew DeVault
Layer popups: work on top of PR 867