Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error with active window capture #38

Open
BobbyWibowo opened this issue Apr 12, 2018 · 0 comments
Open

Error with active window capture #38

BobbyWibowo opened this issue Apr 12, 2018 · 0 comments
Labels

Comments

@BobbyWibowo
Copy link

BobbyWibowo commented Apr 12, 2018

With -i $(xprop -root _NET_ACTIVE_WINDOW | grep -o '0x.*'), I'd keep on getting these errors with maim:

X Error of failed request:  BadWindow (invalid Window parameter)
  Major opcode of failed request:  3 (X_GetWindowAttributes)
  Resource id in failed request:  0x0
  Serial number of failed request:  21
  Current serial number in output stream:  22

I had to use -i $(xdotool getactivewindow) for it to work (thus also changing requirements from xprop to xdotool). maim used xdotool getactivewindow in their Git repo for active window capture, so I took it from that and it worked.

I'm on KDE neon 5.12.4 (Ubuntu 16.04 LTS), btw. Any idea what's up?

edit: I did NOT include this change in #37.

@jschx jschx added the bug label Apr 14, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants