emersion
7843a48432
output: simplify and update code style
7 years ago
emersion
ff4708d406
linux-dmabuf: correctly destroy resources
7 years ago
emersion
6d569def6d
compositor, surface: correctly destroy resources
7 years ago
emersion
8676155ae1
Update CONTRIBUTING.md with protocol implementation guidelines
7 years ago
Guido Günther
1637053ef8
drm: only disable atomic modesetting when WLR_DRM_NO_ATOMIC == 1
...
Don't allow any value of the env var to disable atomic mode setting.
7 years ago
Guido Günther
697bb68ed5
Document env vars used by wlroots
7 years ago
Drew DeVault
2964248f42
Merge pull request #935 from agx/cursor-output-transform
...
wlr_cursor: transform absolute coordinates
7 years ago
Drew DeVault
37d4ff90e7
Merge pull request #938 from emersion/reorder-seat
...
seat: split into multiple files
7 years ago
emersion
2cff6dbd63
seat: split into multiple files
7 years ago
emersion
4b5b02057c
Merge pull request #937 from emersion/reorder-data-device
...
data-device: split into multiple files
7 years ago
emersion
9a83e8131a
Merge pull request #939 from ammen99/master
...
rootston: remove mode and transform signals when output is destroyed
7 years ago
Guido Günther
545d54439d
backend/wayland: don't transform pointer events
...
We do this in a backend independent way in wlr_cursor now.
7 years ago
Guido Günther
6f01c12b40
backend/x11: don't transform pointer events
...
We do this in a backend independent way in wlr_cursor now.
7 years ago
Guido Günther
4efae8c177
wlr_cursor: transform absolute coordinates
...
Honor output rotation when processing absolute coordinates. This fixes
touch events on rotated outputs.
Fixes #928
7 years ago
Ilia Bozhinov
54bf3a36ca
rootston: remove mode and transform signals when output is destroyed
7 years ago
emersion
1e563e7ecf
data-device: split into multiple files
7 years ago
emersion
6b3eac37f1
output: assert move_cursor if set_cursor is available
7 years ago
Drew DeVault
8f5045c871
Silently ignore touch_{motion,up} for unknown ids
7 years ago
emersion
225d182765
output: always use hardware cursors if available
...
This changes the `wlr_output_impl.set_cursor` function to take a
`wlr_texture` instead of a byte buffer. This simplifies the
DRM and Wayland backends since they were creating textures from
the byte buffer anyway.
With this commit, performance should be improved when moving the
cursor since outputs don't need to be re-rendered anymore.
7 years ago
emersion
509d38425c
Merge pull request #930 from emersion/input-device-output-name
...
Add wlr_input_device.output_name
7 years ago
emersion
178ac8bffe
backend/{wayland,x11}: fix pointer coords for transformed outputs
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
9e7a997433
rootston: map input devices with wlr_input_device.output_name
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
Drew DeVault
795d4071db
Merge pull request #923 from emersion/cursor-unspecified-axes
...
cursor: use NAN for unspecified axes, refactor absolute warping code
7 years ago
emersion
f8e0a03451
backend/x11: correctly destroy input devices
7 years ago
emersion
79da4c175e
backend/headless: remove useless destructor
7 years ago
emersion
57c36ddcb3
backend/wayland: add proper error handling to wlr_wl_backend_create
7 years ago
emersion
6e7c0b57f6
cursor: use NAN for unspecified axes, refactor absolute warping code
7 years ago
emersion
4d7877420d
Merge pull request #921 from emersion/xwayland-firefox-popups
...
xwayland: make utility windows unmanaged again
7 years ago
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.
7 years ago
Drew DeVault
04af09862a
Merge pull request #918 from emersion/xwayland-unmapped-request-configure
...
xwayland: forward configure events to compositor when unmapped
7 years ago
Drew DeVault
3feb690aea
Merge pull request #919 from emersion/xwayland-chromium-combobox
...
xwayland: fix some Chromium comboboxes
7 years ago
Drew DeVault
60ae98edd8
Merge pull request #917 from emersion/fix-xdg-positioner-cast
...
xdg-shell: fix invalid xdg-positioner cast
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
af668ceb7c
xwayland: forward configure events to compositor when unmapped
7 years ago
emersion
126f12e428
xdg-shell: fix invalid xdg-positioner cast
7 years ago
Drew DeVault
daa293da93
Merge pull request #915 from emersion/redesign-compositor-resources
...
compositor: redesign how resources are managed
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
Drew DeVault
979b1b22d5
Merge pull request #914 from emersion/misc-segfault-fixes
...
Misc segfault fixes
7 years ago
emersion
c119c43b48
xwayland/selection: fix little memory leak on error
7 years ago
emersion
874909dca6
xdg-shell: fix invalid wlr_xdg_positioner alloc
7 years ago
emersion
fcb7ad925d
layer-shell: fix use-after-free when client requests an invalid layer
7 years ago
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
7 years ago
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.
7 years ago
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.
7 years ago
Drew DeVault
ce64bb7d83
Merge pull request #912 from RyanDwyer/remove-bitchecks
...
Remove bitchecks from wlr_output_layout_adjacent_output()
7 years ago