xyb3rt / sxiv

Simple X Image Viewer
GNU General Public License v2.0
1.8k stars 263 forks source link

Embed option don't seems to work #449

Open OzPineapple opened 3 years ago

OzPineapple commented 3 years ago

I was coding a script but this option don't seems to work

sxiv -e $(xdotool getactivewindow) image.png

X Error of failed request: BadMatch (invalid parameter attributes) Major opcode of failed request: 1 (X_CreateWindow) Serial number of failed request: 20 Current serial number in output stream: 31

I tryied st -w $(xdotool getactivewindow) or dmenu -w $(xdotool getactivewindow) to understan if I was doing something wrong but I don't so because it work. Is this a Bug?

bakkeby commented 3 years ago

Have a look at this workaround ref. the last comment in #342.