aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
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.
2018-02-25Merge pull request #669 from acrisci/headless-output-frame-timerDrew DeVault
destroy frame timer in headless output
2018-02-25Merge pull request #668 from dlrobertson/fix_null_derefDrew DeVault
Fix null deref in wlr_libinput_backend_destroy
2018-02-24remove frame timer from headless outputTony Crisci
2018-02-25Fix null deref in wlr_libinput_backend_destroyDan Robertson
If input_event is null (e.g. if backend_start has not been called yet) wl_event_source_remove will result in a null deref.
2018-02-24Merge pull request #667 from Ongy/screenshot_tmpfile_templateDrew DeVault
prevent screenshot from resuing template array
2018-02-24prevent screenshot from resuing template arrayMarkus Ongyerth
The template array given to mkstemp was declared static. This reused the memory, which caused mkstemp to fail if backingfile is run more than once, because the array no longer contained the template syntax (which is forced to end in XXXXXX) but the previous file name.
2018-02-24Merge pull request #666 from acrisci/syms-wlr-vlogDrew DeVault
add _wlr_vlog to syms global
2018-02-24add _wlr_vlog to syms globalTony Crisci
2018-02-24Merge pull request #641 from Ongy/idle-inhibitTony Crisci
Add idle-inhibit implementation
2018-02-24Merge pull request #657 from emersion/wl-backend-uninitialized-fieldTony Crisci
backend/wayland: fix uninitialized wlr_event_keyboard_key::update_state
2018-02-23Merge pull request #654 from emersion/send-frame-doneemersion
rootston: send frame done events unconditionally
2018-02-23Merge pull request #658 from agx/x11-vendorDrew DeVault
x11: parse vendor and model out of xcb setup information
2018-02-23Merge pull request #664 from emersion/fix-various-use-after-freeDrew DeVault
Fix a bunch of use-after-free
2018-02-23idle-inhibit: style adjustments and motivationMarkus Ongyerth
2018-02-23rootston: fix user-after-free in output_handle_destroyemersion
2018-02-23rootston: fix use-after-free in handle_keyboard_destroyemersion
2018-02-23xwayland: fix some use-after-free in xwmemersion
2018-02-23Merge pull request #652 from agx/symbols-fileemersion
Add symbols file
2018-02-23x11: parse vendor and model out of xcb setup informationGuido Günther
2018-02-23Add symbols fileGuido Günther
to only export symbols matching wlr_* from the wlroots library
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.