Guido Günther
e6ca78b0e4
rootston: add view_create
...
so we can do basic view setup. Will be used to initialize alpha.
7 years ago
Markus Ongyerth
50d573b2ca
implements the idle_inhibit protocol type
...
This adds the types/wlr_idle_inhibit_v1 implementation.
7 years ago
Dominique Martinet
7d26a6debd
xdg-shell stable: copy-pasta implementation
7 years ago
emersion
c2e1474010
Reformat all #include directives
7 years ago
emersion
36ead80cd1
Make wlr_signal_emit_safe private
7 years ago
emersion
10ecf871f2
Remove wlr_backend.events.{output_remove,device_remove}
7 years ago
emersion
5e58d46cc1
Add wlr_signal_emit_safe
7 years ago
emersion
a7cba7d83f
rootston: damage whole output when entering/leaving fullscreen
7 years ago
emersion
51c22d39a4
Merge remote-tracking branch 'upstream/master' into output-damage
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
emersion
1ee61dbd0f
Merge remote-tracking branch 'upstream/master' into output-damage
7 years ago
Patrick Steinhardt
d05143950b
rootston: move together XWayland setup code
...
The XWayland code for creating the cursor as well as creating the
surface itself are currently split up into two ifdef'ed sections in
`desktop_create()`. Move together these two sections in order to avoid
having multiple ifdefs as well as making it clearer that they do in fact
serve the same purpose of setting up the XWayland environment.
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
63736be214
rootston: fix damage tracking for SSD
7 years ago
emersion
7111dd79ef
rootston: damage tracking for rotated views
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
4fa90b0511
Backport screenshooter fixes from the renderer redesign v1
...
This backports some changes to #319 to fix the screenshooter data
format. This also adds wlr_backend_get_renderer which will be
useful to support multiple renderers.
7 years ago
Tony Crisci
fc627afd18
fix decorations on wayland backend
7 years ago
Tony Crisci
e8c407d00e
rename wlr_deco_part to roots_deco_part
7 years ago
Tony Crisci
4183271475
make it work with rotation
7 years ago
emersion
d8b36357e4
rootston: add roots_view_child::destroy
7 years ago
emersion
a636d72fc7
rootston: track subsurface damage
7 years ago
emersion
bc001e90e9
rootston: fix artifacts when un-maximizing a view
7 years ago
emersion
96d6f34edd
rootston: replace view_damage with view_apply_damage and view_damage_whole
7 years ago
emersion
5017d7f762
rootston: only draw damaged regions
7 years ago
emersion
01bcc2ab01
rootston: damage views when moved
7 years ago
emersion
1a084807ce
rootston: do not redraw if output has no damage
7 years ago
Tony Crisci
61bd79200c
basic decorations
7 years ago
Tony Crisci
3751a17321
decorate xwayland views
7 years ago
Heghedus Razvan
440cf7112d
Include idle protocol in rootston
...
Signed-off-by: Heghedus Razvan <heghedus.razvan@gmail.com>
7 years ago
emersion
1fe1d64042
Fix views outside output layout
7 years ago
Björn Esser
ff13849624
config: Avoid clash with other config-headers
7 years ago
Björn Esser
57a09c8ca4
config: Put all defines into config.h
7 years ago
emersion
a95d09d561
Add missing gtk-primary-selection interfaces
7 years ago
emersion
466e86b7b2
Merge branch 'master' into surface-transform
7 years ago
emersion
925497fbea
Set default cursor image in rootston
7 years ago
Tony Crisci
344ca222db
wrap server decoration modes
7 years ago
emersion
acc8f36894
Fix pointer input for transformed surfaces
7 years ago
emersion
3262661e1e
Fix HiDPI support
7 years ago
emersion
dcb168914e
Merge branch 'master' into fullscreen
7 years ago
Drew DeVault
1228d0da19
Merge pull request #387 from emersion/laggy-move-resize
...
Fix laggy move-resize
7 years ago
emersion
9a6f799d8f
Add fullscreen command, fix view_at with fullscreen views
7 years ago
emersion
9e29621ec3
Always center fullscreen view on screen
7 years ago
emersion
a7a221698e
Merge branch 'master' into fullscreen
7 years ago
emersion
abab2902f5
Check for subsurfaces and popups before using wlr_output_set_fullscreen_surface
7 years ago
emersion
6a06c3d907
Fix segfault when closing xwayland views
7 years ago
emersion
b04a9a248d
Initial fullscreen support
7 years ago
emersion
1d08d31709
Merge branch 'master' into laggy-move-resize
7 years ago
emersion
272e0858e4
Fix laggy move-resize for wl-shell views
7 years ago
emersion
7904b625f0
Merge branch 'master' into laggy-move-resize
7 years ago
emersion
97ddd2d1df
Add roots_seat_cycle_focus
7 years ago
emersion
a8b31da52c
Remove roots_seat_{add,remove}_view
7 years ago
emersion
72d877658a
Merge branch 'master' into seat-views
7 years ago
emersion
5b13f51dfc
Add per-seat cursor configuration
7 years ago
emersion
cd566ccd8e
Add cursor theme to rootston config
7 years ago
emersion
7375931686
Fix typo making GCC build fail
7 years ago
emersion
a3a8b7bfd8
Fixed a bug with move-resize, removed xdg-shell ack_configure event
...
Fixed move-resizing a view when only one coordinate changes.
7 years ago
emersion
1523082d5d
Remove outdated comment
7 years ago
emersion
bb6d34e7a5
rootston: add per-seat views
7 years ago
emersion
f8b43940b1
Merge branch 'master' into cursor-scale
7 years ago
Drew DeVault
38e14de240
Merge pull request #414 from emersion/fix-hidpi-rotated-input
...
Fix rotated views on HiDPI outputs
7 years ago
Drew DeVault
1e0e73efaa
Spawn views on last active output
7 years ago
emersion
5d986f1e87
Remove unnecessary include
7 years ago
emersion
454bea678b
Fix rendering of rotated views on HiDPI outputs
7 years ago
emersion
0b3f83d93a
Fix pointer input for rotated views on HiDPI outputs
7 years ago
emersion
8605243459
Introduce wlr_xcursor_manager
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
2a9dc60f28
Merge branch 'master' into feature/multiseat
7 years ago
emersion
eb89f1dcd2
Fix resize issues with some xdg-shell apps.
...
Also renames view_get_size to view_get_box to be more consistent with wlroots API and make it more obvious that x,y are set (while in roots_view.get_size this isn't the case).
Fixes #407
7 years ago
Drew DeVault
e6babc07a0
Merge pull request #390 from emersion/rootston-maximize
...
Maximize views in rootston
7 years ago
Drew DeVault
aafb00a15f
Fix centering views on scaled outputs
7 years ago
Drew DeVault
75fd9b8426
Remove extraneous keyboard send_enter
7 years ago
Drew DeVault
66587eb430
Merge remote-tracking branch 'origin/master' into hidpi
7 years ago
Tony Crisci
79f5bd6ef8
Merge branch 'master' into feature/multiseat
7 years ago
emersion
882e620639
Always read state from wlr_keyboard in the seat
7 years ago
Tony Crisci
09c6092423
multiseat: somewhat working
7 years ago
emersion
03d3fdc158
Basic maximization implementation for xdg-shell
7 years ago
emersion
cf713edc10
Fix moving views when resizing below min size
7 years ago
Drew DeVault
975b9dc365
Fix view centering on HiDPI outputs
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
ed74f473d6
Fix various rebase-related bugs
7 years ago
Drew DeVault
bafb970871
View view_at (and pointer events) for hidpi
7 years ago
Drew DeVault
a6930cd8ea
Handle output enter/leave correctly
7 years ago
Drew DeVault
9861add146
Send surface enter output events to clients
7 years ago
Tony Crisci
c555a66dda
Merge branch 'master' into feature/xwm-rewrite
7 years ago
emersion
315c01ba0f
Remove input.last_active_view
7 years ago
Drew DeVault
4bee96bd30
Merge pull request #333 from emersion/server-decoration
...
Add server-decoration protocol
7 years ago
emersion
a43acae000
Send server-decoration ack event automatically
7 years ago
Tony Crisci
7914f4bda9
xwm: dont focus override redirect windows
7 years ago
emersion
7c85709de1
Focus last view on close in rootston
7 years ago
Tony Crisci
a3f2754668
xwm: add surface to rootston on surface commit
7 years ago
Drew DeVault
c5fff08f8a
Forgot to rename these
7 years ago
emersion
f2c4b80620
Remove calls to assert to check runtime errors in rootston
7 years ago
emersion
c8570d0e42
Remove wl_list_init when using wl_signal_add
7 years ago
Tony Crisci
169bc216ed
rootston: view set position
7 years ago
Tony Crisci
19784360f1
bug: fix view centering
7 years ago
Tony Crisci
fe3c6c929b
wl-shell: popup input handling
7 years ago
Tony Crisci
654e2ccd6b
move surface finder functions to wlroots
7 years ago
Drew DeVault
d0d6413772
Merge pull request #220 from versusvoid/optional-xwayland
...
Make Xwayland optional
7 years ago
Drew DeVault
74d31983b5
Center views on focused output
7 years ago
Drew DeVault
82a6598ca7
Merge pull request #243 from acrisci/feature/input-bounds
...
Use wl_surface input bounds for input handling
7 years ago
Drew DeVault
8dcf3bfdf7
Merge pull request #239 from emersion/center-views
...
Center views in rootston
7 years ago
Tony Crisci
db15ab77b4
use input bounds for pointer events
7 years ago
emersion
518ef46ef2
Activate new views
7 years ago
Drew DeVault
9e1ff2dce9
Merge pull request #140 from emersion/screenshooter
...
Add screenshooter
7 years ago
emersion
d09d01236b
Center xdg shell views
7 years ago
emersion
0ce3135304
Move read_pixels from output to renderer
7 years ago
Drew DeVault
543601e86c
Merge pull request #183 from acrisci/feature/xdg-popup
...
xdg-popup
7 years ago
Tony Crisci
117586c872
bug: fix a subsurface location calculation
7 years ago
Tony Crisci
4f848000af
Merge branch 'master' into feature/xdg-popup
7 years ago
emersion
05096ab458
rootston: create screenshooter interface
7 years ago
Versus Void
9cab66f0f9
Make xwayland compile-time optional
7 years ago
Versus Void
decd87043f
Add config option to disable Xwayland
7 years ago
emersion
fbca280949
Unset input->active_view when view is destroyed
7 years ago
emersion
972e9dbd1b
Add close command, add close for xwayland
7 years ago
Tony Crisci
4657f10dd2
Merge branch 'master' into feature/xdg-popup
7 years ago
emersion
1a775adbde
rootston: fix rotated subsurfaces
7 years ago
emersion
09a6d863cf
rootston: fix cursor coordinates for rotated subsurfaces
7 years ago
emersion
dd07618727
rootston: rotate cursor coordinates
7 years ago
Tony Crisci
4c9807d3a6
rootston-desktop: popup input handling
7 years ago
Tony Crisci
f9379f9a46
rootston-desktop: use window geometry for input bounds
7 years ago
Drew DeVault
a471ed3ed0
Reverse loop in view_at
...
Looks for the top-most view now.
7 years ago
Tony Crisci
8f41c497a7
Merge branch 'master' into feature/subcompositor
7 years ago
Tony Crisci
4c1bd9bde8
input events for subsurfaces
7 years ago
Drew DeVault
40303b7a09
Merge pull request #175 from emersion/xdg-shell-resize
...
rootston: add xdg shell resize support
7 years ago
Tony Crisci
2e8543cac0
update rootston for surface changes
7 years ago
Tony Crisci
23e7411442
rootston: create desktop before input
7 years ago
emersion
74f2d0cd63
Completely fix resize offset
7 years ago
emersion
33a97576ca
Add view_resize
7 years ago
Drew DeVault
ada7fde6fb
DRY up focus and implement z ordering
7 years ago
Drew DeVault
220a6e9bf6
Add xwayland activate and fix EGL bug
7 years ago
Drew DeVault
906a816abf
Fix rootston keyboard, add Xwayland
7 years ago
emersion
ed9a43c213
Add first try to add wl_shell to rootston
7 years ago
Drew DeVault
eaf6c0ccf4
Implement pointer motion and buttons
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
0699aa62d8
Initial pass on roots_input
7 years ago
Drew DeVault
b6d7c3ed8e
Initialize display, backend; add frame handling
7 years ago