aboutsummaryrefslogtreecommitdiff
path: root/rootston/seat.c
AgeCommit message (Collapse)Author
2018-04-29rootston: map input devices with wlr_input_device.output_nameemersion
2018-04-22Implement output auto-selection in rootstonDrew DeVault
2018-04-03Implement input inhibit in rootstonDrew DeVault
2018-04-02Handle layer surfaces below shell surfacesDrew DeVault
2018-04-02Always give keyboard focus to the topmost layerDrew DeVault
2018-03-27rootston: Fix segfault in seat unfullscreeningDominique Martinet
==32557==ERROR: AddressSanitizer: SEGV on unknown address 0x000000000000 (pc 0x000000425f96 bp 0x7fff8ac19de0 sp 0x7fff8ac19d20 T0) ==32557==The signal is caused by a READ memory access. ==32557==Hint: address points to the zero page. #0 0x425f95 in roots_seat_set_focus ../rootston/seat.c:737 #1 0x40bcd6 in roots_cursor_press_button ../rootston/cursor.c:272 #2 0x40c1f7 in roots_cursor_handle_button ../rootston/cursor.c:298 #3 0x42179b in handle_cursor_button ../rootston/seat.c:58 #4 0x7f1651062367 in wlr_signal_emit_safe ../util/signal.c:29 #5 0x7f165101b532 in handle_pointer_button ../types/wlr_cursor.c:344 #6 0x7f1651062367 in wlr_signal_emit_safe ../util/signal.c:29 #7 0x7f1650ff633b in handle_pointer_button ../backend/libinput/pointer.c:85 #8 0x7f1650ff5291 in wlr_libinput_event ../backend/libinput/events.c:215 #9 0x7f1650ff3990 in wlr_libinput_readable ../backend/libinput/backend.c:35 #10 0x7f1650d88c11 in wl_event_loop_dispatch (/lib64/libwayland-server.so.0+0x9c11) #11 0x7f1650d87449 in wl_display_run (/lib64/libwayland-server.so.0+0x8449) #12 0x418e90 in main ../rootston/main.c:81 #13 0x7f164ff7ef29 in __libc_start_main (/lib64/libc.so.6+0x20f29) #14 0x405829 in _start (/home/shared/wayland/wlroots/build/rootston/rootston+0x405829) introduced by #680
2018-03-26only unfullscreen when necessaryMarkus Ongyerth
Check whether the newly focused view is the same as the one currently fullscreen on that output, or override redirect and don't unfullscreen in these cases.
2018-03-26unset fullscreen when surface is brought to frontMarkus Ongyerth
The output fullscreen surfaces are drawn in front of everything, without consideration for view z-order. If a view is brought to front, unset any fullscreen view that would cover this view to make sure the view is visible.
2018-03-17Merge pull request #711 from emersion/map-unmapTony Crisci
Add map/unmap to xdg-shell
2018-03-13rootston: destroy seat view on unmapemersion
2018-03-11rootston: fix segfault in handle_tablet_tool_destroyemersion
2018-02-26add xwayland unmanaged tests to support dmenuMarkus Ongyerth
This adds `wlr_xwayland_surface_is_unamanged`, to allow compositors more fine grained control over XWayland focus. A surface that is unmanaged should not receive focus, while other windows that are just override redirect may want it (dmenu). The way unamanged is determined is taken from wlc.
2018-02-23rootston: fix use-after-free in handle_keyboard_destroyemersion
2018-02-12Reformat all #include directivesemersion
2018-02-12Remove wlr_backend.events.{output_remove,device_remove}emersion
2018-02-09Merge remote-tracking branch 'upstream/master' into output-damageemersion
2018-02-08Rename roots_seat_cancel_transformVincent Vanlaer
2018-02-06Merge roots_seat_cancel_* into one functionVincent Vanlaer
2018-02-06Cancel rootston move/resize/rotate on escape pressVincent Vanlaer
2018-01-29rootston: fix damage when changing views z-indexemersion
2018-01-28Merge remote-tracking branch 'upstream/master' into output-damageemersion
2018-01-28rootston: fix compilation without XWayland supportPatrick Steinhardt
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-24Merge branch 'output-damage' of github.com:emersion/wlroots into output-damageemersion
2018-01-24Merge remote-tracking branch 'upstream/master' into output-damageemersion
2018-01-23rootston: damage tracking for drag iconsemersion
2018-01-23fix decorations on wayland backendTony Crisci
2018-01-23rootston: damage tracking for drag iconsemersion
2018-01-21Merge branch 'master' into decorationsTony Crisci
2018-01-17dont use pointer for modifiersTony Crisci
2018-01-17Merge branch 'master' into modifier-fixesTony Crisci
2018-01-17rootston: hide cursor if seat has no pointeremersion
2018-01-16basic decorationsTony Crisci
2018-01-16rootston: set real seat capabilitiesemersion
2018-01-10Include idle protocol in rootstonHeghedus Razvan
Signed-off-by: Heghedus Razvan <heghedus.razvan@gmail.com>
2018-01-06keyboard grab enter with modifiersTony Crisci
2017-12-29roots_seat_destroy: also destroy seat in public functionDominique Martinet
Rework the functions a bit so that the handler does the bulk of the work except for destroying the seat itself, and the main public function just explicitely calls the handler and destroys the seat
2017-12-29rootston seat: implement part of roots_seat_destroyDominique Martinet
... and have it listen to seat destroy notifier
2017-12-27config: Avoid clash with other config-headersBjörn Esser
2017-12-26config: Put all defines into config.hBjörn Esser
2017-12-15Introduce fractional scalingemersion
2017-12-11Set default cursor image in rootstonemersion
2017-12-09rootston xcursor fixesTony Crisci
2017-12-08move get_resize_name to xcursorTony Crisci
2017-12-08bring edges into wlrTony Crisci
2017-11-19Improve roots_seat_cycle_focusemersion
2017-11-19Raise the view on the desktop even if already focused in the seatemersion
2017-11-19Add roots_seat_cycle_focusemersion
2017-11-19Make the close command use roots_seat_get_focus, rename a few symbolsemersion
2017-11-19Remove roots_seat_{add,remove}_viewemersion
2017-11-19Merge branch 'master' into seat-viewsemersion