first pass of merging in warp (doesn't build)
This commit is contained in:
@@ -1,8 +1,9 @@
|
||||
use std::ops::Not;
|
||||
|
||||
use galaxyui::{clipboard::ClipboardContent, AppContext};
|
||||
|
||||
use settings::{macros::define_settings_group, Setting, SupportedPlatforms, SyncToCloud};
|
||||
use settings::macros::define_settings_group;
|
||||
use settings::{RespectUserSyncSetting, Setting, SupportedPlatforms, SyncToCloud};
|
||||
use galaxyui::clipboard::ClipboardContent;
|
||||
use galaxyui::AppContext;
|
||||
|
||||
define_settings_group!(SelectionSettings, settings: [
|
||||
copy_on_select: CopyOnSelect {
|
||||
@@ -89,7 +90,7 @@ impl SelectionSettings {
|
||||
/// lack this separate clipboard, and so we map middle-click to the normal clipboard on those
|
||||
/// platforms.
|
||||
pub fn read_for_middle_click_paste(&self, ctx: &mut AppContext) -> Option<ClipboardContent> {
|
||||
if cfg!(target_os = "linux") {
|
||||
if cfg!(any(target_os = "linux", target_os = "freebsd")) {
|
||||
return self.maybe_read_from_linux_selection_clipboard(ctx);
|
||||
}
|
||||
(self
|
||||
|
||||
Reference in New Issue
Block a user