Permalink
Browse files

use getDID

  • Loading branch information...
1 parent 752433b commit bf95e5e2a394018af704d66f084baf4ead4f3849 @NotFound committed Dec 14, 2011
Showing with 2 additions and 2 deletions.
  1. +2 −2 examples/pokedit.winxed
View
@@ -712,14 +712,14 @@ class TextWindow : ChildWindow
if (l >= headline + maxlines) {
int desp = l - headline - maxlines + 1;
int ny = y - desp * lineheight;
- self.display.WarpPointer(self.xdrawable, x, ny);
+ self.display.WarpPointer(self.getDID(), x, ny);
self.headline = headline + desp;
self.drawall();
}
else if (l < headline) {
int desp = headline - l;
int ny = y + desp * lineheight;
- self.display.WarpPointer(self.xdrawable, x, ny);
+ self.display.WarpPointer(self.getDID(), x, ny);
self.headline = headline - desp;
self.drawall();
}

0 comments on commit bf95e5e

Please sign in to comment.