瀏覽代碼

Fixed initial window title

master
Bert 14 年之前
父節點
當前提交
eeb58886a5
共有 1 個檔案被更改,包括 5 行新增2 行删除
  1. +5
    -2
      window.c

+ 5
- 2
window.c 查看文件

@@ -72,9 +72,12 @@ void win_open(win_t *win) {
XSelectInput(e->dpy, win->xwin,
StructureNotifyMask | ExposureMask | KeyPressMask);

XStoreName(e->dpy, win->xwin, "sxiv");
XSetIconName(e->dpy, win->xwin, "Sxiv");

if ((classhint = XAllocClassHint())) {
classhint->res_name = "sxvi";
classhint->res_class = "sxvi";
classhint->res_name = "sxiv";
classhint->res_class = "sxiv";
XSetClassHint(e->dpy, win->xwin, classhint);
XFree(classhint);
}


||||||
x
 
000:0
Loading…
取消
儲存