emersion
2551ef8871
input-device: add output_name field, populate it from libinput
2018-04-29 14:30:09 +01:00
Drew DeVault
a0f4903063
Merge pull request #926 from emersion/fix-x11-backend-memory-leaks
...
Fix some backend memory leaks
2018-04-29 08:00:59 -04:00
Drew DeVault
795d4071db
Merge pull request #923 from emersion/cursor-unspecified-axes
...
cursor: use NAN for unspecified axes, refactor absolute warping code
2018-04-29 08:00:26 -04:00
emersion
f8e0a03451
backend/x11: correctly destroy input devices
2018-04-28 12:55:36 +01:00
emersion
79da4c175e
backend/headless: remove useless destructor
2018-04-28 12:48:05 +01:00
emersion
57c36ddcb3
backend/wayland: add proper error handling to wlr_wl_backend_create
2018-04-28 12:38:03 +01:00
emersion
6e7c0b57f6
cursor: use NAN for unspecified axes, refactor absolute warping code
2018-04-28 09:24:38 +01:00
emersion
4d7877420d
Merge pull request #921 from emersion/xwayland-firefox-popups
...
xwayland: make utility windows unmanaged again
2018-04-27 10:55:44 +01:00
emersion
001045e47a
xwayland: make utility windows unmanaged again
...
7f70d244a9
made utility windows
managed, because it made sense according to the spec. Turns out
Firefox uses them for popups.
2018-04-27 10:44:20 +01:00
Drew DeVault
04af09862a
Merge pull request #918 from emersion/xwayland-unmapped-request-configure
...
xwayland: forward configure events to compositor when unmapped
2018-04-27 10:49:31 +02:00
Drew DeVault
3feb690aea
Merge pull request #919 from emersion/xwayland-chromium-combobox
...
xwayland: fix some Chromium comboboxes
2018-04-27 10:48:40 +02:00
Drew DeVault
60ae98edd8
Merge pull request #917 from emersion/fix-xdg-positioner-cast
...
xdg-shell: fix invalid xdg-positioner cast
2018-04-27 10:45:44 +02:00
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.
2018-04-26 23:18:59 +01:00
emersion
af668ceb7c
xwayland: forward configure events to compositor when unmapped
2018-04-26 22:18:31 +01:00
emersion
126f12e428
xdg-shell: fix invalid xdg-positioner cast
2018-04-26 18:53:59 +01:00
Drew DeVault
daa293da93
Merge pull request #915 from emersion/redesign-compositor-resources
...
compositor: redesign how resources are managed
2018-04-26 19:01:16 +02:00
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.
2018-04-26 17:51:06 +01:00
Drew DeVault
979b1b22d5
Merge pull request #914 from emersion/misc-segfault-fixes
...
Misc segfault fixes
2018-04-26 17:37:27 +02:00
emersion
c119c43b48
xwayland/selection: fix little memory leak on error
2018-04-26 15:59:58 +01:00
emersion
874909dca6
xdg-shell: fix invalid wlr_xdg_positioner alloc
2018-04-26 15:59:23 +01:00
emersion
fcb7ad925d
layer-shell: fix use-after-free when client requests an invalid layer
2018-04-26 15:58:41 +01:00
Drew DeVault
93ebd33aa8
Merge pull request #890 from agx/layer-shell-empty-output-crash
...
layer-shell: Fix crash when cursor is intially outside any output
2018-04-26 14:31:35 +02:00
Guido Günther
d81f0170a3
layer-shell: Don't crash when the compositor didn't find a suitable output
...
In that case it must have closed the surface.
2018-04-26 14:08:30 +02:00
Guido Günther
b1bd0e2557
layer-shell: Fix crash when cursor is intially outside any output
...
On the X11 backend the cursor position might be outside the output
window so no output is returned leading to the assert to trigger. Use
sane fallback instead of crashing.
2018-04-26 14:08:30 +02:00
Drew DeVault
ce64bb7d83
Merge pull request #912 from RyanDwyer/remove-bitchecks
...
Remove bitchecks from wlr_output_layout_adjacent_output()
2018-04-26 12:32:52 +02:00
Drew DeVault
5b50fc9fd9
Merge pull request #913 from emersion/log-require-extension
...
Log required extension name if unavailable
2018-04-26 12:32:38 +02:00
emersion
5a87712ca8
Log required extension name if unavailable
2018-04-26 11:11:28 +01:00
Ryan Dwyer
daa1ee35be
Make WLR_DIRECTION enum powers of 2
2018-04-26 19:51:11 +10:00
Drew DeVault
fecb971518
Merge pull request #902 from emersion/various-memory-leaks
...
Various memory leaks
2018-04-26 11:34:49 +02:00
Drew DeVault
25dddc0094
Merge pull request #911 from RyanDwyer/fix-output-direction
...
Fix WLR_DIRECTION enums
2018-04-26 11:20:25 +02:00
Drew DeVault
fac2c3e25f
Merge pull request #882 from emersion/unprefix-local-symbols
...
Remove wlr_ prefix from local symbols
2018-04-26 11:18:01 +02:00
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.
2018-04-26 19:09:55 +10:00
emersion
31857c9ed4
Merge pull request #910 from agx/printf-ssize_t
...
Use correct prinf format specifiers for ssize_t
2018-04-26 09:49:39 +01:00
Guido Guenther
085452f9d9
Use correct printf format specifiers for ssize_t
...
This unbreaks the build on armhf that otherwise fails like
../xwayland/selection/incoming.c: In function 'xwm_data_source_write':
../include/wlr/util/log.h:34:17: error: format '%ld' expects argument of type 'long int', but argument 6 has type 'ssize_t {aka int}' [-Werror=format=]
_wlr_log(verb, "[%s:%d] " fmt, wlr_strip_path(__FILE__), __LINE__, ##__VA_ARGS__)
^
../xwayland/selection/incoming.c:34:2: note: in expansion of macro 'wlr_log'
wlr_log(L_DEBUG, "wrote %zd (chunk size %ld) of %d bytes",
^~~~~~~
../xwayland/selection/incoming.c:34:44: note: format string is defined here
wlr_log(L_DEBUG, "wrote %zd (chunk size %ld) of %d bytes",
~~^
%d
2018-04-26 10:46:11 +02:00
emersion
449f06556a
Destroy wlr_surface with wlr_renderer
2018-04-26 00:11:36 +01:00
emersion
d47713ac0f
compositor: destroy subsurface resources with wlr_subcompositor
2018-04-25 23:53:44 +01:00
emersion
89a9c96fab
compositor: make wlr_compositor_destroy destroy resources
2018-04-25 23:53:44 +01:00
emersion
cd9f25711c
backend: destroy renderer when destroying backend
2018-04-25 23:53:43 +01:00
emersion
625a7a48dc
Don't use the wlr_ prefix for static functions
2018-04-25 23:51:00 +01:00
emersion
71ca45e2c0
Make sure we don't use others' prefixes
2018-04-25 23:24:58 +01:00
emersion
f9f75a1362
Add prefix policy to CONTRIBUTING.md
2018-04-25 23:00:47 +01:00
emersion
b0d99f5c67
Remove wlr_ prefix from local symbols
2018-04-25 23:00:46 +01:00
Drew DeVault
097561d6bf
Merge pull request #901 from emersion/layer-shell-minor-memory-leak
...
layer-shell: fix small memory leak
2018-04-25 11:39:25 +02:00
emersion
99e9f08c4a
Merge pull request #903 from emersion/wlr-egl-destroy-surface
...
render/egl: add wlr_egl_destroy_surface
2018-04-25 08:33:41 +01:00
emersion
018b82c01e
render/egl: allow passing NULL to surface and image destructors
2018-04-25 08:28:48 +01:00
emersion
eaed6bd03b
render/egl: add wlr_egl_destroy_surface
2018-04-24 23:44:43 +01:00
emersion
8e2f3056f8
layer-shell: fix small memory leak
2018-04-24 22:40:48 +01:00
Drew DeVault
c40f86d27f
Merge pull request #900 from emersion/cursor-wrap-absolute-zero
...
cursor: allow to call wlr_cursor_wrap_absolute with zero
2018-04-24 21:18:08 +02:00
emersion
bc0bfde5ee
cursor: allow to call wlr_cursor_wrap_absolute with zero
2018-04-24 19:46:29 +01:00
Drew DeVault
a6790d45b2
Merge pull request #895 from agx/layer-shell-popup-damage
...
layer-shell: use output_damage_{whole,from}_local_surface
2018-04-24 13:16:44 +02:00