Rich Ayr
Rich Ayr
> this gets more stupid - i added rounded corners to the task scheduler [AGAIN] and it worked perfectly for a few days - than it stopped working - its...
I have added an installer to [Release v1.2](https://github.com/oberrich/win11-toggle-rounded-corners/releases/tag/v1.2) that schedules a task on logon using `schtasks`. Minor drawback from using the CLI tool to schedule the task is that the...
Interesting, looks like it's possible to set this on a per-window basis using [DwmSetWindowAttribute](https://learn.microsoft.com/en-us/windows/win32/api/dwmapi/nf-dwmapi-dwmsetwindowattribute) + [DWM_WINDOW_CORNER_PREFERENCE](https://learn.microsoft.com/en-us/windows/win32/api/dwmapi/ne-dwmapi-dwm_window_corner_preference). I wonder if this could get rid of the need for running with elevation....
I agree that this method does require more work to get working perfectly and it's not really worth the effort. > You cannot get around elevation. As a principle, an...
I've tried the following on Windows: ```rust #[distributed_slice] pub static ITEM: [u32]; #[distributed_slice(ITEM, 2)] static ITEM2: u32 = 2; #[distributed_slice(ITEM, 1)] static ITEM1: u32 = 1; ``` which expands to...
Actually there's two unexpected gotchas when using this facility: - When mixing ordered slice elements with non-ordered ones, the non-ordered ones will always be sorted into the front of the...
Thanks for the feedback, I've toned it down a notch. I didn't realize you were the guy behind Explorer Patcher, I've seen that repo before. You've definitely collected a lot...
I've looked into the functions you mentioned in your blog post, seems like the best way for proper edges/shadow could be to just modify the floats in `.rdata` *CTopLevelWindow::UpdateWindowVisuals* *FLOAT_4_0...
I have implemented this method on the 'patching' branch in my repo: https://github.com/oberrich/win11-toggle-rounded-corners/blob/patching/main.cpp#L107
Almost all of it is related to the window borders: The only unrelated thing that gets modified is inside `CDesktopWindowReplacement::_AddPPIRectangleInstruction` This doesn't have any drawbacks on my machine as the...