chiark / gitweb /
set wm geometry hint
authorianmdlvl <ianmdlvl>
Sun, 12 Dec 2004 16:37:30 +0000 (16:37 +0000)
committerianmdlvl <ianmdlvl>
Sun, 12 Dec 2004 16:37:30 +0000 (16:37 +0000)
cprogs/xacpi-simple.c

index fb9ecff50507a27b460ccbdc703ab21ba110b646..be9b2cc21f5653089b8c792de795ea2023a2d9fa 100644 (file)
@@ -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;