aboutsummaryrefslogtreecommitdiff
path: root/examples
AgeCommit message (Collapse)Author
2018-02-23Don't use os_create_anonymous_file outside of wlrootsGuido Günther
Use a stripped down version for the backing file in the screenshot example.
2018-02-15wayland protocol headers: use double-quote for includesDominique Martinet
These headers are not installed so we should look for these locally
2018-02-12Remove wlr_backend.events.{output_remove,device_remove}emersion
2018-02-03render: make wlr_renderer_clear take a float[4] for the coloremersion
2018-02-03Merge remote-tracking branch 'upstream/master' into output-damageemersion
2018-02-01fixes the off by one errors in examples/screenshotMarkus Ongyerth
The inverse loop iterations for the transformed outputs had an off by one error, iterating 1 based, not 0 based. This commit fixes that.
2018-01-31handle the other transformations for screenshotsMarkus Ongyerth
This handles all current transformations for outputs properly. This ensures an output is drawn in readable orientation/flipping no matter the actual transformations applied to it.
2018-01-31fixes 90 degree rotation screenshotsMarkus Ongyerth
This fixes the screenshot example application when an output is rotated by 90 degrees. Other tranformations are not taken into account yet.
2018-01-29Merge remote-tracking branch 'upstream/master' into output-damageemersion
2018-01-23Backport screenshooter fixes from the renderer redesign v1emersion
This backports some changes to #319 to fix the screenshooter data format. This also adds wlr_backend_get_renderer which will be useful to support multiple renderers.
2018-01-22render: add wlr_renderer_clear and wlr_renderer_scissoremersion
2018-01-21Merge remote-tracking branch 'upstream/master' into output-damageemersion
2018-01-21style: include brackets for if/while/for, even if it's a single statementJohannes Schramm
2018-01-21output: add damage tracking via buffer ageemersion
2018-01-19output: fix software cursors damage trackingemersion
2018-01-15Merge pull request #567 from Timidger/example-loggingDrew DeVault
Fixed logging for examples
2018-01-15Fixed logging for examplesTimidger
2018-01-15Merge pull request #549 from emersion/output-enabledDrew DeVault
Add wlr_output::enabled
2018-01-13Add example for idle protocolHeghedus Razvan
Signed-off-by: Heghedus Razvan <heghedus.razvan@gmail.com>
2018-01-06output: rename resolution event to modeemersion
2017-12-31Fix views outside output layoutemersion
2017-12-28Don't destroy backend in compositor_finiTimidger
This is already done after the changes in #504, and now just causes a segfault on closing the examples.
2017-12-28Merge pull request #533 from martinetd/wl_array_addDrew DeVault
ENOMEM checks: consistently check wl_array_add return
2017-12-28style: fix sizeof() calls without parenthesesDominique Martinet
2017-12-28Fixes for multiple outputsemersion
* Fixes output positions in screenshots * Fixes Wayland backend pointer events when output layout doesn't start at (0, 0)
2017-12-27config: Avoid clash with other config-headersBjörn Esser
2017-12-26config: Put all defines into config.hBjörn Esser
2017-12-12Update output layout when scale or transform changesemersion
2017-11-30Moved os-compatibility and added headerMoritz
* Moved os-compatibility.c to util * Added header under util * Removed static since it isn't needed (i think so) * Adjusted meson.build to include lib_wlr Improved some codestyle * Added guard to os-compatibility.h * Fixed typo in include statment Adjusted Guard * Changed guard to _WLR_UTIL_OS_COMPATIBILITY
2017-11-20Use wl_list for touch points in examples/emersion
2017-11-16rename touch slot to touch idTony Crisci
2017-11-11Add scale parameter to wlr_cursor_set_imageemersion
2017-11-11Fix unused-result errorTancredi Orlando
2017-11-01Move shared example codeDrew DeVault
2017-10-31Fix segfaults on exit in examples/mutli-pointeremersion
2017-10-31Fix memory leak in wlr_cursoremersion
2017-10-31Remove outdated TODOs, use wlr_surface_has_bufferemersion
2017-10-31Fix wlr_cursor_destroy, handle device remove in examples/multi-cursoremersion
2017-10-31Add multi-pointer exampleemersion
2017-10-31Remove wlr_cursor_set_xcursor for nowemersion
2017-10-31Manage wlr_output_cursor from wlr_cursoremersion
2017-10-31Fix rootstonemersion
2017-10-30remove time usecTony Crisci
2017-10-22Fixes #321, not using result of wl_container_ofTimidger
2017-10-22Create globals only for enabled outputs in DRM backendemersion
2017-10-22Forgot to rename theseDrew DeVault
2017-10-21Merge branch 'master' into heghe/wl_listDrew DeVault
2017-10-21Rename remaining refs to wlr_listDrew DeVault
2017-10-21Remove wl_list_init when using wl_signal_addemersion
2017-10-20Replace list_t with wl_list for wlr_input_deviceHeghedus Razvan
Signed-off-by: Heghedus Razvan <heghedus.razvan@gmail.com>