Update src/apprt/gtk/class/surface.zig

Co-authored-by: Leah Amelia Chen <github@acc.pluie.me>
This commit is contained in:
Everton Correia
2026-01-15 11:49:23 -03:00
committed by GitHub
parent 78a503491e
commit 7a306e52c2

View File

@@ -2753,7 +2753,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 == false) {
if (button == .middle and !priv.gtk_enable_primary_paste) {
return;
}