Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
saeed
odb_view
Commits
744b8cf1
Commit
744b8cf1
authored
Oct 04, 2019
by
saeed
Browse files
a bit cleanin
parent
a8d8762f
Changes
1
Hide whitespace changes
Inline
Side-by-side
renderer.c
View file @
744b8cf1
...
...
@@ -100,8 +100,8 @@ static struct Vis init_x(int w, int h){
result
.
gc
=
XCreateGC
(
result
.
dsp
,
result
.
win
,
GCFont
|
GCFunction
|
GCPlaneMask
|
GCForeground
|
GCBackground
,
&
result
.
gr_values
);
//XSetFont (result.dsp, result.gc, result.fontinfo->fid);
result
.
cmap
=
DefaultColormap
(
result
.
dsp
,
result
.
screen_num
);
XStoreName
(
result
.
dsp
,
result
.
win
,
"ODBVI
S
"
)
;
XSetIconName
(
result
.
dsp
,
result
.
win
,
"ODBVI
S
"
)
;
XStoreName
(
result
.
dsp
,
result
.
win
,
"ODBVI
EW
"
)
;
XSetIconName
(
result
.
dsp
,
result
.
win
,
"ODBVI
EW
"
)
;
// say window manager which position we would prefer
XSizeHints
sizehints
;
sizehints
.
flags
=
USPosition
|
USSize
;
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment