Fixing position in some wms when using -w
This commit is contained in:
2
xmenu.c
2
xmenu.c
@@ -791,7 +791,7 @@ setupmenu(struct Menu *menu, XClassHint *classh)
|
||||
XStringListToTextProperty(&title, 1, &wintitle);
|
||||
|
||||
/* set window manager hints */
|
||||
sizeh.flags = PMaxSize | PMinSize;
|
||||
sizeh.flags = USPosition | PMaxSize | PMinSize;
|
||||
sizeh.min_width = sizeh.max_width = menu->w;
|
||||
sizeh.min_height = sizeh.max_height = menu->h;
|
||||
XSetWMProperties(dpy, menu->win, &wintitle, NULL, NULL, 0, &sizeh, NULL, classh);
|
||||
|
Reference in New Issue
Block a user