mirror of
https://github.com/kovidgoyal/kitty.git
synced 2026-07-11 18:23:20 +00:00
Grab keyboard when running file chooser kitten via portal
This commit is contained in:
parent
8c8d7d6ce3
commit
0382463bcb
1 changed files with 1 additions and 1 deletions
|
|
@ -754,7 +754,7 @@ func (self *Portal) run_file_chooser(cfd ChooseFilesData) (response uint32, resu
|
|||
args := []string{
|
||||
"+kitten", "panel", "--layer=overlay", "--edge=center", "--focus-policy=exclusive",
|
||||
"-o", "background_opacity=0.85", "--wait-for-single-instance-window-close",
|
||||
"--single-instance", "--instance-group", "cfp-" + strconv.Itoa(os.Getpid()),
|
||||
"--grab-keyboard", "--single-instance", "--instance-group", "cfp-" + strconv.Itoa(os.Getpid()),
|
||||
}
|
||||
for _, x := range self.opts.File_chooser_kitty_conf {
|
||||
args = append(args, `-c`, x)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue