aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
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
2018-04-23examples: Allow to close the popupGuido Günther
So we can the xdg_popup_destroy path.
2018-04-23examples: Handle input entering popup in layer-shellGuido Günther
Change the cursor when entering the popup and make mouse buttons change the red component of the square. This makes sure we can handle input correctly.
2018-04-23rootston: Send frame_done for popups tooGuido Günther
Thanks @emersion
2018-04-23examples: Animate popup in layer-shellGuido Günther
2018-04-23rootston: Damage layer-shell popupsGuido Günther
2018-04-23rootston: Let layer_surface_at look at popupsGuido Günther
This allows them to receive input as well.
2018-04-23examples: Drop unused variableGuido Günther
2018-04-23Fix popup positioning & double popupsDrew DeVault
2018-04-23Move get_geometry call back to xdg-shellDrew DeVault
2018-04-23Finish forward-porting @acrisci's positioner workDrew DeVault
2018-04-23Forward-port xdg-shell-v6 positioner improvementsDrew DeVault
2018-04-23Basic layer popup renderingDrew DeVault
2018-04-23Add (shitty) support for popups to layer exampleDrew DeVault
2018-04-23Generalize xdg-shell popups and add to layer-shellDrew DeVault