Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

use 'None' for destroyed windows instead of -1

  • Loading branch information...
commit 12fce5b618688e8477bc61f82a712eeed78922de 1 parent 5703efe
@NotFound authored
Showing with 3 additions and 1 deletion.
  1. +2 −0  GuitorConstants.winxhead
  2. +1 −1  src/Guitor.winxed
View
2  GuitorConstants.winxhead
@@ -36,6 +36,8 @@ const int
ClipByChildren = 0,
IncludeInferiors = 1;
+// Some commonly used values:
+const int None = 0;
const int CurrentTime = 0;
// Focus revert type
View
2  src/Guitor.winxed
@@ -913,7 +913,7 @@ class Window : Drawable
{
__DEBUG__ && cry(__FUNCTION__);
getfun("XDestroyWindow")(self.display.xdisplay, self.xdrawable);
- self.xdrawable = -1;
+ self.xdrawable = None;
}
function SelectInput(int eventmask)
{
Please sign in to comment.
Something went wrong with that request. Please try again.