aboutsummaryrefslogtreecommitdiff
path: root/wayland.h (follow)
Commit message (Collapse)AuthorAgeLines
* wayland: include more output (monitor) details in the log outputDaniel Eklöf2019-12-05-0/+4
|
* fcft: use fcft instead of local copy of font.c/font.hDaniel Eklöf2019-12-01-1/+2
|
* wayland: track current xcursor, and don't update if sameDaniel Eklöf2019-11-30-0/+1
| | | | | | | | | | | | | | | We may have many windows open, which tries to update/change the xcursor at various points. Track which cursor is currently loaded, regardless of which window it was set by. If someone tries to load that very same xcursor again, simply skip it. One example is when we've moused over a window that does *not* have keyboard focus, and then the user clicks, or by some other mean gives that window keyboard focus. In many cases it will then try to set the same cursor again (most of the times, the cursor is the same regardless of keyboard focus, but not always).
* terminal: use the 'text' xcursor pointer whenever selection is possibleDaniel Eklöf2019-11-28-2/+1
|
* wayland: calculate output PPI (pixels-per-inch)Daniel Eklöf2019-11-26-0/+3
|
* terminal: call user-defined callback when destroying terminalDaniel Eklöf2019-11-01-1/+0
| | | | main uses this to get the exit code of the terminal.
* wayland: wayl_win_destroy(): unmap windows before destroyingDaniel Eklöf2019-11-01-0/+2
| | | | | | | | | 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: temporary: track last terminal's exit valueDaniel Eklöf2019-10-30-0/+1
|
* wayland: track multiple terminalsDaniel Eklöf2019-10-30-2/+1
| | | | | 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 waylandDaniel Eklöf2019-10-27-0/+4
|
* wayland: implement wayl_init()Daniel Eklöf2019-10-27-2/+4
| | | | Wayland instantiation is now done by the wayland backend, not in main.
* term: wayland struct is now not a part of the terminal structDaniel Eklöf2019-10-27-1/+0
| | | | | | We do however need access to it, so provide a pointer. The difference is that now we can have a *single* wayland instance, but multiple terminal instances.
* wayland: pull in sys/time.h, for 'struct timeval'Daniel Eklöf2019-10-27-0/+2
|
* wayland: change all wayland callbacks to take a wayland pointerDaniel Eklöf2019-10-27-3/+28
| | | | | Instead of passing the terminal to the wayland callbacks, pass a 'struct wayland' pointer.
* wayland: add back-pointer to terminalDaniel Eklöf2019-10-27-0/+4
| | | | | This can, in the future, be extended to e.g. a list, to support multiple windows.
* kbd: move into waylandDaniel Eklöf2019-10-27-4/+34
|
* wayland: move clipboard/primary structs into the wayland structDaniel Eklöf2019-10-27-0/+18
| | | | These are application global and very wayland specific
* wayland: implement wayl_win_destroy()Daniel Eklöf2019-10-27-0/+4
|
* wayland: implement wayl_destroy()Daniel Eklöf2019-10-27-0/+7
|
* wayland: move wayland struct definitions to a separate fileDaniel Eklöf2019-10-27-0/+74