Dominique Martinet
5ec06dcecd
xwm: fix call of xcb_change_window_attributes for old gcc versions
...
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
7 years ago
Drew DeVault
0820557c8c
Merge pull request #693 from emersion/fix-output-bind-multiple
...
Fix clients binding multiple times to the same output
7 years ago
emersion
7340cf19ea
Merge pull request #694 from Ongy/keep_current_mode
...
prevent current_mode null on output_enable(false)
7 years ago
Markus Ongyerth
2cea430488
prevent current_mode null on output_enable(false)
...
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.
7 years ago
emersion
90148e64ab
Fix clients binding multiple times to the same output
7 years ago
emersion
d9571f27e6
Merge pull request #691 from agx/egl_ext_match
...
Avoid false positives on egl extension matching
7 years ago
Guido Günther
d9f2e90df6
Avoid false positives on egl extension matching
...
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
7 years ago
emersion
8ba8cc37f2
Merge pull request #692 from agx/texture_format_err
...
textures: tell us which texture format is unsupported
7 years ago
Guido Günther
2dc8a35db2
textures: tell us which texture format is unsupported
7 years ago
emersion
73045a7d9d
Merge pull request #690 from agx/eglCreateImageKHR
...
wlr_egl_create_image: return NULL when function is missing
7 years ago
Guido Günther
d928ddc36c
wlr_egl_create_image: return NULL when function is missing
...
This matches the return value of elgCreateImage in case of error.
7 years ago
emersion
75a7340a27
Merge pull request #689 from Ongy/fullscreen-opacity
...
set fullscreen alpha to 1
7 years ago
Markus Ongyerth
14bb550bff
set alpha to 1.0 for drag icons
7 years ago
Markus Ongyerth
333110515e
set fullscreen alpha to 1
7 years ago
emersion
c2ba1869ce
Merge pull request #670 from Ongy/xwayland_unmanaged
...
add xwayland unmanaged tests to support dmenu
7 years ago
emersion
1171368cfc
Merge pull request #687 from agx/roots_view.alpha
...
rootston: drop saved.alpha from roots_view
7 years ago
Guido Günther
f97ef3f5d4
rootston: drop saved.alpha from roots_view
...
It's currently unused.
7 years ago
Drew DeVault
bae17ab97c
Merge pull request #683 from Ongy/drm_remember_dpms
...
restore dpms state on drm resume
7 years ago
Markus Ongyerth
a65ef8ea86
restore dpms state on drm resume
...
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.
7 years ago
Markus Ongyerth
bb676013ed
add xwayland unmanaged tests to support dmenu
...
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.
7 years ago
Drew DeVault
3296365ce5
Merge pull request #659 from agx/alpha
...
Make wlr_render_with_matrix use alpha
7 years ago
Guido Günther
202a728ee9
rootstion: handle alpha in server side decorations
7 years ago
Guido Günther
9864f1c136
rootston: wire up window alpha keybinding
7 years ago
Guido Günther
e2ea1ebe48
rootston: Add alpha channel to views
7 years ago
Guido Günther
d08792bfff
Add alpha to wlr_render_with_matrix
...
so we can use the alpha channel to e.g. blend in textures
7 years ago
Guido Günther
e6ca78b0e4
rootston: add view_create
...
so we can do basic view setup. Will be used to initialize alpha.
7 years ago
Drew DeVault
7da653bbb4
Merge pull request #669 from acrisci/headless-output-frame-timer
...
destroy frame timer in headless output
7 years ago
Drew DeVault
f5260361c8
Merge pull request #668 from dlrobertson/fix_null_deref
...
Fix null deref in wlr_libinput_backend_destroy
7 years ago
Tony Crisci
721e4ec55f
remove frame timer from headless output
7 years ago
Dan Robertson
99e6cba3c3
Fix null deref in wlr_libinput_backend_destroy
...
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.
7 years ago
Drew DeVault
9dc868a27f
Merge pull request #667 from Ongy/screenshot_tmpfile_template
...
prevent screenshot from resuing template array
7 years ago
Markus Ongyerth
8ab0073b49
prevent screenshot from resuing template array
...
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.
7 years ago
Drew DeVault
3bce37f99a
Merge pull request #666 from acrisci/syms-wlr-vlog
...
add _wlr_vlog to syms global
7 years ago
Tony Crisci
47c9d29919
add _wlr_vlog to syms global
7 years ago
Tony Crisci
b7b86a9591
Merge pull request #641 from Ongy/idle-inhibit
...
Add idle-inhibit implementation
7 years ago
Tony Crisci
94d53d53f9
Merge pull request #657 from emersion/wl-backend-uninitialized-field
...
backend/wayland: fix uninitialized wlr_event_keyboard_key::update_state
7 years ago
emersion
69409ea3cb
Merge pull request #654 from emersion/send-frame-done
...
rootston: send frame done events unconditionally
7 years ago
Drew DeVault
c2df2801a5
Merge pull request #658 from agx/x11-vendor
...
x11: parse vendor and model out of xcb setup information
7 years ago
Drew DeVault
5ad15c90d5
Merge pull request #664 from emersion/fix-various-use-after-free
...
Fix a bunch of use-after-free
7 years ago
Markus Ongyerth
67285c1d57
idle-inhibit: style adjustments and motivation
7 years ago
emersion
ca3a947864
rootston: fix user-after-free in output_handle_destroy
7 years ago
emersion
5dba27216c
rootston: fix use-after-free in handle_keyboard_destroy
7 years ago
emersion
b1e2718dd7
xwayland: fix some use-after-free in xwm
7 years ago
emersion
bd9583a7e8
Merge pull request #652 from agx/symbols-file
...
Add symbols file
7 years ago
Guido Günther
9716aa9b92
x11: parse vendor and model out of xcb setup information
7 years ago
Guido Günther
6ba1128a72
Add symbols file
...
to only export symbols matching wlr_* from the wlroots library
7 years ago
Guido Günther
b13f9fcfde
Don't use os_create_anonymous_file outside of wlroots
...
Use a stripped down version for the backing file in the screenshot
example.
7 years ago
emersion
11e5f0bac8
backend/wayland: fix uninitialized wlr_event_keyboard_key::update_state
7 years ago
Tony Crisci
1c1b5b1b17
Merge pull request #662 from emersion/surface-resize-frame-done
...
surface: don't reset frame_callback_list on resize
7 years ago
emersion
41c272b77a
Merge pull request #661 from Ongy/wlr_idle_events
...
move activity_notify into events in wlr_idle
7 years ago