-
-
Notifications
You must be signed in to change notification settings - Fork 326
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
Replace DllImport and flags with CSWin32 & Remove useless DllImport and flags & Fix right Win key click issue #3122
Merged
Merged
Changes from all commits
Commits
Show all changes
22 commits
Select commit
Hold shift + click to select a range
a395936
Replace FormApplication & DllImport with CSWin32
Jack251970 ca01b25
Replace DllImport & flags with CSWin32
Jack251970 313f86b
Replace DllImport & flags with CSWin32
Jack251970 ccfc39e
Fix string length issue
Jack251970 79f8f05
Replace DllImport with CSWin32
Jack251970 22170ee
Replace DllImport & flags with CSWin32
Jack251970 ce8b42b
Replace DllImport & flags with CSWin32
Jack251970 dbe626d
Fix key event return result issue
Jack251970 be72bb7
Fix VIRTUAL_KEY.VK_RWIN check issue
Jack251970 49fc0b8
Remove useless DllImport & flags
Jack251970 8a05c60
Fix possible double release
Jack251970 a088f91
Add comments for string truncation
Jack251970 a899ff8
Improve code quality
Jack251970 b96c7b1
Remove useless PInvoke method import
Jack251970 532b5dc
Replace flags with CSWin32
Jack251970 3ab1fb1
Fix clipboard action under sta thread issue
Jack251970 9fb0233
Merge branch 'dev' into dev3
jjw24 1073821
Improve recyble bin clear issue noticification
Jack251970 6f89909
Move dll import codes to win32 helper
Jack251970 0153f71
use stackalloc if possible and fix some incorrect use of safehandle
taooceros 02a4566
Add consistent error handling for GetArguments
Jack251970 9350e82
only stackalloc the getwindowtitle buffer when length is small.
taooceros File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,25 +1,27 @@ | ||
using Windows.Win32; | ||
|
||
namespace Flow.Launcher.Infrastructure.Hotkey | ||
{ | ||
public enum KeyEvent | ||
{ | ||
/// <summary> | ||
/// Key down | ||
/// </summary> | ||
WM_KEYDOWN = 256, | ||
WM_KEYDOWN = (int)PInvoke.WM_KEYDOWN, | ||
|
||
/// <summary> | ||
/// Key up | ||
/// </summary> | ||
WM_KEYUP = 257, | ||
WM_KEYUP = (int)PInvoke.WM_KEYUP, | ||
|
||
/// <summary> | ||
/// System key up | ||
/// </summary> | ||
WM_SYSKEYUP = 261, | ||
WM_SYSKEYUP = (int)PInvoke.WM_SYSKEYUP, | ||
|
||
/// <summary> | ||
/// System key down | ||
/// </summary> | ||
WM_SYSKEYDOWN = 260 | ||
WM_SYSKEYDOWN = (int)PInvoke.WM_SYSKEYDOWN | ||
} | ||
} | ||
} |
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@Jack251970 I am getting an error from using the built-in shortcut active explorer path, could you please check if it's caused by this change.
Repro:
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@jjw24 Check #3168 please