st: Reimplement StClipboard on top of MetaSelection

And stop using X11/gdk for this.

https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/331
This commit is contained in:
Carlos Garnacho
2018-11-26 12:54:23 +01:00
committed by Carlos Garnacho
parent 8572bb97c7
commit 1ebbd7c768
4 changed files with 109 additions and 269 deletions

View File

@ -863,6 +863,7 @@ _shell_global_set_plugin (ShellGlobal *global,
}
st_entry_set_cursor_func (entry_cursor_func, global);
st_clipboard_set_selection (meta_display_get_selection (display));
g_signal_connect (global->stage, "notify::width",
G_CALLBACK (global_stage_notify_width), global);