> Hi!
>
> I've installed Devil's pie 2 two days ago, and I'm already missing a
> feature: relative window positioning.
> With "systrayed" apps, like music players, I prefer to align windows
> on right edge.
>
> I wrote a quick *and dirty* patch (my C skills are quite old) so that
> set_window_geometry() accepts negative X and Y coordinates.
>
> There's still something strange about Y positioning: window moves
> down as I open and close it even if I use Y from the
> get_window_geometry function.
>
> Maybe you'll find this patch useful.
>
> PS: my english is not as good as I'd whish :)
>
> Regards, Y.
Thanks - I haven't had time to look at the patch, but regarding the
Y-positioning problem - could you try out set_window_position2 which I
implemented a while ago - manual description is
"Set the position of a window - Compared to set_window_position, this
function uses XMoveWindow instead of wnck_window_set_geometry which
gives a slightly different result.
(Available from version 0.21)"
I might be something worth checking out - However, in the standard
get_window_position and set_window_position I use the libwnck functions
for setting and getting positions, so it is rather strange that getting
and setting the same values should give different results...
-- Andreas Rönnquist
gus...@gusnan.se