mirror of
https://github.com/QL-Win/QuickLook.git
synced 2026-02-02 01:09:36 +08:00
make preview window not focusable
This commit is contained in:
Submodule QuickLook.Common updated: ef280ae2a5...e8c5ecbe4c
@@ -60,6 +60,11 @@ namespace QuickLook
|
||||
Topmost = SettingHelper.Get("Topmost", false);
|
||||
buttonTop.Tag = Topmost ? "Top" : "Auto";
|
||||
|
||||
SourceInitialized += (sender, e) => this.SetNoactivate();
|
||||
|
||||
// bring the window to top. use together with SetNoactivate()
|
||||
PreviewMouseDown += (sender, e) => this.BringToFront(false);
|
||||
|
||||
buttonTop.Click += (sender, e) =>
|
||||
{
|
||||
Topmost = !Topmost;
|
||||
|
||||
Reference in New Issue
Block a user