swayfx/include/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
..
desktop Rebase the cursor after mapping a view 2018-10-24 19:38:52 +10:00
input Make workspace back_and_forth seat-specific 2018-10-21 11:26:22 +10:00
tree Merge pull request #2933 from Snaipe/xwayland-window-properties 2018-10-24 01:13:15 +02:00
commands.h commands: replace EXPECTED_LESS_THAN with EXPECTED_AT_MOST 2018-10-23 10:51:54 +01:00
config.h Remove raise_floating directive 2018-10-20 17:51:32 +10:00
criteria.h move criteria "instance", "class" and "window_role" inside HAVE_XWAYLAND ifdefs" 2018-09-03 14:25:48 +02:00
debug.h Turn funcs() into funcs(void) 2018-09-30 14:09:05 +03:00
decoration.h Handle views created after decoration mode is sent for xdg-shell 2018-08-06 15:20:30 +01:00
desktop.h Store geometry in the view and handle any floating view resizing 2018-08-18 15:10:06 +10:00
ipc-json.h Turn funcs() into funcs(void) 2018-09-30 14:09:05 +03:00
ipc-server.h swaybar: show hidden bar on key event 2018-10-14 13:33:12 +01:00
layers.h Update for swaywm/wlroots#1243 2018-09-14 19:21:44 +02:00
output.h Don't use wlr_output properties 2018-09-05 18:01:43 +10:00
security.h Move get_feature_policy to sway/security.c 2017-04-16 17:09:53 +03:00
server.h Add CSD to border modes 2018-09-27 22:51:37 +10:00
swaynag.h Remove swaynag_clone and use memcpy 2018-08-03 10:40:09 -04:00
xdg_decoration.h Improve CSD logic 2018-09-27 22:51:37 +10:00
xwayland.h Parse missing i3 window types 2018-10-21 15:59:04 +02:00