swayfx/sway
Ryan Dwyer bdae625cb3 Rebase the cursor after mapping a view
I originally put the rebase at the end of view_map, but at this point
the view is still at its native size and will ignore the motion event if
it falls outside of its native size. The only way to do this properly is
to rebase the cursor later - either after sending the configure, after
the view commits with the new size, or after applying the transaction. I
chose to do it after applying the transaction for simplicity.

I then attempted to just call cursor_rebase after applying every
transaction, but this causes crashes when exiting sway (and possibly
other places) because cursor_rebase assumes the tree is in a valid
state.

So my chosen solution introduces transaction_commit_dirty_with_callback
which allows handle_map to register a callback which will run when the
transaction is applied.
2018-10-24 19:38:52 +10:00
..
commands commands: replace EXPECTED_LESS_THAN with EXPECTED_AT_MOST 2018-10-23 10:51:54 +01:00
config swaybar: show hidden bar on key event 2018-10-14 13:33:12 +01:00
desktop Rebase the cursor after mapping a view 2018-10-24 19:38:52 +10:00
input seat_update_capabilities: Set cursor image while we have the capability 2018-10-23 22:00:57 +10:00
tree Merge pull request #2933 from Snaipe/xwayland-window-properties 2018-10-24 01:13:15 +02:00
commands.c commands: replace EXPECTED_LESS_THAN with EXPECTED_AT_MOST 2018-10-23 10:51:54 +01:00
config.c config: remove peeked + expanded line log entries 2018-10-22 17:52:41 -04:00
criteria.c Parse missing i3 window types 2018-10-21 15:59:04 +02:00
debug-tree.c Minor refactor of input manager 2018-10-20 13:11:43 +10:00
decoration.c Rename view_set_csd_from_client to view_update_csd_from_client 2018-09-27 22:51:37 +10:00
ipc-json.c xwayland: populate window_properties in json for views 2018-10-23 19:10:50 +01:00
ipc-server.c Minor refactor of input manager 2018-10-20 13:11:43 +10:00
main.c Abort if proprietary drivers are in use 2018-10-21 00:01:09 +10:00
meson.build Remove raise_floating directive 2018-10-20 17:51:32 +10:00
security.c Add minimal config subsystem 2017-12-05 10:40:55 +01:00
server.c Minor refactor of input manager 2018-10-20 13:11:43 +10:00
sway-bar.5.scd swaybar: add documentation for hide/hidden_state subcommands 2018-10-14 13:33:12 +01:00
sway-input.5.scd Establish sway-output(5) 2018-10-14 10:52:57 -04:00
sway-output.5.scd Establish sway-output(5) 2018-10-14 10:52:57 -04:00
sway.1.scd Establish sway-output(5) 2018-10-14 10:52:57 -04:00
sway.5.scd Add references to sway-output(5) in sway(5) 2018-10-23 00:00:36 +02:00
swaynag.c Allow swaynag to be disabled 2018-10-08 09:59:38 -04:00
xdg_decoration.c Improve CSD logic 2018-09-27 22:51:37 +10:00