scrot icon indicating copy to clipboard operation
scrot copied to clipboard

New feature: select monitor (#38)

Open daltomi opened this issue 3 years ago • 4 comments

Ref: #38 New option: --monitor, -M

  • First attempt with libxrandr, temporarily discarded
  • Second attempt with libxinerama, simpler API.

Example: scrot -M 8 (force to fail, see log)

daltomi avatar Aug 15 '21 22:08 daltomi

It is a draft. This is a very old branch but autotools is configured correctly. Resolving all conflicts with the master branch will never be done.

daltomi avatar Aug 15 '21 23:08 daltomi

To test xrandr: git checkout -b xrandr 0a23c77

./configure CPPFLAGS=-DDEBUG

daltomi avatar Aug 15 '21 23:08 daltomi

I'm very happy to see that someone is working on this!

What was your reason for discarding the libxrandr method btw?

ifohancroft avatar Sep 09 '21 13:09 ifohancroft

It just seems to me that Xinerama is simpler to use. For now it works in the tests I did.

daltomi avatar Sep 09 '21 22:09 daltomi