diff options
| author | Dana Jansens <danakj@orodu.net> | 2007-05-09 22:21:28 +0000 |
|---|---|---|
| committer | Dana Jansens <danakj@orodu.net> | 2007-05-09 22:21:28 +0000 |
| commit | 66afa1dcebaf8f1562311d1293baf4094f9ac011 (patch) | |
| tree | fe68c70d127d6111a0662bd0ca3aba348b15bd24 /openbox/frame.h | |
| parent | 6042ba5e992739c5afdce742ee73ac1eed7fd499 (diff) | |
when a window is fully maxed, make clicking on the titlebar past the edge buttons count as clicking on the buttons
Diffstat (limited to 'openbox/frame.h')
| -rw-r--r-- | openbox/frame.h | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/openbox/frame.h b/openbox/frame.h index 147f59de..ebd8de98 100644 --- a/openbox/frame.h +++ b/openbox/frame.h @@ -136,6 +136,10 @@ struct _ObFrame gint cbwidth_x; /* client border width */ gint cbwidth_y; /* client border width */ + /* the leftmost and rightmost elements in the titlebar */ + ObFrameContext leftmost; + ObFrameContext rightmost; + gboolean max_press; gboolean close_press; gboolean desk_press; @@ -180,7 +184,8 @@ void frame_release_client(ObFrame *self); ObFrameContext frame_context_from_string(const gchar *name); -ObFrameContext frame_context(struct _ObClient *self, Window win); +ObFrameContext frame_context(struct _ObClient *self, Window win, + gint x, gint y); /*! Applies gravity to the client's position to find where the frame should be positioned. |
