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

List:       kde-core-devel
Subject:    Re: KWin breakage: reset
From:       Rob Kaper <cap () capsi ! com>
Date:       2002-01-08 2:26:19
[Download RAW message or body]

On Tuesday 08 January 2002 03:18, Karol Szwed wrote:
> To fix this problem once and for all, I propose that the kwin style
> plugin's reset function be changed, to something as shown below:
>
> 	ResetAction reset( ResetHint rh );
>
> where ResetAction, and ResetHint are something like:
> enum ResetAction { NoAction, Repaint, ClientHandledReset, ResetAllClients
> }; typdef uint ResetHint;	// Hint Flags
> enum KWinResetHint {
> 	NoChange	= 0x00000000, // KWin got a "reconfigure" but detected no change.
> 							 // Could be a custom style configuration change via kwindecoration.
> 	ColorChanged 	= 0x00000001,
> 	ButtonPositionChanged = 0x00000002,
> 	etc. };

Sounds very reasonable, in fact reasonable enough that I will probably adopt 
it for the updates Atlantik objects send to their respective views. :-)

-- 
Rob Kaper     | "They that can give up essential liberty to obtain a little
cap@capsi.com | temporary safety deserve neither liberty nor safety."
www.capsi.com | - Benjamin Franklin, Historical Review of Pennsylvania, 1759
[prev in list] [next in list] [prev in thread] [next in thread] 

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