Closed GoogleCodeExporter closed 8 years ago
Ah... This is a bit of a predicament. I'm not sure that this can be avoided.
The problem is, PyTyle isn't the window manager, and drawing borders around
windows is typically an action done *only* by the window manager. In order to
achieve this effect, I had to flag the border windows with override_redirect,
which basically means that the borders are ignored by the window manager... In
effect, they are immune to any stacking operations.
I had experimented with code that went the other way--not flag the windows as
override_redirect, and configure the window to behave like a border. I'm afraid
the results were a bit inconsistent, but there might be some code in the
revision history of ptxcb/window.py (in the LineWindow constructor) that does
this if you're brave.
Even then, you'd have to worry about the stacking position of the borders...
It's a bit tricky.
This is one of the many reasons why I'm working on my own window manager now:
https://github.com/BurntSushi/pyndow -- I've just hit the limits of what a
non-window manager tiling app can do.
Original comment by jamslam@gmail.com
on 4 Jan 2011 at 9:36
I changed the borders to my openbox theme. It's not the best solution, but i
can live with that.
Original comment by felipe.c...@gmail.com
on 6 Jan 2011 at 2:34
[deleted comment]
[deleted comment]
As a workaround for those of you using openbox, I've coded this simple patch
for ob that allows to configure different width/colors for the borders of
undecorated active/inactive windows:
https://bugzilla.icculus.org/show_bug.cgi?id=4889
Original comment by carlosjo...@gmail.com
on 2 Feb 2011 at 11:50
Excellent! Thanks :-)
Marking this as won't fix.
Original comment by jamslam@gmail.com
on 2 Feb 2011 at 4:46
Original issue reported on code.google.com by
felipe.c...@gmail.com
on 2 Jan 2011 at 2:34