diff options
| author | Dana Jansens <danakj@orodu.net> | 2007-05-01 04:46:29 +0000 |
|---|---|---|
| committer | Dana Jansens <danakj@orodu.net> | 2007-05-01 04:46:29 +0000 |
| commit | 55d2916c1e24e021d9b9692d2373dc4afff4c5c2 (patch) | |
| tree | f9e4a365b33d3a94ae5481a4ff11470f11482c32 /openbox/frame.h | |
| parent | c991482154d390e46298afb12d213448cc120563 (diff) | |
a whole lot of changes to the moving/resizing code. it was broken for non-northwest gravities. now it is not. at least, that is the idea.
Diffstat (limited to 'openbox/frame.h')
| -rw-r--r-- | openbox/frame.h | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/openbox/frame.h b/openbox/frame.h index b5372647..344c1530 100644 --- a/openbox/frame.h +++ b/openbox/frame.h @@ -151,7 +151,6 @@ void frame_adjust_theme(ObFrame *self); void frame_adjust_shape(ObFrame *self); void frame_adjust_area(ObFrame *self, gboolean moved, gboolean resized, gboolean fake); -void frame_adjust_client_area(ObFrame *self); void frame_adjust_state(ObFrame *self); void frame_adjust_focus(ObFrame *self, gboolean hilite); void frame_adjust_title(ObFrame *self); @@ -167,13 +166,13 @@ ObFrameContext frame_context(struct _ObClient *self, Window win); be positioned. @return The proper coordinates for the frame, based on the client. */ -void frame_client_gravity(ObFrame *self, gint *x, gint *y); +void frame_client_gravity(ObFrame *self, gint *x, gint *y, gint w, gint h); /*! Reversly applies gravity to the frame's position to find where the client should be positioned. @return The proper coordinates for the client, based on the frame. */ -void frame_frame_gravity(ObFrame *self, gint *x, gint *y); +void frame_frame_gravity(ObFrame *self, gint *x, gint *y, gint w, gint h); void frame_flash_start(ObFrame *self); void frame_flash_stop(ObFrame *self); |
