aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2018-03-15Merge pull request #698 from agx/linux-dmabufemersion
Add initial linux_dmabuf protocol support
2018-03-15Indent GLSL by two spacesGuido Günther
since this is the most established indentation
2018-03-15Wire up linux_dmabuf in rootstonGuido Günther
2018-03-15Add initial linux_dmabuf protocol supportGuido Günther
Tested with ./weston-simple-dmabuf-drm ./weston-simple-dmabuf-drm --import-immediate=1 ./weston-simple-dmabuf-drm --y-inverted=1 (and combinations) Supports only single plane XRGB dmabufs for now.
2018-03-13Merge pull request #719 from acrisci/xdg-toplevel-roleDrew DeVault
differentiate xdg-toplevel roles
2018-03-13differentiate xdg-toplevel rolesTony Crisci
2018-03-12Merge pull request #716 from emersion/fix-cursor-hotspot-updateTony Crisci
Fix cursor hotspot update
2018-03-12Merge pull request #696 from emersion/fix-output-layout-destroy-globalTony Crisci
output-layout: fix output global not destroyed
2018-03-12backend/drm: fix cursor hotspot not updatedemersion
2018-03-12Merge pull request #710 from emersion/dont-move-hidden-cursorsemersion
output: don't move hidden cursors
2018-03-12Merge pull request #718 from emersion/wlroots-subprojectDrew DeVault
meson: use current_source_dir instead of source_root
2018-03-12meson: use current_source_dir instead of source_rootemersion
Use source_root breaks the build when used as a subproject.
2018-03-11render: Flip textures in case of inverted_yGuido Günther
2018-03-11Merge pull request #715 from emersion/fix-rootston-tablet-tool-destroyDrew DeVault
rootston: fix segfault in handle_tablet_tool_destroy
2018-03-11rootston: fix segfault in handle_tablet_tool_destroyemersion
2018-03-11backend/drm: refactor wlr_drm_connector_set_cursoremersion
2018-03-11output: fix trailing cursor at (0, 0) on startupemersion
2018-03-07Add mode support to libinput backendDrew DeVault
And extend tablet example with tilt and ring support
2018-03-07output: don't move hidden cursorsemersion
When using the DRM backend and multiple outputs, that reduces the number of commits.
2018-03-06Merge pull request #707 from ascent12/xcb_fixesemersion
Xcb fixes
2018-03-06Add const to x11 and input interfacesScott Anderson
2018-03-06Use xcb atoms properlyScott Anderson
2018-03-04Merge pull request #703 from swaywm/drop-travisDrew DeVault
Remove Travis in favor of builds.sr.ht
2018-03-04Remove Travis in favor of builds.sr.htDrew DeVault
2018-03-04Merge pull request #699 from martinetd/xcb_errorsDrew DeVault
Print xcb errors
2018-03-04xwm.h: fix guard ifdef and remove wlr_ prefix from xwm_atoms_containsDominique Martinet
2018-03-03Change .build.yml upstream to GitHubDrew DeVault
2018-03-03xcb errors: init errors context at startDominique Martinet
`xcb_errors_context_new` is more than just a malloc, it does a few xcb requests so we benefit from not generating a new context everytime
2018-03-03move xwm.h out of include/wlrDominique Martinet
xwm.h was meant to be private, so move it to include/xwayland/xwm.h We had an ifdef WLR_HAS_XCB_ICCCM in xwayland.h which was easy to move to xwm, it is not safe to use the WLR_HAS_* in the public headers. I checked a few of our current users and none rely on xwm.h being public as expected (rootston, sway, hsroots)
2018-03-03Merge pull request #701 from mikkeloscar/fix-arch-travisDrew DeVault
Enable docker service in travis
2018-03-03xcb error: get unhandled events namesDominique Martinet
This provides more friendly debug messages for unhandled events, for example: [xwayland/xwm.c:1033] unhandled X11 event: FocusOut (10) [xwayland/xwm.c:1033] unhandled X11 event: MappingNotify (34)
2018-03-03Enable docker service in travisMikkel Oscar Lyderik Larsen
Adds the docker service in travis which is now required by arch-travis. See: https://github.com/mikkeloscar/arch-travis/pull/40
2018-03-03xcb error: always log sequenceDominique Martinet
2018-03-03Merge pull request #700 from martinetd/gitignoreDrew DeVault
Update .gitignore
2018-03-03update .gitignoreDominique Martinet
- Remove old cmake ignores - Add rootston.ini (example is rootston.ini.example)
2018-03-03xcb errors: address declare-assign styleDominique Martinet
2018-03-03xcb errors: optional dependency with improved messagesDominique Martinet
Now message can look like: [xwayland/xwm.c:991] xcb error: op ChangeProperty (no minor), code Window (no extension), value 6291465 instead of this one when the lib is not available: [xwayland/xwm.c:999] xcb error: op 18:0, code 3, sequence 103, value 6291465 The value in case of Window is the window id, so we can tell what function applied on which window which is a good start. The sequence ought to be able to tell us more precisely which invocation it was, but we never log it when calling functions so is useless in practice and no longer logged.
2018-03-03xcb errors: log raw valuesDominique Martinet
2018-03-01Merge pull request #697 from martinetd/xwm_valuesemersion
xwm: fix call of xcb_change_window_attributes for old gcc versions
2018-03-01xwm: fix call of xcb_change_window_attributes for old gcc versionsDominique Martinet
gcc 6.3.0 (at least) complains about &values: expected ‘const uint32_t * {aka const unsigned int *}’ but argument is of type ‘uint32_t (*)[1] {aka unsigned int (*)[1]}’ Reported by thorwil on irc
2018-03-01output-layout: fix output global not destroyedemersion
2018-03-01Merge pull request #693 from emersion/fix-output-bind-multipleDrew DeVault
Fix clients binding multiple times to the same output
2018-03-01Merge pull request #694 from Ongy/keep_current_modeemersion
prevent current_mode null on output_enable(false)
2018-03-01protocol: sort protocols from wayland-protocols alphabeticallyGuido Günther
2018-03-01prevent current_mode null on output_enable(false)Markus Ongyerth
The current mode was set to NULL to abuse it as state variable persisting DRM suspend/resume, this results resulted in a segfault on normal DPMS cycle. This reverts that change and uses the wlr_output enabled variable, which also persists and makes more sense.
2018-03-01Fix clients binding multiple times to the same outputemersion
2018-02-28Merge pull request #691 from agx/egl_ext_matchemersion
Avoid false positives on egl extension matching
2018-02-28Avoid false positives on egl extension matchingGuido Günther
Due to the strstr prefix match EGL_EXT_foo would be incorrectly matched if EGL_EXT_foobar would be available but not foo. This doesn't matter for the currently checked extensions but will matter for EGL_EXT_image_dma_buf_import_modifiers vs EGL_EXT_image_dma_buf_import Code borrowed from weston
2018-02-28Merge pull request #692 from agx/texture_format_erremersion
textures: tell us which texture format is unsupported
2018-02-28textures: tell us which texture format is unsupportedGuido Günther