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

--line mode=edge issues with Compositing Window Managers #76

Open
daltomi opened this issue Mar 21, 2021 · 1 comment
Open

--line mode=edge issues with Compositing Window Managers #76

daltomi opened this issue Mar 21, 2021 · 1 comment
Labels
bug Something isn't working help wanted Extra attention is needed

Comments

@daltomi
Copy link
Collaborator

daltomi commented Mar 21, 2021

These are some problems known in CWM at the time of using the area selection: scrot --select --line mode=edge
Note that scrot --select --freeze works well in them.

MATE desktop
It only draws a part of the rectangle, at the beginning. Notice that the CWM is by software.

xcompmgr
Draw the shadow. Beyond edge has the dock window property and is indicated to xcompmgr that does not draw shadows (-C) in that type of windows, it does it anyway.

@phord
Copy link

phord commented Mar 22, 2021

I tried adding an XUnmapWindow() just before XShapeCombineRectangles(). This does have the effect of clearing the dropped rectangle, and it sometimes (but not always) causes the new rectangle to be drawn correctly.

I suspect it might be safer/saner to draw on a transparent window, but I understand this requires a compositor. But I know almost nothing about the X apis, so I could be way off.

@N-R-K N-R-K changed the title Compositing Window Manager, issues --line mode=edge issues with Compositing Window Managers May 28, 2023
@N-R-K N-R-K added bug Something isn't working help wanted Extra attention is needed labels May 28, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

3 participants