mirror of
https://github.com/gnif/LookingGlass.git
synced 2026-08-22 07:01:30 +00:00
[client] clipboard: add seamless file backends
This commit is contained in:
@@ -3322,7 +3322,8 @@ static int lg_run(void)
|
||||
frameTimingInit();
|
||||
lgInput_init();
|
||||
lgAudio_init();
|
||||
lgClipboard_init();
|
||||
if (!lgClipboard_init())
|
||||
return -1;
|
||||
|
||||
#ifdef ENABLE_TESTS
|
||||
memset(&l_testCapture, 0, sizeof(l_testCapture));
|
||||
@@ -4018,8 +4019,6 @@ static void lg_shutdown(void)
|
||||
e_startup = NULL;
|
||||
}
|
||||
|
||||
lgClipboard_free();
|
||||
|
||||
app_releaseAllKeybinds();
|
||||
ll_free(g_state.bindings);
|
||||
|
||||
@@ -4029,6 +4028,10 @@ static void lg_shutdown(void)
|
||||
g_state.ds->free();
|
||||
}
|
||||
|
||||
/* Clipboard sources own FUSE dataset references and are released by the
|
||||
* display server before the filesystem is unmounted. */
|
||||
lgClipboard_free();
|
||||
|
||||
// Input callbacks have stopped; the evdev state and overlays can go
|
||||
evdev_free();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user