all repos — openbox @ 84d777e89f22080c0040a3e92fd70fe5393aced2

openbox fork - make it a bit more like ryudo

make shit protected
Dana Jansens danakj@orodu.net
commit

84d777e89f22080c0040a3e92fd70fe5393aced2

parent

62d719d6b719abfe275517464504a220704f4035

1 files changed, 6 insertions(+), 9 deletions(-)

jump to
M otk/widget.hhotk/widget.hh

@@ -39,7 +39,7 @@ void configureHandler(const XConfigureEvent &e);

inline Window getWindow(void) const { return _window; } inline const OtkWidget *getParent(void) const { return _parent; } - inline OtkWidgetList &getChildren(void) const { return _children; } + inline const OtkWidgetList &getChildren(void) const { return _children; } inline unsigned int getScreen(void) const { return _screen; } inline const Rect &getRect(void) const { return _rect; }

@@ -128,14 +128,11 @@ bool _dirty;

bool _focused; virtual void adjust(void); - -private: - - void create(void); - void adjustHorz(void); - void adjustVert(void); - void internalResize(int width, int height); - void render(void); + virtual void create(void); + virtual void adjustHorz(void); + virtual void adjustVert(void); + virtual void internalResize(int width, int height); + virtual void render(void); Window _window;