Closed MightyPork closed 2 years ago
The server window opened by jome-ctl opens unfocused in background when KWin "focus stealing prevention" is anything above "None". I normally use "Medium".
jome-ctl
If possible, could the server request focus after the window is shown?
Here is a workaround that seems to work:
#!/usr/bin/bash activateit(){ sleep 0.05 xdotool windowactivate $(xdotool search --class "jome") } activateit & emoji="$(jome-ctl jome.sock)" echo "Selected: $emoji" if [ $? -ne 0 ]; then exit 1 fi echo -n "$emoji" | xclip -selection clipboard echo -n "$emoji" | xclip -selection primary echo -n "$emoji" | xclip -selection secondary xdotool key --clearmodifiers shift+Insert
As I'm not a KDE user, I won't work on this one.
However I will gladly accept a patch.
The server window opened by
jome-ctl
opens unfocused in background when KWin "focus stealing prevention" is anything above "None". I normally use "Medium".If possible, could the server request focus after the window is shown?
Here is a workaround that seems to work: