Skip to content

Possible to expose a wrapper for IApplicationView::set_cloak? #1

@LGUG2Z

Description

@LGUG2Z

https://github.com/Ciantic/VirtualDesktopAccessor/blob/45d66e83f4a11523faa9f2073b5241867e2a60a0/src/comapi/interfaces.rs#L157

Hi! I really appreciate the great work you are doing here. Is it possible to expose a wrapper function for cloaking and uncloaking windows by HWND with this library? Unfortunately DWMWA_CLOAKED can only be used with DwmGetWindowAttribute but not with DwmSetWindowAttribute.

I think that this set_cloak fn is what is used internally by Windows to allow cloaking of application windows when switching between virtual desktops- I would love to be able to use this in komorebi directly instead of hiding or minimizing the windows when transitioning between workspaces to make the transitions smoother and more reliable.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions