projects
/
org.ibex.core.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (from parent 1:
a318dc2
)
2002/04/30 01:45:29
author
megacz
<megacz@xwt.org>
Fri, 30 Jan 2004 06:46:22 +0000
(06:46 +0000)
committer
megacz
<megacz@xwt.org>
Fri, 30 Jan 2004 06:46:22 +0000
(06:46 +0000)
darcs-hash:
20040130064622
-2ba56-
15bf77a2dda39a3fbc1f124ff6ef0e6becbe4055
.gz
CHANGES
patch
|
blob
|
history
src/org/xwt/Surface.java
patch
|
blob
|
history
diff --git
a/CHANGES
b/CHANGES
index
fd468d0
..
3dd3e9f
100644
(file)
--- a/
CHANGES
+++ b/
CHANGES
@@
-87,4
+87,8
@@
29-Apr megacz Main.java: new splashscreen, upped the gamma, broke off
SplashScreen.create() into its own Message
29-Apr megacz Main.java: new splashscreen, upped the gamma, broke off
SplashScreen.create() into its own Message
+29-Apr megacz Surface.java: took blitDirtyScreenRegions() out of
+ Dirty(); replaced with Refresh(). This was causing a
+ thread hazard on Win32, resulting in Bug 21 (closed)
+
diff --git
a/src/org/xwt/Surface.java
b/src/org/xwt/Surface.java
index
1da3c3e
..
e2e1883
100644
(file)
--- a/
src/org/xwt/Surface.java
+++ b/
src/org/xwt/Surface.java
@@
-287,7
+287,7
@@
public abstract class Surface {
long lastResizeTime = (((long)lastResizeTimeTop) << 32) | (long)lastResizeTimeBottom;
if (Platform.supressDirtyOnResize() && System.currentTimeMillis() - lastResizeTime < 100 && (w >= width - 1 || h >= height - 1)) return;
screenDirtyRegions.dirty(x, y, w, h);
long lastResizeTime = (((long)lastResizeTimeTop) << 32) | (long)lastResizeTimeBottom;
if (Platform.supressDirtyOnResize() && System.currentTimeMillis() - lastResizeTime < 100 && (w >= width - 1 || h >= height - 1)) return;
screenDirtyRegions.dirty(x, y, w, h);
- blitDirtyScreenRegions();
+ Refresh();
}
}