Re: Question about gtk/metacity
- From: Bob Smith <bob thestuff net>
- To: Havoc Pennington <hp redhat com>
- Cc: Loban A Rahman <loban ugcs caltech edu>, <desktop-devel-list gnome org>
- Subject: Re: Question about gtk/metacity
- Date: Tue, 1 Apr 2003 15:19:50 -0500 (EST)
Its a hack, but why not just disable the event handler when you change the
border, then reenable it when your done?
--- Bob Smith <bob thestuff net> ---
++++++++++[>+++++++>++++++++++>+++>+<<<<-]>++.>+.+++++++
..+++.>++.<<+++++++++++++++.>.+++.------.--------.>+.>.
On Tue, 1 Apr 2003, Havoc Pennington wrote:
> On Tue, Apr 01, 2003 at 12:04:23PM -0800, Loban A Rahman wrote:
> > However, this is what happens: When the window gets focus, a chain
> > reaction of focus in's and out's occur, continuously. It's as if setting
> > decorations to TRUE causes the window to lose focus, which make it lose
> > decorations, which causes it to gain focus, and so on.
> >
> > Is this a bug, or my fault. Is there a workaround?
>
> To remove the window decorations, metacity must pop the window out of
> its frame, which results in unmapping the window and thus losing
> focus. To add the decorations it has to pop the window out of the root
> window again resulting in an unmap.
>
> So basically, no there's no way to do this, without some sort of large
> metacity changes that may cause other bad side effects.
>
> Havoc
> _______________________________________________
> desktop-devel-list mailing list
> desktop-devel-list gnome org
> http://mail.gnome.org/mailman/listinfo/desktop-devel-list
>
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]