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.
2018-01-28 12:07:15 +00:00
Tony Crisci
85a6939cf2
rename matrix model box to project box
2018-01-21 19:03:10 -05:00
Tony Crisci
4183271475
make it work with rotation
2018-01-21 18:24:53 -05:00
Tony Crisci
d13114520a
move matrix model code to matrix.h
2018-01-21 15:53:42 -05:00
Tony Crisci
3751a17321
decorate xwayland views
2018-01-16 07:51:10 -05:00
Tony Crisci
dc701b72fc
abstract box matrix
2018-01-16 07:14:47 -05:00
Drew DeVault
b331c5c2c5
Merge pull request #549 from emersion/output-enabled
...
Add wlr_output::enabled
2018-01-15 20:53:13 -05:00
emersion
65b28b3823
xwayland: render children window in fullscreen
2018-01-14 18:19:37 +01:00
emersion
77fc0505e6
rootston: do not attempt to render disabled outputs
2018-01-07 00:30:55 +01:00
emersion
be3a7b0017
Disable outputs in rootston config
2018-01-04 15:48:28 +01:00
emersion
1fe1d64042
Fix views outside output layout
2017-12-31 12:49:06 +01:00
emersion
466e86b7b2
Merge branch 'master' into surface-transform
2017-12-14 20:31:18 +01:00
emersion
3b4b8953d9
Update output layout when scale or transform changes
2017-12-12 21:58:00 +01:00
emersion
529675b7b0
Add wlr_output_set_custom_mode
2017-12-11 12:14:23 +01:00
Tony Crisci
b275d44bc3
rootston xcursor fixes
2017-12-09 12:10:09 -05:00
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
2017-12-07 13:59:19 +01:00
emersion
bf2b58eb6d
Add wlr_output_set_scale
...
Fixes #465
2017-12-06 16:36:46 +01:00
emersion
eb763439f7
optimize a bit rootston renderer if there's no surface transform
2017-12-01 16:20:09 +01:00
emersion
d1b29a54b9
Refactor: rename matrices in rootston
2017-12-01 16:13:24 +01:00
emersion
f4754ad1a2
Fix surface transforms
2017-11-30 23:58:12 +01:00
emersion
9e29621ec3
Always center fullscreen view on screen
2017-11-21 10:14:50 +01:00
emersion
5a8bbc6203
Fix GCC build
2017-11-20 20:54:54 +01:00
emersion
54f1135c05
Fix fullscreen in xdg-shell
2017-11-20 20:53:13 +01:00
emersion
abab2902f5
Check for subsurfaces and popups before using wlr_output_set_fullscreen_surface
2017-11-20 19:45:10 +01:00
emersion
b04a9a248d
Initial fullscreen support
2017-11-20 17:27:36 +01:00
Tony Crisci
4d6b3618b8
rootston: remove unmapped surface from desktop
2017-11-20 07:40:22 -05:00
emersion
76e8e1a6ad
Merge branch 'master' into seat-views
2017-11-19 17:56:26 +01:00
Tony Crisci
3b74db467b
data-device: wlr-drag-icon
2017-11-19 09:33:55 -05:00
emersion
72d877658a
Merge branch 'master' into seat-views
2017-11-18 22:18:25 +01:00
emersion
bb6d34e7a5
rootston: add per-seat views
2017-11-17 12:45:07 +01:00
Tony Crisci
12758a00a2
rootston: touch to focus
2017-11-15 08:34:48 -05:00
Tony Crisci
ac4841ba37
put dnd icon in the right place
2017-11-15 08:34:48 -05:00
Tony Crisci
6a516f7c41
basic touch dnd
2017-11-15 08:34:48 -05:00
emersion
3f6cf517b9
Add wlr_xdg_surface_v6_popup_get_position
2017-11-15 14:03:13 +01:00
emersion
bb973ff27d
Remove remaining buffer_{width,height} usage
2017-11-14 21:18:34 +01:00
emersion
2f44140f4a
Don't use buffer size
2017-11-14 15:33:29 +01:00
emersion
94b20da3ce
Fix popups position for rotated views
2017-11-14 10:20:20 +01:00
emersion
f8b43940b1
Merge branch 'master' into cursor-scale
2017-11-12 22:12:50 +01:00
emersion
28fc813ca9
Merge branch 'master' into cursor-scale
2017-11-12 21:16:45 +01:00
emersion
454bea678b
Fix rendering of rotated views on HiDPI outputs
2017-11-12 12:54:45 +01:00
emersion
8605243459
Introduce wlr_xcursor_manager
2017-11-12 11:10:56 +01:00
emersion
2dccb11741
rootston: keep one xcursor_theme per seat
2017-11-11 23:53:45 +01:00
emersion
09279b90a6
Add wlr_output.serial
2017-11-11 19:09:34 +01:00
emersion
aaf0691883
rootston: add roots_xcursor_theme
...
roots_xcursor_theme loads multiple wlr_xcursor_theme at different scales.
2017-11-11 18:42:14 +01:00
Tony Crisci
1db3b55128
rootston: prefix config structs and functions
2017-11-11 10:59:04 -05:00
Tony Crisci
2a9dc60f28
Merge branch 'master' into feature/multiseat
2017-11-11 09:59:39 -05:00
Tony Crisci
09c6092423
multiseat: somewhat working
2017-11-07 15:56:11 -05:00
Drew DeVault
ca8cf7d48d
Rethink HiDPI output layouts, fixes everything
...
Except for subsurfaces not rendering at the right scale. But that part
is (somewhat) easy.
2017-11-02 23:17:39 -04:00
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.
2017-11-01 08:51:59 -04:00
Drew DeVault
a7446792a1
Consider scale factor when rendering views
2017-11-01 08:44:07 -04:00