[prev in list] [next in list] [prev in thread] [next in thread]
List: openbox
Subject: [openbox] mouse wrap to other side of screen
From: mangosoft () comhem ! se (Mikael Magnusson)
Date: 2004-01-19 7:15:33
Message-ID: Pine.LNX.4.58.0401190814410.18203 () localhost
[Download RAW message or body]
On Sun, 18 Jan 2004, John Russell wrote:
> > I'm no master at C programming, but doesn't this create new windows
> > everytime you reconfigure without destroying the old ones?
> >
>
> Uh, well... err yes it does appear so, but I stole it from your code, so
> I believe the blame lies squarely on _your_ shoulders ;-). No seriously,
> that's a good point. I believe I have addressed that issue in this
> updated patch along with adding the boolean option warpPointer to
> config.[hc] which can used in rc.xml now. It defaults to off.
>
> 2 more things that are bugging me that I would like help with.
>
> 1) I am using XDestroyWindow to make sure that the windows don't pile
> up, but I would like to check to see if the windows are created before I
> destroy them. It seems more efficient to avoid the XDestroyWindow call
> if it isn't necessary. So how do I test the warp_window_east/west
> variables to see if they have been set yet? Or am I going about it all
> wrong?
iirc there is a reconfig boolean in the startup function, if it's true,
don't create the windows.
dunno about the other thing
--
Mikael Magnusson
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic