From 17bc51aab8be25cd44c55eb0a652c92518bd9b0f Mon Sep 17 00:00:00 2001 From: Dana Jansens Date: Fri, 11 Jan 2008 20:24:16 -0500 Subject: let you specify the resize popup to be in a fixed place --- openbox/config.h | 21 +++++++++++++++++++-- 1 file changed, 19 insertions(+), 2 deletions(-) (limited to 'openbox/config.h') diff --git a/openbox/config.h b/openbox/config.h index 2c4b4dba..4fa9c70b 100644 --- a/openbox/config.h +++ b/openbox/config.h @@ -24,6 +24,7 @@ #include "stacking.h" #include "place.h" #include "geom.h" +#include "moveresize.h" #include "render/render.h" #include @@ -92,8 +93,24 @@ extern gboolean config_resize_redraw; /*! show move/resize popups? 0 = no, 1 = always, 2 = only resizing !1 increments */ extern gint config_resize_popup_show; -/*! where to show the popup, currently above the window or centered */ -extern gint config_resize_popup_pos; +/*! where to show the resize popup */ +extern ObResizePopupPos config_resize_popup_pos; +/*! if the resize popup should be centered horizontally if it is being + placed in a fixed position */ +extern gboolean config_resize_popup_x_center; +/*! if the resize popup should be centered vertically if it is being + placed in a fixed position */ +extern gboolean config_resize_popup_y_center; +/*! if the resize popup should be placed from the right side of the screen when + placed in a fixed position */ +extern gboolean config_resize_popup_x_opposite; +/*! if the resize popup should be placed from the bottom side of the screen + when placed in a fixed position */ +extern gboolean config_resize_popup_y_opposite; +/*! where the resize popup should be if it is placed in a fixed position */ +extern gint config_resize_popup_x; +/*! where the resize popup should be if it is placed in a fixed position */ +extern gint config_resize_popup_y; /*! The stacking layer the dock will reside in */ extern ObStackingLayer config_dock_layer; -- cgit v1.2.3