Hi, I've just synced with CVS and the following code and I can no longer get an x11 window ID using (Window)GetPropA(HWND,"__wine_x11_client_window" ); I've had a look at X11DRV and there have been a few changes reciently, should I be using something else? ___________________________________________________________ ALL-NEW Yahoo! Messenger - all new features - even more fun! http://uk.messenger.yahoo.com
Oliver Stieber wrote:
I've just synced with CVS and the following code and I can no longer get an x11 window ID using
There is no longer any X11 window ID associated with child windows. Wine has been re-architected so that only top level windows have an associated X11 window. Mike
--- Mike McCormack <mike(a)codeweavers.com> wrote:
Oliver Stieber wrote:
I've just synced with CVS and the following
code
and I can no longer get an x11 window ID using
There is no longer any X11 window ID associated with child windows. Wine has been re-architected so that only top level windows have an associated X11 window.
Mike
I need to create a opengl context against the window, is that still possible? I expect known I can drill down through all the X11 windows until I find the correct one, but that's a bit outside the box.
___________________________________________________________ ALL-NEW Yahoo! Messenger - all new features - even more fun! http://uk.messenger.yahoo.com
On Tue, Feb 01, 2005 at 10:05:52AM +0000, Oliver Stieber wrote:
I need to create a opengl context against the window, is that still possible?
I think you need to check the patch Alexandre comitted yesterday (http://www.winehq.org/hypermail/wine-cvs/2005/01/0724.html). Lionel -- Lionel Ulmer - http://www.bbrox.org/
I need to create a opengl context against the window, is that still possible?
I think you need to check the patch Alexandre comitted yesterday (http://www.winehq.org/hypermail/wine-cvs/2005/01/0724.html).
Yeah, If Alexandre committed a patch that converted the entire code base from C to pure assembler, his changelog would read: Code optimizations (Although if he could find a way to say it in one word, he would) <grin> Cheers, Jeremy
On Tue, Feb 01, 2005 at 07:27:32AM -0600, Jeremy White wrote:
If Alexandre committed a patch that converted the entire code base from C to pure > assembler, his changelog would read: Code optimizations
:) Truth be told however, Alexandre is annoyingly to the point. :) So no, I don't think he's overly terse. -- Dimi.
Oliver Stieber <oliver_stieber(a)yahoo.co.uk> writes:
Hi, I've just synced with CVS and the following code and I can no longer get an x11 window ID using
(Window)GetPropA(HWND,"__wine_x11_client_window" );
I've had a look at X11DRV and there have been a few changes reciently, should I be using something else?
The client window is gone, but "__wine_x11_whole_window" still works (though only for top-level windows). -- Alexandre Julliard julliard(a)winehq.org
--- Alexandre Julliard <julliard(a)winehq.org> wrote:
Oliver Stieber <oliver_stieber(a)yahoo.co.uk> writes:
Hi, I've just synced with CVS and the following code and I can no longer get an x11 window ID using
(Window)GetPropA(HWND,"__wine_x11_client_window" );
I've had a look at X11DRV and there have been a few changes reciently, should I be using something else?
The client window is gone, but "__wine_x11_whole_window" still works (though only for top-level windows).
-- Alexandre Julliard julliard(a)winehq.org
I've got that working now thanks. ___________________________________________________________ ALL-NEW Yahoo! Messenger - all new features - even more fun! http://uk.messenger.yahoo.com
--- Alexandre Julliard <julliard(a)winehq.org> wrote:
Oliver Stieber <oliver_stieber(a)yahoo.co.uk> writes:
Hi, I've just synced with CVS and the following code and I can no longer get an x11 window ID using
(Window)GetPropA(HWND,"__wine_x11_client_window" );
The client window is gone, but "__wine_x11_whole_window" still works (though only for top-level windows).
I seem to be getting the window inclusive of it's border and not just the client area, I can possibly do some clipping on the opengl drawable.. Here's one screenshot, I've got a better one somewhere where the windows window border is overwritten. http://www.oliverthered.f2s.com/projects/wine/screenshots/fr25_final2_4.jpg The red area hasn't been cleared properly because the drawable is larger than expected.
Alexandre Julliard julliard(a)winehq.org
___________________________________________________________ ALL-NEW Yahoo! Messenger - all new features - even more fun! http://uk.messenger.yahoo.com
participants (7)
-
Alexandre Julliard -
Dimitrie O. Paun -
Jeremy White -
Lionel Ulmer -
Mike Hearn -
Mike McCormack -
Oliver Stieber