| Commit message (Collapse) | Author | Age | Lines | |
|---|---|---|---|---|
| * | wayland: terminal_from_surface: recognize scrollback search surfaces | Daniel Eklöf | 2019-11-29 | -1/+5 |
| | | | | | | This fixes an assertion when hovering over the input field for scrollback searches. | |||
| * | wayland: always flush after dispatching messages | Daniel Eklöf | 2019-11-29 | -1/+1 |
| | | | | | This means we don't have to e.g. roundtrip when setting the cursor. | |||
| * | terminal: use the 'text' xcursor pointer whenever selection is possible | Daniel Eklöf | 2019-11-28 | -30/+41 |
| | | ||||
| * | wayland: calculate output PPI (pixels-per-inch) | Daniel Eklöf | 2019-11-26 | -3/+9 |
| | | ||||
| * | wayland: change disconnected log type from err -> warn | Daniel Eklöf | 2019-11-23 | -1/+1 |
| | | ||||
| * | tllist: is now an external "library", so use <> includes | Daniel Eklöf | 2019-11-17 | -1/+1 |
| | | ||||
| * | wayland: verify xdg-output-manager interface version | Daniel Eklöf | 2019-11-03 | -1/+6 |
| | | ||||
| * | wayland: verify server implements the required interface versions | Daniel Eklöf | 2019-11-03 | -18/+77 |
| | | ||||
| * | Remove unneeded include | Daniel Eklöf | 2019-11-03 | -1/+0 |
| | | ||||
| * | misc: fdm already logs failures | Daniel Eklöf | 2019-11-02 | -8/+3 |
| | | ||||
| * | timerfd: read() returns -1 with errno == EAGAIN, not 0 | Daniel Eklöf | 2019-11-02 | -5/+3 |
| | | | | | | | When there hasn't been a timeout (or in our case, there was a timeout, but we reset the timer before we got to the read()), read() returns, not 0, but -1 with errno == EAGAIN. | |||
| * | timerfd: use non-blocking mode, fixes dead lock | Daniel Eklöf | 2019-11-02 | -1/+6 |
| | | | | | | | | | | | | Since we cancel the timers every now and then, there's a (small) chance that one handler cancels a timer that has triggered in the same epoll() iteration. When this happens, read() blocks. Fix by making the timer FDs non-blocking, and simply returning when we read 0 bytes. | |||
| * | wayland: wayl_win_destroy(): looks like we need another roundtrip | Daniel Eklöf | 2019-11-01 | -0/+2 |
| | | ||||
| * | wayland: wayl_destroy(): destroy any remaining terminals | Daniel Eklöf | 2019-11-01 | -0/+9 |
| | | ||||
| * | Don't use non-blocking FDs | Daniel Eklöf | 2019-11-01 | -14/+1 |
| | | | | | | We use epoll() to determine when we can read/write FDs so there's absolutely no need for non-blocking. | |||
| * | wayland: wayl_win_destroy(): unmap windows before destroying | Daniel Eklöf | 2019-11-01 | -0/+21 |
| | | | | | | | | | | This will trigger e.d. keyboard_leave() and wl_pointer_leave() events, which ensures there aren't any references to the destroyed window from the global wayland struct. Call wl_display_roundtrip() to trigger those events *before* we destroy the window. | |||
| * | wayland: wayl_init(): call wl_display_roundtrip() when done | Daniel Eklöf | 2019-11-01 | -2/+3 |
| | | ||||
| * | wayland: fdm_del() now closes the FD | Daniel Eklöf | 2019-11-01 | -4/+3 |
| | | ||||
| * | wayland: wayl_win_destroy(): return early if win == NULL | Daniel Eklöf | 2019-10-30 | -0/+3 |
| | | ||||
| * | wayland: xdg_toplevel_close(): call term_shutdown() | Daniel Eklöf | 2019-10-30 | -3/+1 |
| | | ||||
| * | wayland: track multiple terminals | Daniel Eklöf | 2019-10-30 | -7/+17 |
| | | | | | | The wayland 'term' member is gone and replaced by a list, 'terms'. This list contains all currently running terminal (windows). | |||
| * | wayland: move reload_cursor_theme() and update_cursor_surface() to wayland | Daniel Eklöf | 2019-10-27 | -3/+59 |
| | | ||||
| * | wayland: backend now configures FD as non-blocking, not main | Daniel Eklöf | 2019-10-27 | -1/+15 |
| | | ||||
| * | wayland: free wayland/wl_window instances | Daniel Eklöf | 2019-10-27 | -0/+3 |
| | | ||||
| * | wayl_destroy: early return on NULL | Daniel Eklöf | 2019-10-27 | -0/+3 |
| | | ||||
| * | wayland: move keyboard repeat handling into wayland | Daniel Eklöf | 2019-10-27 | -0/+39 |
| | | ||||
| * | wayland: integrate directly with the FDM | Daniel Eklöf | 2019-10-27 | -1/+23 |
| | | ||||
| * | wayland: implement wayl_init() | Daniel Eklöf | 2019-10-27 | -4/+514 |
| | | | | | Wayland instantiation is now done by the wayland backend, not in main. | |||
| * | wayland: change all wayland callbacks to take a wayland pointer | Daniel Eklöf | 2019-10-27 | -4/+21 |
| | | | | | | Instead of passing the terminal to the wayland callbacks, pass a 'struct wayland' pointer. | |||
| * | kbd: move into wayland | Daniel Eklöf | 2019-10-27 | -0/+11 |
| | | ||||
| * | wayland: move clipboard/primary structs into the wayland struct | Daniel Eklöf | 2019-10-27 | -0/+11 |
| | | | | | These are application global and very wayland specific | |||
| * | wayland: implement wayl_win_destroy() | Daniel Eklöf | 2019-10-27 | -0/+24 |
| | | ||||
| * | wayland: implement wayl_destroy() | Daniel Eklöf | 2019-10-27 | -0/+66 |
