Drew DeVault
57d03a3eda
Merge pull request #931 from emersion/redesign-resource-destroy
...
Redesign resource destruction
7 years ago
emersion
d136026a2c
seat: implement inert seat resources
7 years ago
morganamilo
6305e6327f
Fix typos in comments and strings
7 years ago
emersion
5d37b14116
data-device: make sure resources are correctly destroyed
7 years ago
emersion
ff4708d406
linux-dmabuf: correctly destroy resources
7 years ago
emersion
2cff6dbd63
seat: split into multiple files
7 years ago
emersion
1e563e7ecf
data-device: split into multiple files
7 years ago
emersion
62d7337d00
backend/x11: add one pointer per output
7 years ago
emersion
ddac792b61
backend/wayland: only set one pointer listener
7 years ago
emersion
9f8a7c8fc4
backend/wayland: create one virtual pointer per output
7 years ago
emersion
2551ef8871
input-device: add output_name field, populate it from libinput
7 years ago
Drew DeVault
a0f4903063
Merge pull request #926 from emersion/fix-x11-backend-memory-leaks
...
Fix some backend memory leaks
7 years ago
emersion
f8e0a03451
backend/x11: correctly destroy input devices
7 years ago
emersion
6e7c0b57f6
cursor: use NAN for unspecified axes, refactor absolute warping code
7 years ago
emersion
7f70d244a9
xwayland: fix some Chromium comboboxes
...
Some comboboxes (e.g. in chrome://flags) are advertized as…
Notifications of course! Yeah, notifications, the thing that
tells you you have mail, your battery is low, or the dog has
eaten your carpet. This isn't the first time we notice Chromium's
X11 backend is pretty shit.
Anyway, added notifications and splash screens to the list of
unmanaged windows. Also removed utility windows because those
should be managed, but maybe I'm wrong and I'll revert this.
7 years ago
emersion
43012f3740
compositor: redesign how resources are managed
...
All public resource creators now take a new ID for the resource
and an optional list where the resource link is added. When the
resource is destroyed it is its own responsibility to remove
itself from the list. This removes the need for the caller to add
a destroy listener.
This commit fixes a few segfaults with resources not removed from
the list when destroyed.
7 years ago
Ryan Dwyer
daa1ee35be
Make WLR_DIRECTION enum powers of 2
7 years ago
Drew DeVault
fecb971518
Merge pull request #902 from emersion/various-memory-leaks
...
Various memory leaks
7 years ago
Drew DeVault
25dddc0094
Merge pull request #911 from RyanDwyer/fix-output-direction
...
Fix WLR_DIRECTION enums
7 years ago
Ryan Dwyer
de97f90246
Fix WLR_DIRECTION enums.
...
Having 0 as an enum value causes wlr_output_layout_adjacent_output() to
never match WLR_DIRECTION_UP.
7 years ago
emersion
449f06556a
Destroy wlr_surface with wlr_renderer
7 years ago
emersion
d47713ac0f
compositor: destroy subsurface resources with wlr_subcompositor
7 years ago
emersion
89a9c96fab
compositor: make wlr_compositor_destroy destroy resources
7 years ago
emersion
71ca45e2c0
Make sure we don't use others' prefixes
7 years ago
emersion
b0d99f5c67
Remove wlr_ prefix from local symbols
7 years ago
Drew DeVault
097561d6bf
Merge pull request #901 from emersion/layer-shell-minor-memory-leak
...
layer-shell: fix small memory leak
7 years ago
emersion
018b82c01e
render/egl: allow passing NULL to surface and image destructors
7 years ago
emersion
eaed6bd03b
render/egl: add wlr_egl_destroy_surface
7 years ago
emersion
8e2f3056f8
layer-shell: fix small memory leak
7 years ago
Guido Günther
ad22e02310
rootston: Damage layer-shell popups
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
edbf4a2f60
Implement output auto-selection in rootston
7 years ago
Drew DeVault
177b548b15
Update layer shell with optional wl_output
7 years ago
emersion
bfcd3f3707
Add wlr_subcompositor
7 years ago
emersion
fa84b267e0
Remove wlr_surface::subsurface
7 years ago
emersion
70d820be25
Add wlr_renderer_init_wl_shm to advertize supported renderer formats
7 years ago
Drew DeVault
dbdc63ddde
Merge pull request #873 from emersion/output-dont-emit-mode-twice
...
output: don't emit the mode event if it hasn't changed
7 years ago
emersion
94fa6c88f4
output: don't emit the mode event if it hasn't changed
...
This also fixes #535 .
7 years ago
Uli Schlachter
98f8ec6a08
x11_handle_input_event: Remove return value
...
handle_x11_event() and x11_handle_input_event() react to different kinds
of events, so it does not make much of a difference if
x11_handle_input_event() signals if it handled an event or not.
Signed-off-by: Uli Schlachter <psychon@znc.in>
7 years ago
Drew DeVault
63763d3279
Merge pull request #862 from emersion/renderer-scissor-upside-down
...
Make wlr_renderer_scissor take normal coords instead of upside-down ones
7 years ago
emersion
bcf5da5cd7
Merge pull request #866 from emersion/xwayland-unmapped-on-create
...
xwayland: emit new_surface when unmapped
7 years ago
emersion
fa02e30adf
xwayland: emit new_surface when unmapped
7 years ago
Drew DeVault
4dbf7f8b88
Merge pull request #865 from martinetd/str_truncation
...
Fix gcc string truncation warnings
7 years ago
Dominique Martinet
555206cf60
Fix gcc string truncation warnings
7 years ago
emersion
1b802d9251
Make wlr_renderer_scissor take normal coords instead of upside-down ones
7 years ago
emersion
8dec7036d0
Always unmap before destroying surface
7 years ago