[pygtk] wnck.window.is_visible_on_workspace(ws) not working under compiz

2009-08-24 Thread Jason Grant
Hello, Hopefully it is OK to post queries here relating to use of wnck via python. I'm not sure where else to go... I've written a little python program to tile windows under gnome. It worked nicely until I started using compiz. Under compiz, all windows report that they are on 'Workspace 1',

[pygtk] How to get window decoration sizes?

2008-11-14 Thread Jason Grant
Hi, There has been a bug for some time relating to wnck set_geometry() not placing windows as specified. (See my post in June "wnck.window.set_geometry() misbehaving" and gnome bug 518606). Alas, this bug still remains, and so as a work-around, I need to determine the width/height of the decorat

Re: [pygtk] wnck.window.set_geometry() misbehaving

2008-06-09 Thread Jason Grant
-06-08 at 00:56 +0200, Gian Mario Tagliaretti wrote: > On Tue, Jun 3, 2008 at 6:50 AM, Jason Grant <[EMAIL PROTECTED]> wrote: > > Hi Jason, > > > I understand this is the pygtk list but am hoping for tips on use of > > wnck via python - after looking at the source of

[pygtk] wnck.window.set_geometry() misbehaving

2008-06-02 Thread Jason Grant
I understand this is the pygtk list but am hoping for tips on use of wnck via python - after looking at the source of gnome-python-desktop, I'm not sure where else to go for gnome-python discussion. I'm writing my first python program - my aim is to implement some window tiling support for gnome.