1
0
Fork 0
mirror of https://github.com/davatorium/rofi.git synced 2025-04-21 17:52:51 -04:00

Do not try to compensate for border when getting x,y

This commit is contained in:
QC 2014-07-24 20:15:09 +02:00
parent e7cac06c7b
commit c3708f8dce

View file

@ -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;