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

List:       kfm-devel
Subject:    Re: Focus issues of a QXEmbed window
From:       George Staikos <staikos () kde ! org>
Date:       2002-07-16 15:38:10
[Download RAW message or body]

On Tuesday 16 July 2002 10:10, Koos Vriezen wrote:
> Hi,
>
> There is a problem with giving the focus to an embedded window with a
> mouse click when a form element has the current focus.
>
> I've attached a patch which fixes it. It does:
> - do a XGrabButton on a embedded window when the mouse enters it and it
>   doesn't have the focus
> - do a XUngrabButton when the mouse leaves the embedded window or when
>   it receives the focus
> - put the focus to the embedded window when its clicked
>
> This is similar behaviour as KWin does on its clients (damn, should have
> looked at that earlier)

  Looks good to me I think, but I haven't tested it yet.

-- 

George Staikos

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

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