834 Commits (e7d9cf58152ab78cc5b231d7cf49afcb21e1f5a1)

Author SHA1 Message Date
emersion 17d0440b75
Add wlr_xwayland_surface_ping
7 years ago
Drew DeVault 902d859c67 Fix syntax errors
7 years ago
Drew DeVault 7bb8512afb Fix assertions with side-effects
7 years ago
Drew DeVault bef5c1fd56
Merge pull request #850 from emersion/remove-backend-egl
7 years ago
emersion d2ebbd103c
backend: remove wlr_backend_get_egl
7 years ago
Bruno ba5c0903f9
rootston: fix compilation without XWayland support
7 years ago
emersion 285cf12e37
Remove rootston surface iterator
7 years ago
emersion 4a9a9eae9a
Add surface iterators
7 years ago
Drew DeVault da73b4f60b
Merge pull request #830 from swaywm/xdg-output
7 years ago
Tancredi Orlando 74a4b1702b Initialize rootston _surface
7 years ago
Drew DeVault abfe7923c4 Add wlr_xdg_output_manager
7 years ago
emersion 3ea425d4e2
Fix xdg-shell popups, add wlr_xdg_surface_surface_at
7 years ago
emersion c9d21106b4
Add wlr_xdg_surface_v6_surface_at and wlr_wl_shell_surface_surface_at
7 years ago
emersion 1a8b24bdd2
rootston: fix view_at
7 years ago
emersion d16127b3cb
Fix wlr_surface_subsurface_at, change it to be wlr_surface_surface_at
7 years ago
emersion f7539b9d14
rootston: send enter event for layer surfaces
7 years ago
Drew DeVault 56deff41b6 Implement input inhibit in rootston
7 years ago
Drew DeVault 3a8c7f283d Add input-inhibitor example client
7 years ago
Drew DeVault d88f3c1eb3 Fix segfault when clicking rootston desktop
7 years ago
Drew DeVault 9ce53d7dc4
Merge pull request #804 from swaywm/keyboard-layers
7 years ago
Drew DeVault 333ab59902 Add wlr_surface_is_*_surface
7 years ago
Drew DeVault 9ae861c416 Address review feedback
7 years ago
Drew DeVault 37036df822 Handle layer surfaces below shell surfaces
7 years ago
Danilo Spinella 046d909e7a Change meson option names to use hypen
7 years ago
Drew DeVault a94f4d0edc Always give keyboard focus to the topmost layer
7 years ago
Drew DeVault 883d8d306c Identify topmost interactive layer surface
7 years ago
Drew DeVault d466cc117f Don't reset exclusive between layer shell passes
7 years ago
Drew DeVault 937362b552 FIx crash on touch down
7 years ago
Orestis Floros 3f6823092a
Initialize roots_output to fix -Wmaybe-uninitialized
7 years ago
emersion 692f1746cf
xwayland: specify xwm cursor stride in bytes
7 years ago
Drew DeVault e19ee6d469 Add wlr_surface_point_accepts_input
7 years ago
Drew DeVault 746e3759b7 Address review feedback
7 years ago
Drew DeVault 168f65fb7a Minor bugfixes
7 years ago
Drew DeVault e3eb487dc2 Add pointer support to layer shell example
7 years ago
Drew DeVault dc412c514b Find layer surfaces for input events
7 years ago
Drew DeVault 662f40b8ae Refactor cursor event passhtrough
7 years ago
emersion 865b0aa123
xwayland: rename map_notify to map for consistency
7 years ago
Drew DeVault b887af9a60 Fix maximized windows interaction with layer shell
7 years ago
emersion a316396eab
Merge pull request #720 from acrisci/xdg-positioner
7 years ago
Tony Crisci 2e63d1a0ca toplevel_box to toplevel_sx_box
7 years ago
Tony Crisci 27f450ac0e add todo for rotated unconstrained popup
7 years ago
Tony Crisci 71da20dbde add comment for output box in toplevel coords
7 years ago
Tony Crisci 67c8aec77f popup constraint handle empty output layout
7 years ago
Tony Crisci 0bfcce50a9 xdg-positioner: honor constraint flags
7 years ago
Tony Crisci dbffda7549 xdg-positioner wlr abstractions
7 years ago
Tony Crisci c5cd805098 positioner rootston cleanup and bugfix
7 years ago
Tony Crisci e2c4e1ef54 fix xdg-positioner left constrain bug
7 years ago
Drew DeVault ac219cbda6 Remove width_mm from tablet events
7 years ago
Tony Crisci 738f5e3344 cleanup xdg-positioner rootston code
7 years ago
Drew DeVault 324b9d910d Remove width_mm from wlr_touch events
7 years ago
Drew DeVault a35a5786b0 Remove width_mm from wlr_pointer events
7 years ago
Tony Crisci 41e54ba632 Merge branch 'master' into xdg-positioner
7 years ago
Drew DeVault 3e5131e664 Address further review feedback
7 years ago
Drew DeVault a1d5d20914 Address some more feedback
7 years ago
Drew DeVault 52fe2688ea Address @emersion's feedback
7 years ago
Drew DeVault 776b81d499 Fix surface layer damage tracking
7 years ago
Drew DeVault 0e318df13d Add margin animation to the example demo
7 years ago
Drew DeVault 86ca4bea6d Fix layer rendering/layout bugs
7 years ago
Drew DeVault 097e87ca9f Handle usable area for maximized windows
7 years ago
Drew DeVault ab6c2bf584 Reset exclusivity after shell layer
7 years ago
Drew DeVault df9dbf3170 Fix rebase issues; rearrange layers on destroy
7 years ago
Drew DeVault 11c57d22b0 Use 0 for default width/height (rather than -1)
7 years ago
Drew DeVault d1c0e6fe2c Add layer_surface.close
7 years ago
Drew DeVault b73c4f48c1 Fix exclusive zone among other layers
7 years ago
Drew DeVault 8c98c18880 Gracefully deal with outputs being removed
7 years ago
Drew DeVault f444a0d14c Implement layer surface damage
7 years ago
Drew DeVault 4bf936360d Arrange & render layer surfaces
7 years ago
Drew DeVault fcf8c6c8a2 Fix issues preventing layer from getting allocated
7 years ago
Drew DeVault b31ce4220c Add broken test client and rootston stubs
7 years ago
Drew DeVault 88eec637a4 Address feedback
7 years ago
Drew DeVault f29d8b55ae Initial scaffolding of layer shell
7 years ago
Tony Crisci 575bc81d54
Merge pull request #754 from emersion/popup-map-unmap-damage
7 years ago
emersion 4abca435cc
rootston: damage view when xdg-popup is mapped/unmapped
7 years ago
emersion 19a525f3b5
rootston: damage view when zxdg-popup-v6 is mapped/unmapped
7 years ago
Tony Crisci edb643fc6c basic xdg-positioner
7 years ago
Tony Crisci 9ff84db06d unconstrain stubs
7 years ago
Tony Crisci 8371e2f41d implement flip_x
7 years ago
Drew DeVault 1ed90541f9
Merge pull request #753 from emersion/xdg-shell-unmap-destroy
7 years ago
emersion 171e28eaff
xdg-shell: don't destroy role resources on unmap, move toplevel fields
7 years ago
Drew DeVault e9ccb705fb
Merge pull request #758 from martinetd/unfullscreen
7 years ago
Dominique Martinet a0b52a0dff Fix x11 backend
7 years ago
Dominique Martinet 0c4d347d1e rootston: Fix segfault in seat unfullscreening
7 years ago
Tony Crisci bbd0e23fa7 xdg-positioner constraint detection
7 years ago
Drew DeVault d1d983a303
Merge pull request #680 from Ongy/roots_unfullscreen
7 years ago
Drew DeVault b1c4f01bad
Merge pull request #713 from ManDay/master
7 years ago
Markus Ongyerth 07ca976489 only unfullscreen when necessary
7 years ago
Markus Ongyerth 43d7459734 unset fullscreen when surface is brought to front
7 years ago
Drew DeVault 706f77e3c7 Address review feedback
7 years ago
emersion 334bab543d
xdg-shell-v6: move toplevel specific fields in wlr_xdg_toplevel_v6
7 years ago
Drew DeVault 891610081f
Merge pull request #751 from emersion/rotated-surface-damage
7 years ago
emersion 140bc19476
rootston: add -D flag to enable damage tracking debugging
7 years ago
emersion 4555fc8a54
Fix damage tracking for rotated surfaces
7 years ago
emersion 793c3b3047
render: add simple functions to render rectangles and ellipses
7 years ago
Tony Crisci f53575e3a3 unified xdg-surface close
7 years ago
emersion a854c2f246
Merge branch 'master' into gles2-renderer-redesign
7 years ago
Dominique Martinet d9a3c66942 rootston/output: fix leak in damage_from_surface
7 years ago
emersion 3581573bdc
render/gles2: make wlr_renderer_begin take viewport size
7 years ago
emersion c41de2d1be
render: split render.h into wlr_renderer.h and wlr_texture.h
7 years ago
Dominique Martinet a491f780b8 rootston rotation: change view->rotation sign
7 years ago
Drew DeVault 1956d3cedb
Merge pull request #722 from emersion/matrix-redesign
7 years ago
Tony Crisci 09413aa7f1
Merge pull request #711 from emersion/map-unmap
7 years ago
emersion 303883ce49
rootston: properly emit view unmap event
7 years ago
emersion e607d0f7ee
xdg-shell: add map/unmap support
7 years ago
emersion 8b58e1a3ad
Merge branch 'master' into matrix-redesign
7 years ago
emersion 824a95ad19
matrix: use 2D matrices
7 years ago
emersion de0e40d621
Merge pull request #698 from agx/linux-dmabuf
7 years ago
Guido Günther eb4337b5ee Wire up linux_dmabuf in rootston
7 years ago
emersion d26b67cb06
matrix: unify API, don't use array pointers
7 years ago
emersion b6a3f240c7
matrix: move to types/
7 years ago
emersion dd8a7a29e1
rootston: don't center view if maximized
7 years ago
emersion ace738dbca
xdg-shell-v6: next_geometry and geometry fields are not longer pointers in wlr_xdg_surface_v6
7 years ago
emersion 149209b72e
xdg-shell-v6: rename toplevel and popup fields in wlr_xdg_surface_v6 for consistency
7 years ago
emersion e74ddaaf10
xdg-shell-v6: redesign the configure/ack_configure workflow
7 years ago
emersion 125138f1a0
rootston: unmap view after emitting destroy signal in view_destroy
7 years ago
emersion c1c88bfe5d
rootston: destroy seat view on unmap
7 years ago
emersion 42637a52cf
rootston: don't segfault when getting size of an unmapped xdg-shell view
7 years ago
emersion 6ac3534df6
rootston: add destroy to view interface
7 years ago
emersion 1f8854f217
rootston: remove xdg-shell-v6 map/unmap listeners on destroy
7 years ago
emersion 9d6e17fb11
rootston: fix segfault in handle_tablet_tool_destroy
7 years ago
emersion 3f072bedd9
xdg-shell-v6: add map signal
7 years ago
Cedric Sodhi ebdabc2030 Make X11 fully optional
7 years ago
emersion c27fd1e1ee
rootston: add view_map and view_unmap
7 years ago
Markus Ongyerth 14bb550bff set alpha to 1.0 for drag icons
7 years ago
Markus Ongyerth 333110515e set fullscreen alpha to 1
7 years ago
emersion c2ba1869ce
Merge pull request #670 from Ongy/xwayland_unmanaged
7 years ago
Markus Ongyerth bb676013ed add xwayland unmanaged tests to support dmenu
7 years ago
Drew DeVault 3296365ce5
Merge pull request #659 from agx/alpha
7 years ago
Guido Günther 202a728ee9 rootstion: handle alpha in server side decorations
7 years ago
Guido Günther 9864f1c136 rootston: wire up window alpha keybinding
7 years ago
Guido Günther e2ea1ebe48 rootston: Add alpha channel to views
7 years ago
Guido Günther d08792bfff Add alpha to wlr_render_with_matrix
7 years ago
Guido Günther e6ca78b0e4 rootston: add view_create
7 years ago
Tony Crisci b7b86a9591
Merge pull request #641 from Ongy/idle-inhibit
7 years ago
emersion 69409ea3cb
Merge pull request #654 from emersion/send-frame-done
7 years ago
emersion ca3a947864
rootston: fix user-after-free in output_handle_destroy
7 years ago
emersion 5dba27216c
rootston: fix use-after-free in handle_keyboard_destroy
7 years ago
emersion 00e647e161
rootston: fix sending frame done to undefined view
7 years ago
emersion dc77b4c8c6
rootston: don't send frame done if wlr_output manages the surface
7 years ago
emersion 6f8eca2b3a
rootston: send frame done events unconditionally
7 years ago
Markus Ongyerth 50d573b2ca implements the idle_inhibit protocol type
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 ec837e3c9e
Introduce wlr_output_damage
7 years ago
Dominique Martinet 5aee2afc7b rootston: allow scale < 1 as well
7 years ago
emersion cdd55b5d19
Merge remote-tracking branch 'upstream/master' into output-damage
7 years ago
Vincent Vanlaer 74264d4f62 Rename roots_seat_cancel_transform
7 years ago
Vincent Vanlaer 84234b4311 Merge branch 'master' into cancel-grab
7 years ago
Drew DeVault 78dc0c7de1
Merge pull request #611 from DonOregano/fix-resize-freeze
7 years ago
Vincent Vanlaer 712665b83b Fix style error
7 years ago
Vincent Vanlaer 099c80e7d6 Fix jitter when quickly resizing windows
7 years ago
Lars Hagström b181f793c3 Make pointer button release outside window still count down the button_count.
7 years ago
Vincent Vanlaer 90eb50d9aa Merge roots_seat_cancel_* into one function
7 years ago
Vincent Vanlaer 147e5c0f8f Refactor roots_cursor_press_button
7 years ago
Vincent Vanlaer 6567a35903 Update seat pointer on meta move/resize/rotate
7 years ago
Vincent Vanlaer 7ae8800a63 Cancel rootston move/resize/rotate on escape press
7 years ago
Vincent Vanlaer 7e3bb39d49 Always notify seat on button press
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 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 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
emersion a7cba7d83f
rootston: damage whole output when entering/leaving fullscreen
7 years ago
emersion 2a855e6282
rootston: fix urxvt damage on HiDPI outputs
7 years ago
emersion d498855b9d
backend/drm: fix hw cursor position on rotated and scaled outputs
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
7 years ago
emersion 4cc58288cb
rootston: fix damage when changing views z-index
7 years ago
emersion 20e6861021
Do not flush damage if swapping buffers failed
7 years ago
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 d05143950b rootston: move together XWayland setup code
7 years ago
Patrick Steinhardt 52cb19d99d rootston: fix compilation without XWayland support
7 years ago
emersion 692d33bf8b
rootston: fix clipped SSD for rotated views
7 years ago
emersion 63736be214
rootston: fix damage tracking for SSD
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 4fa90b0511
Backport screenshooter fixes from the renderer redesign v1
7 years ago
emersion 2ad7df8680
rootston: damage tracking for drag icons
7 years ago
Tony Crisci a4d601e3d6 decorations: respect motif hints
7 years ago
Tony Crisci fc627afd18 fix decorations on wayland backend
7 years ago
emersion 4d282c8590
rootston: damage tracking for drag icons
7 years ago
emersion 415a2b7c56
render: add wlr_renderer_clear and wlr_renderer_scissor
7 years ago
emersion 3f1c4f5be7
rootston: damage tracking for wl_shell
7 years ago
Tony Crisci 85a6939cf2 rename matrix model box to project box
7 years ago
Tony Crisci e8c407d00e rename wlr_deco_part to roots_deco_part
7 years ago
Tony Crisci 54776dd19c fix cursor issue
7 years ago
Tony Crisci 4183271475 make it work with rotation
7 years ago
emersion 59c53e8333
Merge remote-tracking branch 'upstream/master' into output-damage
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
Tony Crisci 7474f00591 Merge branch 'master' into decorations
7 years ago
emersion 66ae4071a7
rootston: damage tracking for xdg popups
7 years ago
emersion d8b36357e4
rootston: add roots_view_child::destroy
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
7 years ago
emersion bc001e90e9
rootston: fix artifacts when un-maximizing a view
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
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 b6f29e87e8 dont use pointer for modifiers
7 years ago
Tony Crisci 43896af90f Merge branch 'master' into modifier-fixes
7 years ago
emersion 6e9c652fc4
rootston: hide cursor if seat has no pointer
7 years ago
Tony Crisci 61bd79200c basic decorations
7 years ago
emersion 7f56ccd713
rootston: set real seat capabilities
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
7 years ago
Tony Crisci c690420501
Merge pull request #562 from emersion/xwayland-fullscreen-render-children
7 years ago
Tony Crisci e46d2dd0f8
Merge pull request #556 from raazvvann/heghe/idle-protocol
7 years ago
emersion 65b28b3823
xwayland: render children window in fullscreen
7 years ago
Drew DeVault 66d4d2928f Remove unnecessary wlr_backend_destroy
7 years ago
Heghedus Razvan 440cf7112d Include idle protocol in rootston
7 years ago
emersion e56b82e896
rootston: add toggle_outputs command
7 years ago
emersion 77fc0505e6
rootston: do not attempt to render disabled outputs
7 years ago
Tony Crisci b40a5f084a keyboard grab enter with modifiers
7 years ago
Tony Crisci 0ef2df21f2 compositor modifier hook
7 years ago
emersion be3a7b0017
Disable outputs in rootston config
7 years ago
Drew DeVault b23bd8ea28
Merge pull request #544 from emersion/fix-views-outside-output-layout
7 years ago
Calvin Lee 5a26ed645a Allow configurable verbosity
7 years ago
emersion 1fe1d64042
Fix views outside output layout
7 years ago
Dominique Martinet a477e5d302 roots_seat_destroy: also destroy seat in public function
7 years ago
Dominique Martinet 689004ff21 rootston seat: implement part of roots_seat_destroy
7 years ago