From c74ef11f09e7f7513911fb85a97745b25bb4013c Mon Sep 17 00:00:00 2001 From: ianmdlvl Date: Sun, 12 Dec 2004 16:37:30 +0000 Subject: [PATCH] set wm geometry hint --- cprogs/xacpi-simple.c | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/cprogs/xacpi-simple.c b/cprogs/xacpi-simple.c index fb9ecff..be9b2cc 100644 --- a/cprogs/xacpi-simple.c +++ b/cprogs/xacpi-simple.c @@ -496,6 +496,11 @@ static void initgraphics(int argc, char **argv) { normal_hints->flags= PWinGravity; normal_hints->win_gravity= gravity; + normal_hints->x= pos_x; + normal_hints->y= pos_y; + normal_hints->width= width; + normal_hints->height= height; + if (geom_string) normal_hints->flags |= USPosition; wm_hints->flags= InputHint; wm_hints->input= False; -- 2.30.2