emersion
be888df4c3
rootston: fix build without xwayland
7 years ago
emersion
1ee61dbd0f
Merge remote-tracking branch 'upstream/master' into output-damage
7 years ago
Patrick Steinhardt
52cb19d99d
rootston: fix compilation without XWayland support
...
In case wlroots is not being compiled with XWayland support, we will not
have an xwayland surface in our roots view. While we make sure to pay
attention to that in some places, we are not being consistent and try to
access the xwayland surface in other places. Obviously, this leads to a
compiler error due to the field not being present.
Fix the issue by sprinkling in a few additional ifdefs where required.
7 years ago
emersion
692d33bf8b
rootston: fix clipped SSD for rotated views
7 years ago
emersion
7adf13e284
Fix flickering when switching VT
7 years ago
emersion
7111dd79ef
rootston: damage tracking for rotated views
7 years ago
emersion
8d58ed502b
output: add wlr_output_schedule_frame
7 years ago
emersion
ece2c1e4e2
Damage tracking for transformed outputs
7 years ago
emersion
4223fbc763
rootston: damage tracking scale support
7 years ago
emersion
3f96427d08
Merge branch 'output-damage' of github.com:emersion/wlroots into output-damage
7 years ago
emersion
6281deb90f
Merge remote-tracking branch 'upstream/master' into output-damage
7 years ago
emersion
2ad7df8680
rootston: damage tracking for drag icons
7 years ago
emersion
415a2b7c56
render: add wlr_renderer_clear and wlr_renderer_scissor
7 years ago
Tony Crisci
85a6939cf2
rename matrix model box to project box
7 years ago
Tony Crisci
4183271475
make it work with rotation
7 years ago
emersion
f704c3d42b
rootston: fix damage tracking for fullscreen xwayland views
7 years ago
Tony Crisci
d13114520a
move matrix model code to matrix.h
7 years ago
emersion
66ae4071a7
rootston: damage tracking for xdg popups
7 years ago
emersion
a636d72fc7
rootston: track subsurface damage
7 years ago
emersion
c6aab6f56c
Add docs and comments
7 years ago
emersion
0365b587f0
output: add damage tracking via buffer age
7 years ago
emersion
4ca38b84ed
backend/drm: fix hardware cursors not moving
...
This adds back `wlr_output::needs_swap`. This allows a backend to
request buffer swaps even if the output isn't damaged. This is
needed by the DRM backend to trigger pageflips when the cursor
moves.
7 years ago
emersion
d6c74d8a16
rooston: restrict damage to output extents
7 years ago
emersion
e29a0df8c1
output: fix software cursors damage tracking
7 years ago
emersion
b296481007
rootston: remove repaint timer, listen for damage instead
7 years ago
emersion
7f9f918b78
rootston: damage output on mode change
7 years ago
emersion
977a401fa1
rootston: damage tracking for fullscreen views
7 years ago
emersion
59ba8f35ed
rootston: use surface damage
7 years ago
emersion
3ba447a8f9
rootston: fix damage test
7 years ago
emersion
bed7522108
rootston: fix segfault when destroying unmapped xwayland view
...
This happens when closing chromium for instance.
7 years ago
emersion
bde255933e
output: add wlr_output::damage, fixes #572
7 years ago
emersion
baa17ec755
rootston: damage whole output when created
7 years ago
emersion
8b3f3ddb7f
rootston: fix double-buffering artifacts
7 years ago
emersion
7c11d3e372
rootston: fix repaint timer for outputs with refresh rate
7 years ago
emersion
96d6f34edd
rootston: replace view_damage with view_apply_damage and view_damage_whole
7 years ago
emersion
7f5a538cb7
rootston: fix segfault when rendering surface outside output
7 years ago
emersion
5017d7f762
rootston: only draw damaged regions
7 years ago
emersion
01bcc2ab01
rootston: damage views when moved
7 years ago
emersion
5089f2d9fb
rootston: do not swap buffers when output isn't damaged
7 years ago
emersion
1a084807ce
rootston: do not redraw if output has no damage
7 years ago
Tony Crisci
3751a17321
decorate xwayland views
7 years ago
Tony Crisci
dc701b72fc
abstract box matrix
7 years ago
Drew DeVault
b331c5c2c5
Merge pull request #549 from emersion/output-enabled
...
Add wlr_output::enabled
7 years ago
emersion
65b28b3823
xwayland: render children window in fullscreen
7 years ago
emersion
77fc0505e6
rootston: do not attempt to render disabled outputs
7 years ago
emersion
be3a7b0017
Disable outputs in rootston config
7 years ago
emersion
1fe1d64042
Fix views outside output layout
7 years ago
emersion
466e86b7b2
Merge branch 'master' into surface-transform
7 years ago
emersion
3b4b8953d9
Update output layout when scale or transform changes
7 years ago
emersion
529675b7b0
Add wlr_output_set_custom_mode
7 years ago
Tony Crisci
b275d44bc3
rootston xcursor fixes
7 years ago
emersion
91d72040e5
Configure outputs with make, model, serial in rootston
...
Added fallbacks in DRM backend in case EDID extension data for model and serial is missing.
Updates #403
7 years ago
emersion
bf2b58eb6d
Add wlr_output_set_scale
...
Fixes #465
7 years ago
emersion
eb763439f7
optimize a bit rootston renderer if there's no surface transform
7 years ago
emersion
d1b29a54b9
Refactor: rename matrices in rootston
7 years ago
emersion
f4754ad1a2
Fix surface transforms
7 years ago
emersion
9e29621ec3
Always center fullscreen view on screen
7 years ago
emersion
5a8bbc6203
Fix GCC build
7 years ago
emersion
54f1135c05
Fix fullscreen in xdg-shell
7 years ago
emersion
abab2902f5
Check for subsurfaces and popups before using wlr_output_set_fullscreen_surface
7 years ago
emersion
b04a9a248d
Initial fullscreen support
7 years ago
Tony Crisci
4d6b3618b8
rootston: remove unmapped surface from desktop
7 years ago
emersion
76e8e1a6ad
Merge branch 'master' into seat-views
7 years ago
Tony Crisci
3b74db467b
data-device: wlr-drag-icon
7 years ago
emersion
72d877658a
Merge branch 'master' into seat-views
7 years ago
emersion
bb6d34e7a5
rootston: add per-seat views
7 years ago
Tony Crisci
12758a00a2
rootston: touch to focus
7 years ago
Tony Crisci
ac4841ba37
put dnd icon in the right place
7 years ago
Tony Crisci
6a516f7c41
basic touch dnd
7 years ago
emersion
3f6cf517b9
Add wlr_xdg_surface_v6_popup_get_position
7 years ago
emersion
bb973ff27d
Remove remaining buffer_{width,height} usage
7 years ago
emersion
2f44140f4a
Don't use buffer size
7 years ago
emersion
94b20da3ce
Fix popups position for rotated views
7 years ago
emersion
f8b43940b1
Merge branch 'master' into cursor-scale
7 years ago
emersion
28fc813ca9
Merge branch 'master' into cursor-scale
7 years ago
emersion
454bea678b
Fix rendering of rotated views on HiDPI outputs
7 years ago
emersion
8605243459
Introduce wlr_xcursor_manager
7 years ago
emersion
2dccb11741
rootston: keep one xcursor_theme per seat
7 years ago
emersion
09279b90a6
Add wlr_output.serial
7 years ago
emersion
aaf0691883
rootston: add roots_xcursor_theme
...
roots_xcursor_theme loads multiple wlr_xcursor_theme at different scales.
7 years ago
Tony Crisci
1db3b55128
rootston: prefix config structs and functions
7 years ago
Tony Crisci
2a9dc60f28
Merge branch 'master' into feature/multiseat
7 years ago
Tony Crisci
09c6092423
multiseat: somewhat working
7 years ago
Drew DeVault
ca8cf7d48d
Rethink HiDPI output layouts, fixes everything
...
Except for subsurfaces not rendering at the right scale. But that part
is (somewhat) easy.
7 years ago
Drew DeVault
7f76f46318
Adjust rendering to compensate for disparate scale
...
Something about my math is off, but I'm not certain what. Would
appreciate a second opinion.
7 years ago
Drew DeVault
a7446792a1
Consider scale factor when rendering views
7 years ago
Tony Crisci
1a756b3123
bugfix: dnd force cancel
7 years ago
emersion
ae9a46fc9b
Remove outdated TODOs, use wlr_surface_has_buffer
7 years ago
emersion
c45f2eef0e
Fix rootston
7 years ago
Drew DeVault
50e86a0efa
Allow configuring output mode in rootston
...
Fixes #336
7 years ago
emersion
ec5beeb8b8
Move xcursor stuff into its own file
7 years ago
Tony Crisci
1dbe314937
Merge branch 'master' into feature/data-device-selection
7 years ago
Drew DeVault
16f35ecbea
Merge branch 'master' into heghe/wl_list
7 years ago
Tony Crisci
6fcac087fe
rootston: remove mostly unused mapped icon param
7 years ago
Tony Crisci
3c7ef3aae6
Merge branch 'master' into feature/data-device-selection
7 years ago
emersion
c8570d0e42
Remove wl_list_init when using wl_signal_add
7 years ago
Heghedus Razvan
1d716241af
Replace list_t with wl_list in wlr_output
...
Signed-off-by: Heghedus Razvan <heghedus.razvan@gmail.com>
7 years ago
Tony Crisci
c00a94ca76
data-device: fix drag icon position
7 years ago
Tony Crisci
df0a8d3abe
wlr-data-device: drag icons
7 years ago
Drew DeVault
bf5299a3a5
Merge pull request #252 from myfreeweb/freebsd-compat
...
Add FreeBSD compatibility
7 years ago
Greg V
a5fe9aa736
Add FreeBSD compatibility
7 years ago
Tony Crisci
f7e7f6271d
wl-shell: cleanup
7 years ago
Tony Crisci
d4c065e59b
wl_shell: map transient surfaces closer to parent
7 years ago
Tony Crisci
cd1204f71f
wl-shell: render popups in the right place
7 years ago
Versus Void
a6db47196c
Upload texture on surface commit
7 years ago
Tony Crisci
4f848000af
Merge branch 'master' into feature/xdg-popup
7 years ago
Tony Crisci
4657f10dd2
Merge branch 'master' into feature/xdg-popup
7 years ago
Versus Void
641d08ce7e
Transform hotspot with cursor
...
Fix #188
7 years ago
Drew DeVault
7d57c1463d
Fix #210
7 years ago
Drew DeVault
d74a6d254f
Merge pull request #198 from emersion/rootston-move-resize-rotate
...
rootston: force move, resize and rotate
7 years ago
Versus Void
c5df6ca900
Fix memory leaks
7 years ago
emersion
1a775adbde
rootston: fix rotated subsurfaces
7 years ago
emersion
9b88f25208
rootston: rotate views!
7 years ago
Tony Crisci
e003296c23
xdg-popup: render popups in the right place
7 years ago
Tony Crisci
8c2e1ed3e6
rootston: render subsurfaces
7 years ago
Tony Crisci
2e8543cac0
update rootston for surface changes
7 years ago
Drew DeVault
ada7fde6fb
DRY up focus and implement z ordering
7 years ago
Drew DeVault
57c50c78f0
Implement wlr_cursor in rootston
7 years ago
Drew DeVault
e81e99d16d
Render XDG shell surfaces
7 years ago
Drew DeVault
b6d7c3ed8e
Initialize display, backend; add frame handling
7 years ago