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

document selection line width DPI scaling #401

Closed

Conversation

guijan
Copy link
Contributor

@guijan guijan commented Feb 9, 2025

No description provided.

N-R-K and others added 11 commits January 23, 2025 17:57
been deprecated for a while now.

Ref: resurrecting-open-source-projects#231
It seems that the lowest confirmed imlib2 version `scrot` can
build with is `v1.4.7` which was released in 2015-04-04. (Imlib2
`v1.4.6` wouldn't build for me, though I didn't
really troubleshoot the build error at all).

Going by the [git
history](https://gitlab.freedesktop.org/xorg/lib/libxcomposite/-/blob/7098e81fd4d933ca922431280579049396466d23/src/Xcomposite.c)
of XComposite, `v0.2.0` from 2005 seem to have the functions
that we use. So let's just go with that. (I didn't do any
runtime testing, though).

Whether XFixes uses semantic versioning is not clear. But in any
case, there was a CVE fix in 5.0.1 related to
XFixesGetCursorImage() (which is the only function from XFixes
scrot uses). And it doesn't seem like version
6.0.0 broke anything regarding XFixesGetCursorImage() so go
ahead and settle on `v5.0.1` for XFixes.

Xinerama v1.1.3 was released 10 years ago and seems to contain a
CVE fix. So let's go for that.

Closes: resurrecting-open-source-projects#307
the imlib2 version on it is way too old.
allows better default on high dpi displays where the previous
default of 1 pixel would've been too small.

Closes: resurrecting-open-source-projects#285
@@ -175,7 +175,9 @@ SELECTION STYLE

Without the -l option, a default style is used:

mode=auto,style=solid,width=...,opacity=100 # FIXME: width
mode=auto,style=solid,width=...,opacity=100
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Maybe remove width=... entirely.

@N-R-K
Copy link
Collaborator

N-R-K commented Feb 11, 2025

Updated in 2530de5. Thanks.

@N-R-K N-R-K closed this Feb 11, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants