Allow ObWindow subclasses to redirect a child window of the top-level window
authorDana Jansens <danakj@orodu.net>
Fri, 25 Jun 2010 11:04:18 +0000 (13:04 +0200)
committerDana Jansens <danakj@orodu.net>
Sat, 26 Jun 2010 23:30:51 +0000 (01:30 +0200)
commit0961c14054a24ba5914b72167de280686f529fde
treed76add400a62b170f491d5715b2966c1f0ffd7d4
parent78514bf7fa3063b578345fd658c97bbf78b254cb
Allow ObWindow subclasses to redirect a child window of the top-level window

This means ObClient redirects the client window itself, rather than the
 parenting frame window.
Added a "toparea" to the ObWindow that tracks the top-level window's area,
 so the "area" can track the redirected window's area inside the top-level
 window.
Added window_set_top_area() that must be called before window_set_abstract()
 for subclasses of ObWindow.  This sets the initial position/size/border of
 ObWindow's top-most window, that will be given in window_set_abstract().
 After that, it can track any changes made to the window's geometry on its
 own.

Decor is now invisible since it needs to be drawn by the Compositing code
 explicitly.
13 files changed:
openbox/client.c
openbox/composite.c
openbox/dock.c
openbox/event.c
openbox/focus_cycle_indicator.c
openbox/focus_cycle_popup.c
openbox/frame.c
openbox/framerender.c
openbox/menuframe.c
openbox/popup.c
openbox/unmanaged.c
openbox/window.c
openbox/window.h