sway/include
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
..
sway Rebase the cursor after mapping a view 2018-10-24 19:38:52 +10:00
swaybar swaybar: separate input code to new file 2018-10-18 14:19:00 +01:00
swaylock Remove timerfd from loop implementation 2018-10-15 00:26:27 +10:00
swaynag Fix bad-free in swaynag 2018-08-20 15:06:12 -04:00
background-image.h Initial swaylock port 2018-04-04 18:47:48 -04:00
cairo.h swaybar, swaylock, & tree/container: Set cairo font options to render text and lines with subpixel hinting (if available). 2018-09-22 11:34:21 -07:00
ipc-client.h
ipc.h swaybar: show hidden bar on key event 2018-10-14 13:33:12 +01:00
list.h Use list_find in more places and refactor/fix workspace prev_next functions 2018-08-15 15:14:35 +10:00
log.h Remove __PRETTY_FUNCTION__ 2018-09-06 13:31:57 +12:00
loop.h Remove timerfd from loop implementation 2018-10-15 00:26:27 +10:00
meson.build
pango.h Fix pango escaping and refactor escape_markup_text 2018-09-22 18:33:28 +10:00
pool-buffer.h client/pool-buffer: munmap in destroy_buffer 2018-05-27 14:09:48 +01:00
readline.h Address emersion's feedback on peek_line 2018-06-02 08:07:44 -04:00
stringop.h Allow reload command to exist anywhere in the command string 2018-09-01 11:45:48 +10:00
unicode.h Add password buffer, refactor rendering/surfaces 2018-04-04 18:47:48 -04:00
util.h Remove obsolete base64.c file 2018-10-04 20:17:19 +01:00