Vincent Vanlaer
7e3bb39d49
Always notify seat on button press
...
When the cursor is not over a view, wlr_seat_pointer_notify_button is
not called. However, this function does the bookkeeping of the pointer
state with regards to the number of pressed buttons. Because this
function also sends updates to the focused view, it has been moved
down, after the focus has been updated.
7 years ago
Drew DeVault
b10269e513
Merge pull request #607 from VincentVanlaer/cursor-bug
...
Prevent cursor from getting stuck at infinity
7 years ago
Vincent Vanlaer
8dcb2f2d6b
Prevent cursor from getting stuck at infinity
7 years ago
emersion
d33a113f67
Merge pull request #606 from FabianGeiselhart/fix-typo
...
Fix typo in rootston config
7 years ago
Fabian Geiselhart
ee6cbe2efd
Comments should talk about colons not semicolons
7 years ago
emersion
1cea73d2d8
rootston: fix rotated views damage tracking
7 years ago
emersion
1842487d61
rootston: fix crash when closing a fullscreened xwayland view
7 years ago
emersion
6ba36cc52f
rootston: do not rely on current view size when accumulating damage
7 years ago
emersion
faa57341ca
output: replace raw GL calls by wlr_renderer_* calls
7 years ago
emersion
ddb1779f9f
render: make wlr_renderer_clear take a float[4] for the color
7 years ago
emersion
402587ed65
rootston: use output renderer
7 years ago
emersion
3d3ea32137
Merge remote-tracking branch 'upstream/master' into output-damage
7 years ago
Drew DeVault
86a404f2cd
Merge pull request #601 from emersion/output-modeset-enabled
...
backend/drm: update output enabled property on modeset
7 years ago
emersion
bb39277e97
backend/drm: update output enabled property on modeset
7 years ago
emersion
bb4aeb3b2f
backend/drm: support updating cursor when session is paused
7 years ago
emersion
5aa642485d
rootston: do not render views fullscreened on other outputs
7 years ago
emersion
4d6e7f510e
rootston: fix artifacts when leaving fullscreen in a rotated view
7 years ago
Drew DeVault
39d5e78d37
Fix typo in xcursor.h
7 years ago
Drew DeVault
8cf622f074
Improve xcursor docs
7 years ago
emersion
a43555d7f5
Merge pull request #598 from Ongy/screenshot_transform
...
Screenshot transform
7 years ago
Markus Ongyerth
cd925f496c
fixes the off by one errors in examples/screenshot
...
The inverse loop iterations for the transformed outputs had an off by
one error, iterating 1 based, not 0 based. This commit fixes that.
7 years ago
emersion
42ec696b82
Merge pull request #599 from emersion/output-cursor-destroy-signal
...
output: add destroy signal for wlr_output_cursor
7 years ago
emersion
8eed857292
output: add destroy signal for wlr_output_cursor
7 years ago
Markus Ongyerth
3a404e4f8d
handle the other transformations for screenshots
...
This handles all current transformations for outputs properly.
This ensures an output is drawn in readable orientation/flipping no
matter the actual transformations applied to it.
7 years ago
Markus Ongyerth
4afc933ea4
fixes 90 degree rotation screenshots
...
This fixes the screenshot example application when an output is rotated
by 90 degrees.
Other tranformations are not taken into account yet.
7 years ago
emersion
edb4c8d858
output: damage whole output when fullscreen surface size changes
7 years ago
emersion
a295c805c4
output: fix output_damage_whole for scaled outputs
7 years ago
emersion
babdd6ccf7
backend: fix use-after-free when destroying backends
...
The backend destroy signal is emitted before the output_remove
signal is. When the destroy signal is emitted listeners remove
their output_remove listener, so the output_remove signal is never
received and listeners have an invalid output pointer.
The correct way to solve this would be to remove the output_remove
signal completely and use the wlr_output.events.destroy signal
instead. This isn't yet possible because wl_signal_emit is unsafe
and listeners cannot be removed in listeners.
7 years ago
emersion
429f06d3f1
Merge pull request #597 from agx/typos
...
Fix some typos
7 years ago
Guido Günther
c5aac77692
Fix some typos
...
Prefer initialize over initialise since used more often in the sources.
7 years ago
emersion
704130cc11
output: fix performance issues with wlr_output_schedule_frame
7 years ago
emersion
a7cba7d83f
rootston: damage whole output when entering/leaving fullscreen
7 years ago
emersion
2a855e6282
rootston: fix urxvt damage on HiDPI outputs
...
util/region: add wlr_region_expand
7 years ago
emersion
f152fdb4c5
Merge pull request #594 from Ongy/drm-surface-buffers
...
relases gbm buffers on init
7 years ago
emersion
d498855b9d
backend/drm: fix hw cursor position on rotated and scaled outputs
...
output: add wlr_output_transformed_resolution
7 years ago
emersion
d0961a02af
render: add wlr_renderer_scissor docs
7 years ago
emersion
51c22d39a4
Merge remote-tracking branch 'upstream/master' into output-damage
7 years ago
emersion
2cc989e097
output: restrict provided damage to output bounds
7 years ago
Tony Crisci
ed5b1fdedd
Merge pull request #580 from emersion/screenshooter-renderer-backport
...
Backport screenshooter fixes from the renderer redesign v1
7 years ago
Markus Ongyerth
cde0f454b3
Clean up the gbm/egl as well
7 years ago
Markus Ongyerth
2cdb646531
relases gbm buffers on init
...
The wlr_drm_surface_init function is called (upon others) when the drm
mode is changed.
When the surface was used previously this replaced the gbm_surface, but
did not replace the gbm buffers (front/back).
With this, wlr_drm_surface_get_from never set up the new buffers with
the new glViewport because surf->front existed.
This frees the buffers to get new buffers on the new surface with the
new viewport.
7 years ago
emersion
4cc58288cb
rootston: fix damage when changing views z-index
7 years ago
emersion
b47e8c4a1d
backend/drm: do not retry pageflip when swapping buffers
7 years ago
emersion
20e6861021
Do not flush damage if swapping buffers failed
...
This should solve issues with multiple outputs on DRM backend.
7 years ago
emersion
7881d039b6
rootston: fix output_damage_whole
...
This should fix artifacts when leaving fullscreen on rotated outputs.
7 years ago
Drew DeVault
60b2d969e0
Merge pull request #591 from emersion/fix-data-source-notify-finish
...
Fix assertion failed in data_source_notify_finish
7 years ago
emersion
5bbff20b8d
Fix assertion failed in data_source_notify_finish
7 years ago
emersion
be888df4c3
rootston: fix build without xwayland
7 years ago
emersion
e049610b47
surface: copy buffer damage to surface damage
7 years ago
emersion
1ee61dbd0f
Merge remote-tracking branch 'upstream/master' into output-damage
7 years ago