aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2017-08-18Merge pull request #107 from nyorain/wlr_data_device_managerDrew DeVault
Implement wlr_data_{source,device,device_manager}
2017-08-18Fix wlr_data_device_managernyorain
2017-08-18Merge pull request #109 from martinetd/post_eventDrew DeVault
wlr_surface: use post_event instead of queue
2017-08-18wlr_surface: use post_event instead of queueDominique Martinet
This fixes not sending anything back to the client if the only event it's waiting for is a buffer release, and nothing else is in the pipe. Workaround for #102 - there probably is a better solution as weston and wlc do not need to use post_event here.
2017-08-18Merge pull request #108 from martinetd/realloc_crtcs_indexDrew DeVault
drm realloc_crtcs: check we found an output
2017-08-18Merge pull request #106 from acrisci/bug/fix-wild-bufferDrew DeVault
Fix wild pointer to buffer
2017-08-18Fix data_device destructionnyorain
2017-08-18Implement wlr_data_{source,device,device_manager}nyorain
2017-08-18Fix wild pointer to bufferTony Crisci
After the buffer is released from the release event, it should no longer be accessed. Fixes a GTK crash.
2017-08-18drm realloc_crtcs: check we found an outputDominique Martinet
This follows-up on #105 that just initialized to 0. Instead, make sure we actually found an output that matches
2017-08-18Merge pull request #105 from acrisci/bug/uninitialized-intDrew DeVault
fix uninitialized warning
2017-08-18fix uninitialized warningTony Crisci
`index` might be uninitialized. Warning can be produced with gcc and `-01` flag.
2017-08-18Merge pull request #101 from nyorain/texture_fixDrew DeVault
Fix surface buffer uploading
2017-08-18Merge pull request #104 from martinetd/init_output_scaleDrew DeVault
output: default scale to 1
2017-08-18output: default scale to 1Dominique Martinet
This prevents us from telling application our scale is 0, when it has no reason to be.
2017-08-17Merge pull request #97 from acrisci/feature/output-layoutDrew DeVault
Add wlr_output_layout implementation
2017-08-17Clean up wlr_output_layoutDrew DeVault
2017-08-17improve collision detection algorithmTony Crisci
2017-08-17reconfigure output on resolution changeTony Crisci
2017-08-17fix output resolution callbackTony Crisci
2017-08-17vt change bugfixTony Crisci
2017-08-17add output resolution notify to example sharedTony Crisci
2017-08-17add helper methods for intersectionTony Crisci
2017-08-17bugfix: correctly get the output_layoutTony Crisci
2017-08-17layout-output example: only render if its on the outputTony Crisci
2017-08-17layout-output example: handle empty configTony Crisci
2017-08-17Add wlr_output_layout implementationTony Crisci
An output layout consists of a mapping of outputs to their position in a global coordinate system that usually cooresponds to the output position in physical space in front of the user. Add an example that allows configuration of an output layout and demonstrates its boundaries with a bouncing image.
2017-08-17Fix surface buffer uploadingnyorain
2017-08-17Merge pull request #99 from nyorain/wlr_seat2Drew DeVault
wlr_seat
2017-08-17Update keyboard modifiers in example compositornyorain
2017-08-17Update IRC channel in CONTRIBUTING.mdDrew DeVault
2017-08-17Fix style issues in wlr_seatnyorain
2017-08-17Merge pull request #98 from martinetd/wayland_backend_xdgDrew DeVault
Wayland backend xdg
2017-08-17Fix wlr_seat; add to example compositornyorain
2017-08-17Initial pass on wlr_seatDrew DeVault
2017-08-17wayland backend: fix xdg-shell for westonDominique Martinet
- xdg toplevel configure can be called with 0 width/height, in that case we are free to do as we like (so do nothing) - need a display roundtrip after everything is setup but before we start attaching buffers to the surface
2017-08-17wayland backend: fix xdg-shell for gnomeDominique Martinet
Calling wl_surface_commit after setting up the xdg_toplevel is apparently good enough for them. Still missing something for weston.
2017-08-17wayland backend: Fix shell title/app_id to wlrootsDominique Martinet
2017-08-17wayland output: add error handling for xdg shellDominique Martinet
Note that this does not go on to the next backend, because attempt_wl_backend does not check if we have any output created. We cannot test simply because (right now) a run of our examples will go in this function twice, the first of which will (rightly?) return no display but needs to return backend creation success.
2017-08-17wayland backend: switch to xdg shellDominique Martinet
Closes #72 and #96.
2017-08-16Fix DRM problem introduced in 901c14cDrew DeVault
2017-08-16Improve no device detection supportDrew DeVault
2017-08-16Merge pull request #94 from martinetd/libinput_no_deviceDrew DeVault
libinput: fail if no input found on init
2017-08-16Merge pull request #95 from 4e554c4c/list_apiDrew DeVault
Prevent alloc errors from crashing in `list_t`
2017-08-16Prevent alloc errors from crashing in `list_t`Calvin Lee
This commit changes the `list_t` api so that alloc errors can be detected and worked around. Also fixes errors not found in 5cc7342
2017-08-16libinput: fail if no input found on initDominique Martinet
This runs through events pending at init on initialization so we can tell if some devices are available. Note that with the way wlr_device_lists is managed, this checks that there is at least one device we handle - it doesn't have to be a keyboard, but there is at least a mouse or tablet_pad or something that we care about. Instead of failing inconditionally it might be better to leave the decision to the user, e.g. add a "backend_has_devices" function to call later. (Tested by moving /dev/input off) Fixes #24.
2017-08-15Merge pull request #91 from martinetd/move_wl_shellDrew DeVault
Move wl_shell into wlroots
2017-08-15Merge pull request #88 from 4e554c4c/alloc_crashingDrew DeVault
Prevent alloc errors from crashing
2017-08-15Fix wlr_wl/xdg_shell_destroy segfaultDominique Martinet
- Implement xdg_shell_destroy and use it at the right place (impl->destroy is never called) - Remove wl_global_destroy for now, something is missing with the display/registry_resource_list
2017-08-15Make wlr_wl_shell_create work like xdgDominique Martinet
Also: - rename wlr_xdg_shell_v6_init to create as that is what it does - free wlr_xdg_shell on failure to create wl_global, the struct is not initialized enough to call destroy at that point