CVSROOT: /cvs
Module name: ports
Changes by: [email protected] 2026/03/30 04:38:52
Modified files:
www/chromium : Makefile
www/ungoogled-chromium: Makefile
Added files:
www/chromium/patches:
patch-ui_gtk_select_file_dialog_linux_gtk_cc
www/ungoogled-chromium/patches:
patch-ui_gtk_select_file_dialog_linux_gtk_cc
Log message:
revert the stupid decision to not pre-selecting accept buttons in file dialogs
now my precious enter key is working again in the file dialogs
Yes, you read it right:
// GTK's internal response IDs use negative integers (eg. GTK_RESPONSE_CANCEL),
// leaving zero and positive integers for application-defined response IDs. Use
// zero for the accept response type since GTK will preselect
// GTK_RESPONSE_ACCEPT as the default button, which should be avoided to prevent
// an exploit where the user is instructed to hold Enter before the dialog
// appears.