mirror of https://github.com/BOINC/boinc.git
*** empty log message ***
svn path=/trunk/boinc/; revision=10687
This commit is contained in:
parent
1c7d9ea809
commit
0d5748e73f
|
@ -118,12 +118,6 @@ void mouse_click_move(int x, int y){
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
void mouse_move(int, int) {
|
|
||||||
if (current_graphics_mode == MODE_FULLSCREEN){
|
|
||||||
set_mode(MODE_HIDE_GRAPHICS);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
static void maybe_render() {
|
static void maybe_render() {
|
||||||
int width, height;
|
int width, height;
|
||||||
if (visible && (current_graphics_mode != MODE_HIDE_GRAPHICS)) {
|
if (visible && (current_graphics_mode != MODE_HIDE_GRAPHICS)) {
|
||||||
|
@ -172,7 +166,6 @@ static void make_new_window(int mode) {
|
||||||
glutKeyboardUpFunc(keyboardU);
|
glutKeyboardUpFunc(keyboardU);
|
||||||
glutMouseFunc(mouse_click);
|
glutMouseFunc(mouse_click);
|
||||||
glutMotionFunc(mouse_click_move);
|
glutMotionFunc(mouse_click_move);
|
||||||
glutPassiveMotionFunc(mouse_move);
|
|
||||||
glutDisplayFunc(maybe_render);
|
glutDisplayFunc(maybe_render);
|
||||||
glEnable(GL_DEPTH_TEST);
|
glEnable(GL_DEPTH_TEST);
|
||||||
#ifdef __APPLE__
|
#ifdef __APPLE__
|
||||||
|
|
|
@ -7719,3 +7719,12 @@ David 19 July 2006
|
||||||
cc_config.xml (new)
|
cc_config.xml (new)
|
||||||
log_flags.xml (removed)
|
log_flags.xml (removed)
|
||||||
testbase.py
|
testbase.py
|
||||||
|
|
||||||
|
Charlie 20 July 2006
|
||||||
|
- Mac: Reverse change of 8 May 2006: remove mouse_move() routine and callback
|
||||||
|
glutPassiveMotionFunc(mouse_move). This did not help screensaver on OS
|
||||||
|
10.3.x Macs respond to mouse moves, but did cause a confilct with Wacom
|
||||||
|
tablet drivers (screensaver graphics quit immediately on starting.)
|
||||||
|
|
||||||
|
api/
|
||||||
|
x_opengl.C
|
||||||
|
|
Loading…
Reference in New Issue