mirror of
https://github.com/ghostty-org/ghostty.git
synced 2026-04-15 03:52:39 +00:00
Fix middle button paste condition to respect GNOME settings
This commit is contained in:
@@ -2756,7 +2756,7 @@ pub const Surface = extern struct {
|
||||
|
||||
// Check if middle button paste should be disabled based on GNOME settings
|
||||
// If gtk_enable_primary_paste is explicitly false, skip processing middle button
|
||||
if (button == .middle and !(priv.gtk_enable_primary_paste orelse false)) {
|
||||
if (button == .middle and !(priv.gtk_enable_primary_paste orelse true)) {
|
||||
return;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user