From c3708f8dcec35c701220815b9fad06e4d446c34d Mon Sep 17 00:00:00 2001 From: QC Date: Thu, 24 Jul 2014 20:15:09 +0200 Subject: [PATCH] Do not try to compensate for border when getting x,y --- source/rofi.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/source/rofi.c b/source/rofi.c index 888e1f27..87fde24c 100644 --- a/source/rofi.c +++ b/source/rofi.c @@ -1047,9 +1047,6 @@ static void calculate_window_position ( const workarea *mon, int *x, int *y, int default: break; } - // Compensate again for border. - *x -= config.menu_bw; - *y -= config.menu_bw; // Apply offset. *x += config.x_offset; *y += config.y_offset;