mirror of
https://github.com/greenshot/greenshot
synced 2025-08-20 21:43:24 -07:00
Implemented some TODO's, fixed freezing the wrong processes, fixed retrieval of window icon for some windows and cleaned some code.
git-svn-id: http://svn.code.sf.net/p/greenshot/code/trunk@1831 7dccd23d-a4a3-4e1f-8c07-b4c1b4018ab4
This commit is contained in:
parent
6e95cf210d
commit
6905a353c1
9 changed files with 136 additions and 40 deletions
|
@ -107,7 +107,10 @@ namespace Greenshot.Forms {
|
|||
|
||||
// Make sure we never capture the captureform
|
||||
WindowDetails.RegisterIgnoreHandle(this.Handle);
|
||||
// TODO: Need to call unregister at close
|
||||
// Unregister at close
|
||||
this.FormClosing += delegate {
|
||||
WindowDetails.UnregisterIgnoreHandle(this.Handle);
|
||||
};
|
||||
|
||||
// set cursor location
|
||||
cursorPos = WindowCapture.GetCursorLocation();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue