projects
/
goodguy
/
cinelerra.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
tweak loadmode icons/tooltips, change snap/grabshot default path, fix broken vicon...
[goodguy/cinelerra.git]
/
cinelerra-5.1
/
guicast
/
bcwindowbase.C
diff --git
a/cinelerra-5.1/guicast/bcwindowbase.C
b/cinelerra-5.1/guicast/bcwindowbase.C
index e861238e388e177a041b093407513421cb1ea8c9..9a730f9541b9697b1b0b4266da3859f77e04ff36 100644
(file)
--- a/
cinelerra-5.1/guicast/bcwindowbase.C
+++ b/
cinelerra-5.1/guicast/bcwindowbase.C
@@
-4638,9
+4638,9
@@
int BC_WindowBase::wait_viewable(int ms)
XWindowAttributes xwa;
do {
XGetWindowAttributes(top_level->display, top_level->win, &xwa);
XWindowAttributes xwa;
do {
XGetWindowAttributes(top_level->display, top_level->win, &xwa);
- if( xwa.map_state == IsViewable ) return
1
;
+ if( xwa.map_state == IsViewable ) return
0
;
usleep(10000);
} while( timer.get_difference() < ms );
usleep(10000);
} while( timer.get_difference() < ms );
- return
0
;
+ return
1
;
}
}