aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2018-03-26Address review feedbackDrew DeVault
2018-03-23Minor correctionsCedric Sodhi
2018-03-09Make X11 fully optionalCedric Sodhi
Make X11 Backend (in addition to XWayland) optional and small bug fix on XWayland includes.
2018-03-07Add mode support to libinput backendDrew DeVault
And extend tablet example with tilt and ring support
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-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-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
2018-02-28Merge pull request #690 from agx/eglCreateImageKHRemersion
wlr_egl_create_image: return NULL when function is missing
2018-02-28wlr_egl_create_image: return NULL when function is missingGuido Günther
This matches the return value of elgCreateImage in case of error.
2018-02-27Merge pull request #689 from Ongy/fullscreen-opacityemersion
set fullscreen alpha to 1
2018-02-27set alpha to 1.0 for drag iconsMarkus Ongyerth
2018-02-27set fullscreen alpha to 1Markus Ongyerth
2018-02-27Merge pull request #670 from Ongy/xwayland_unmanagedemersion
add xwayland unmanaged tests to support dmenu
2018-02-26Merge pull request #687 from agx/roots_view.alphaemersion
rootston: drop saved.alpha from roots_view
2018-02-26rootston: drop saved.alpha from roots_viewGuido Günther
It's currently unused.
2018-02-26Merge pull request #683 from Ongy/drm_remember_dpmsDrew DeVault
restore dpms state on drm resume
2018-02-26restore dpms state on drm resumeMarkus Ongyerth
If there is no current mode, set outputs to dpms off in drm resume. Sets current mode to null on disable to ensure this can be checked.
2018-02-26add xwayland unmanaged tests to support dmenuMarkus Ongyerth
This adds `wlr_xwayland_surface_is_unamanged`, to allow compositors more fine grained control over XWayland focus. A surface that is unmanaged should not receive focus, while other windows that are just override redirect may want it (dmenu). The way unamanged is determined is taken from wlc.
2018-02-25Merge pull request #659 from agx/alphaDrew DeVault
Make wlr_render_with_matrix use alpha
2018-02-25rootstion: handle alpha in server side decorationsGuido Günther
2018-02-25rootston: wire up window alpha keybindingGuido Günther
2018-02-25rootston: Add alpha channel to viewsGuido Günther
2018-02-25Add alpha to wlr_render_with_matrixGuido Günther
so we can use the alpha channel to e.g. blend in textures
2018-02-25rootston: add view_createGuido Günther
so we can do basic view setup. Will be used to initialize alpha.