48 |
48 |
49 static int is_toplevel_realized = 0; |
49 static int is_toplevel_realized = 0; |
50 |
50 |
51 int event_pipe[2]; |
51 int event_pipe[2]; |
52 |
52 |
|
53 /* |
53 static String fallback[] = { |
54 static String fallback[] = { |
54 //"*fontList: -dt-interface system-medium-r-normal-s*utf*:", |
55 //"*fontList: -dt-interface system-medium-r-normal-s*utf*:", |
55 "*renderTable: rt", |
56 "*renderTable: rt", |
56 "*rt*fontType: FONT_IS_FONTSET", |
57 "*rt*fontType: FONT_IS_FONTSET", |
57 "*rt*fontName: -dt-interface system-medium-r-normal-s*utf*:," |
58 "*rt*fontName: -dt-interface system-medium-r-normal-s*utf*:," |
70 "-misc-liberation sans-medium-r-normal--0-0-0-0-p-0-koi8-uni," |
71 "-misc-liberation sans-medium-r-normal--0-0-0-0-p-0-koi8-uni," |
71 "-misc-fixed-medium-r-normal--14-130-75-75-c-140-jisx0208", |
72 "-misc-fixed-medium-r-normal--14-130-75-75-c-140-jisx0208", |
72 "*rt*fontSize: 10", |
73 "*rt*fontSize: 10", |
73 NULL |
74 NULL |
74 }; |
75 }; |
|
76 */ |
|
77 static String fallback[] = { |
|
78 //"*fontList: -dt-interface system-medium-r-normal-s*utf*:", |
|
79 "*renderTable: rt", |
|
80 "*rt*fontType: FONT_IS_XFT", |
|
81 "*rt*fontName: Cantarell", |
|
82 "*rt*fontSize: 11", |
|
83 NULL |
|
84 }; |
75 |
85 |
76 void input_proc(XtPointer data, int *source, XtInputId *iid) { |
86 void input_proc(XtPointer data, int *source, XtInputId *iid) { |
77 void *ptr; |
87 void *ptr; |
78 read(event_pipe[0], &ptr, sizeof(void*)); |
88 read(event_pipe[0], &ptr, sizeof(void*)); |
79 } |
89 } |