microsoft / wslg

Enabling the Windows Subsystem for Linux to include support for Wayland and X server related scenarios
MIT License
10.27k stars 311 forks source link

Is there any way to disable the shadow around windows? #574

Open sukerokushin opened 3 years ago

sukerokushin commented 3 years ago

I have drop shadows disabled to my preference in Windows and all, and I didn't really expect that to carry over, but the drop shadows in Linux apps like gedit cause issues with AltSnap.

Instead of being a pleasantly fading shadow like it normally is... (seen here over a plain white background)

image

...it turns into a permanent opaque black outline after I move it with AltSnap (i.e. pressing Alt, holding left click, and dragging the window).

image

The optimal solution for WSLg would be for that to not even happen, but I honestly don't want these shadows at all. functional or not. Are there any .conf or .ini files I can change for WSLg to not draw shadows around apps?

sukerokushin commented 2 years ago

still busted on the new general release...

nazrhyn commented 1 year ago

@spronovo I found this issue because I noticed that apparently those shadows actually change the size of the border, such that the resize cursor activates way past where the border visually ends. Thought it was worth bumping for this.

border