all repos — fluxbox @ 7056c000e24960d27dd92d6ddc0466acfb97749b

custom fork of the fluxbox windowmanager

erk
rathnor rathnor
commit

7056c000e24960d27dd92d6ddc0466acfb97749b

parent

4652eb065cbaca532c300bd82cb76bdb7b291c89

1 files changed, 5 insertions(+), 1 deletions(-)

jump to
M src/FbWinFrame.hhsrc/FbWinFrame.hh

@@ -19,7 +19,7 @@ // LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING

// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER // DEALINGS IN THE SOFTWARE. -// $Id: FbWinFrame.hh,v 1.15 2003/09/10 09:53:21 fluxgen Exp $ +// $Id: FbWinFrame.hh,v 1.16 2003/09/11 13:15:58 rathnor Exp $ #ifndef FBWINFRAME_HH #define FBWINFRAME_HH

@@ -120,6 +120,10 @@ void hideHandle();

void showHandle(); void hideAllDecorations(); void showAllDecorations(); + + // this function translates its arguments according to win_gravity + // if win_gravity is negative, it does an inverse translation + void gravityTranslate(int &x, int &y, int win_gravity); void setBorderWidth(unsigned int borderW);