Rework ObWindow for better inheritence.
authorDana Jansens <danakj@orodu.net>
Wed, 9 Jun 2010 23:08:31 +0000 (19:08 -0400)
committerDana Jansens <danakj@orodu.net>
Sat, 26 Jun 2010 23:30:47 +0000 (01:30 +0200)
commit95f70078c4e28ca79546077a7841367a825372e0
tree6d83164f19dae3429b27be5c8106a813353d9693
parent96e50d0c075b71c1c6cda085e773667c1c27ffdd
Rework ObWindow for better inheritence.

add window_new() that allocates an ObWindow (also works for a subclass)
add window_free() that frees it.
add window_set_abstract() that a subclass must call to set up the ObWindow's
  "abstract class" functionality
add abstract properties in ObWindow: depth, top, layer.
make all the existing ObWindows use the new window_foo() functions.
15 files changed:
openbox/client.c
openbox/client.h
openbox/composite.c
openbox/dock.c
openbox/dock.h
openbox/focus_cycle_indicator.c
openbox/focus_cycle_popup.c
openbox/frame.c
openbox/frame.h
openbox/menuframe.c
openbox/menuframe.h
openbox/popup.c
openbox/popup.h
openbox/window.c
openbox/window.h