[prev in list] [next in list] [prev in thread] [next in thread] 

List:       wine-devel
Subject:    Re: mplayer lock up
From:       lawson_whitney () juno ! com
Date:       2000-06-24 11:47:28
[Download RAW message or body]



On Sat, 24 Jun 2000, gerard patel wrote:

> AFAIK X don't allow windows with 0 dimensions while it's all right
> for Windows - reason is, for X a window is just that (a mean to
> display, a graphical object) while in Windows windows are everything
;-)
> As a window is the basic object of the Windows operating system, lot
> of Win32 program use invisible windows, sometimes officially visible
> (that is with the WS_VISIBLE style) but with 0x0 dimensions (that
> make them effectively invisible
>
> This is handled currently by the following hack : before creating a
window,
> check if the dimensions are 0, if yes set them to 1 (see
> WIN_CreateWindowEx routine).
> This is not a new hack, it was already in the code 2 years ago when I
> began to play
> with Wine.
>
> Gerard
>
Thanks, that is a good concise explanation.  I thought I remembered some
discussion in the last few months on improving the hack somehow, but I
still can't find it.  So if XCreateWindow gets and chokes on a window
with 0 dimensions, there would seem to be a loophole in the hack?

Lawson
---cut here




________________________________________________________________
YOU'RE PAYING TOO MUCH FOR THE INTERNET!
Juno now offers FREE Internet Access!
Try it today - there's no risk!  For your FREE software, visit:
http://dl.www.juno.com/get/tagj.

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic