소스 검색

Fixing position in some wms when using -w

master
phillbush 4 년 전
부모
커밋
c15958bd96
2개의 변경된 파일4개의 추가작업 그리고 3개의 파일을 삭제
  1. +3
    -2
      README.md
  2. +1
    -1
      xmenu.c

+ 3
- 2
README.md 파일 보기

@@ -1,9 +1,9 @@
<p align="center">
<img src="/demo.gif", title="demo"/>
</p>
# XMenu
XMenu is a menu utility for X.
XMenu receives a menu specification in stdin, shows a menu for the user
to select one of the options, and outputs the option selected to stdout.
@@ -22,6 +22,7 @@ XMenu comes with the following features:
* Submenus (some menu entries can spawn another menu).
* Separators (menu entries can be separated by a line).
* Icons (menu entries can be preceded by an icon image).
* X resources support (you don't need to recompile xmenu for configuring it).


## Files


+ 1
- 1
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);


||||||
x
 
000:0
불러오는 중...
취소
저장