Commit 709a7f94 authored by Cyril Deguet's avatar Cyril Deguet

* small fix

parent bf9d145f
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
* gtk2_window.cpp: GTK2 implementation of the Window class * gtk2_window.cpp: GTK2 implementation of the Window class
***************************************************************************** *****************************************************************************
* Copyright (C) 2003 VideoLAN * Copyright (C) 2003 VideoLAN
* $Id: gtk2_window.cpp,v 1.16 2003/04/16 14:38:04 asmax Exp $ * $Id: gtk2_window.cpp,v 1.17 2003/04/16 15:34:36 asmax Exp $
* *
* Authors: Cyril Deguet <asmax@videolan.org> * Authors: Cyril Deguet <asmax@videolan.org>
* *
...@@ -299,7 +299,7 @@ void GTK2Window::WindowManualMove() ...@@ -299,7 +299,7 @@ void GTK2Window::WindowManualMove()
{ {
// Get mouse cursor position // Get mouse cursor position
int x, y; int x, y;
gdk_window_get_pointer( gdk_get_default_root_window(), &x, &y, NULL ); OSAPI_GetMousePos( x, y );
// Move window and chek for magnetism // Move window and chek for magnetism
p_intf->p_sys->p_theme->MoveSkinMagnet( this, p_intf->p_sys->p_theme->MoveSkinMagnet( this,
......
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
* window.cpp: Window class * window.cpp: Window class
***************************************************************************** *****************************************************************************
* Copyright (C) 2003 VideoLAN * Copyright (C) 2003 VideoLAN
* $Id: window.cpp,v 1.12 2003/04/15 22:16:05 asmax Exp $ * $Id: window.cpp,v 1.13 2003/04/16 15:34:36 asmax Exp $
* *
* Authors: Olivier Teulire <ipkiss@via.ecp.fr> * Authors: Olivier Teulire <ipkiss@via.ecp.fr>
* Emmanuel Puig <karibu@via.ecp.fr> * Emmanuel Puig <karibu@via.ecp.fr>
...@@ -271,6 +271,7 @@ void Window::RefreshImage( int x, int y, int w, int h ) ...@@ -271,6 +271,7 @@ void Window::RefreshImage( int x, int y, int w, int h )
{ {
unsigned int i; unsigned int i;
fprintf(stderr, "refr %d %d %d %d\n", x,y,w,h);
// Create Bitmap Buffer // Create Bitmap Buffer
Graphics *Buffer = (Graphics *)new OSGraphics( w, h, this ); Graphics *Buffer = (Graphics *)new OSGraphics( w, h, this );
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment