aboutsummaryrefslogtreecommitdiff
path: root/backend
AgeCommit message (Collapse)Author
2017-09-24Set state properlyScott Anderson
2017-09-23Simplify retry_pageflipScott Anderson
2017-09-23Add error recovery for failed page flipsScott Anderson
2017-09-23Add timeout to DRM cleanupScott Anderson
This prevents a potential infinite loop preventing us from closing properly.
2017-09-23Print connector name on atomic commit failureScott Anderson
2017-09-23Allow forcing legacy DRM interfaceScott Anderson
2017-09-10Remove non-blocking flag on modesetting commitsScott Anderson
This seems to make hotplugging DisplayPort MST connectors more reliable.
2017-09-09Retry atomic commit on failureScott Anderson
So we don't lose any previously "good" properties that were set.
2017-09-09Check for disappearing DRM connectorsScott Anderson
DisplayPort MST connectors will disappear when they're disconnected, so we need to check for that.
2017-09-06Add set_gamma and get_gamma_size to wlr_output_implemersion
2017-08-30Refactor meson build filesTony Crisci
Use tabs for indentation and break up function calls over 80 col.
2017-08-29Merge pull request #120 from acrisci/feature/wlr-cursorDrew DeVault
wlr_cursor
2017-08-28implement tablet tool devicesTony Crisci
2017-08-27add device to touch eventsTony Crisci
2017-08-26implement wlr_cursor_map_input_to_outputTony Crisci
2017-08-26add wlr_cursor basic implementationTony Crisci
2017-08-26Remove single GPU assumptions from wlr_sessionScott Anderson
2017-08-26Merge wlr_udev into wlr_sessionScott Anderson
2017-08-26Rename functions to be consistent with #93Scott Anderson
2017-08-19wayland backend: wl_event_source_remove on destroyDominique Martinet
2017-08-19wlr renderer/texture: rename init to create when it does allocDominique Martinet
2017-08-19libinput: wl_event_source_remove on destroyDominique Martinet
2017-08-19wayland backend: remove explicit scale = 1Dominique Martinet
This is now set correctly in the wlr_output init
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-18fix uninitialized warningTony Crisci
`index` might be uninitialized. Warning can be produced with gcc and `-01` flag.
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-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 #88 from 4e554c4c/alloc_crashingDrew DeVault
Prevent alloc errors from crashing
2017-08-15Merge pull request #86 from nyorain/masterDrew DeVault
Fix style issues
2017-08-15Prevent alloc errors from crashingCalvin Lee
Resolves #76
2017-08-14Add wayland backend cursor supportnyorain
2017-08-14Fix style issuesnyorain
2017-08-14wayland input_device_destroy: add missing bracesDominique Martinet
2017-08-14impl->destroy cleanup:Dominique Martinet
- remove trivial destroy() function - make sure we check impl and impl->destroy before calling - always call free if not implemented
2017-08-14Refactor out wlr_touch_stateDominique Martinet
2017-08-14Refactor out wlr_tablet_tool_stateDominique Martinet
2017-08-14Refactor out wlr_tablet_pad_stateDominique Martinet
2017-08-14Refactor out wlr_pointer_stateDominique Martinet
2017-08-14Refactor out wlr_keyboard_stateDominique Martinet
2017-08-14Refactor out wlr_input_device_stateDominique Martinet
2017-08-14Fix wlr_multi_backend_add incorrect assertDominique Martinet
2017-08-14Refactor out wlr_output_mode_stateDrew DeVault