emersion
625a7a48dc
Don't use the wlr_ prefix for static functions
7 years ago
emersion
b0d99f5c67
Remove wlr_ prefix from local symbols
7 years ago
emersion
8e2f3056f8
layer-shell: fix small memory leak
7 years ago
emersion
bc0bfde5ee
cursor: allow to call wlr_cursor_wrap_absolute with zero
7 years ago
emersion
38064f1d18
Fix protocol error when a client destroys and re-creates a subsurface
7 years ago
Drew DeVault
941f88ce23
Fix popup positioning & double popups
7 years ago
Drew DeVault
52baf3dd8a
Move get_geometry call back to xdg-shell
7 years ago
Drew DeVault
0a0627f5d0
Finish forward-porting @acrisci's positioner work
7 years ago
Drew DeVault
2e3d901ac5
Forward-port xdg-shell-v6 positioner improvements
7 years ago
Drew DeVault
278aa84619
Basic layer popup rendering
7 years ago
Drew DeVault
d3cdb00208
Add (shitty) support for popups to layer example
7 years ago
Drew DeVault
6b7b64ec1e
Generalize xdg-shell popups and add to layer-shell
7 years ago
Drew DeVault
625bc7b8b3
assert(surface->output); after new_surface emit
7 years ago
Drew DeVault
177b548b15
Update layer shell with optional wl_output
7 years ago
emersion
3bce5dfc9f
Fix segfaults in wlr_surface_is_*
7 years ago
emersion
bfcd3f3707
Add wlr_subcompositor
7 years ago
emersion
fa84b267e0
Remove wlr_surface::subsurface
7 years ago
Markus Ongyerth
c8ccb1bef3
reorder xkb state handling in wlr_keyboard
...
wlr_keyboard manages the xkb-common state of the compositor.
It used to update the state, update the modifiers, then notify the
compositor.
When [Shift_L] was pressed and released, this resulted in an event chain:
Modifiers: Shift
Key: Shift_L (Pressed)
Modifiers:
Key: Shift_L (Release)
The xkb-docs state that the state should be updated *after* the key was
handled [1], to prevent the new state from influencing the actual key
generated.
To achieve this, the event to the compositor is emitted, *before*
wlroots handles the xkb and internal keyboard state.
With this patch applied, the emitted events ill be:
Modifiers:
Key: Shift_L (Pressed)
Modifiers: Shift
Key: Shift_L (Release)
[1] https://xkbcommon.org/doc/current/group__state.html#gac554aa20743a621692c1a744a05e06ce
7 years ago
emersion
94fa6c88f4
output: don't emit the mode event if it hasn't changed
...
This also fixes #535 .
7 years ago
emersion
1b802d9251
Make wlr_renderer_scissor take normal coords instead of upside-down ones
7 years ago
Drew DeVault
8f4039d799
Merge pull request #861 from emersion/fix-output-transform-compose
...
Fix wlr_output_transform_compose
7 years ago
emersion
31c8bdc277
Fix wlr_output_transform_compose
7 years ago
emersion
fa0be972bb
Fix wlr_xdg_surface_surface_at for popups
7 years ago
Drew DeVault
bef5c1fd56
Merge pull request #850 from emersion/remove-backend-egl
...
backend: remove wlr_backend_get_egl
7 years ago
emersion
d2ebbd103c
backend: remove wlr_backend_get_egl
7 years ago
Drew DeVault
bf68854a38
Fix destruction of popups without grabs
...
Fixes #846
7 years ago
Drew DeVault
ae4cef9e41
Merge pull request #825 from emersion/surface-iterators
...
Add surface iterators
7 years ago
Drew DeVault
ec0ce8ae1c
Fix sending updates to xdg-output resources
...
Fixes #836
7 years ago
Drew DeVault
6710de9878
Merge branch 'master' into xwayland-dnd
7 years ago
emersion
4a9a9eae9a
Add surface iterators
7 years ago
emersion
19b576734e
Merge pull request #834 from emersion/surface-is-subsurface
...
Add wlr_surface_is_subsurface and wlr_subsurface_from_surface
7 years ago
emersion
aced024819
Add wlr_surface_is_subsurface and wlr_subsurface_from_surface
7 years ago
Drew DeVault
abfe7923c4
Add wlr_xdg_output_manager
7 years ago
emersion
3ea425d4e2
Fix xdg-shell popups, add wlr_xdg_surface_surface_at
7 years ago
emersion
c9d21106b4
Add wlr_xdg_surface_v6_surface_at and wlr_wl_shell_surface_surface_at
7 years ago
emersion
1a8b24bdd2
rootston: fix view_at
7 years ago
emersion
d16127b3cb
Fix wlr_surface_subsurface_at, change it to be wlr_surface_surface_at
7 years ago
Drew DeVault
36e94b2a8e
Actually fix input inhibitor destructor
7 years ago
Drew DeVault
1fa3ca3152
Revert "Add destructor to inhibitor"
...
This breaks shit
This reverts commit 657d2c9a69
.
7 years ago
Drew DeVault
657d2c9a69
Add destructor to inhibitor
7 years ago
Drew DeVault
ef4e833f13
Add wlr_input_inhibitor
7 years ago
emersion
58ac05c276
Merge branch 'master' into xwayland-dnd
7 years ago
Drew DeVault
333ab59902
Add wlr_surface_is_*_surface
...
And wlr_*_surface_from_wlr_surface
7 years ago
emersion
8836b4f024
Merge branch 'master' into xwayland-dnd
7 years ago
Tony Crisci
5a47da1ea6
annotate wlr-output-layout coord variables
7 years ago
Drew DeVault
1778818a50
Don't destroying all layer surfaces on client d/c
7 years ago
Drew DeVault
e19ee6d469
Add wlr_surface_point_accepts_input
...
Ref https://github.com/swaywm/sway/pull/1674
7 years ago
emersion
6bbf507082
surface: fix texture not updated on commit
...
When a client attaches a wl_drm or a linux_dmabuf buffer, we only
update it if the size is different from the one of the old buffer.
This means that if the client attaches a new, updated buffer with
the same size as the old buffer, the texture won't get updated.
This commit changes this behavior and re-creates the texture if
the client attaches a new buffer, without requiring the size to be
different.
7 years ago
emersion
d5f46f4db4
data-device: redesign wlr_data_source
7 years ago
Drew DeVault
4137d9fc80
Destroy layer surfaces on client destroyed
7 years ago