diff options
Diffstat (limited to 'openbox/screen.h')
| -rw-r--r-- | openbox/screen.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/openbox/screen.h b/openbox/screen.h index 673a994d..56fa6c99 100644 --- a/openbox/screen.h +++ b/openbox/screen.h @@ -182,4 +182,9 @@ guint screen_monitor_pointer(void); */ gboolean screen_compare_desktops(guint a, guint b); +/*! Resolve a gravity point into absolute coordinates. + * width and height are the size of the object being placed, used for + * aligning to right/bottom edges of the area. */ +void screen_apply_gravity_point(gint *x, gint *y, gint width, gint height, + GravityPoint *position, const Rect *area); #endif |
