x11 Window casting issues
This commit is contained in:
parent
ac0f84ace1
commit
d95404a8b2
|
|
@ -200,7 +200,7 @@ open_window() {
|
|||
if (!_properties.has_parent_window()) {
|
||||
root_window = glx_pipe->get_root();
|
||||
} else {
|
||||
root_window = (Window) (int) _properties.get_parent_window();
|
||||
root_window = (Window)_properties.get_parent_window();
|
||||
}
|
||||
|
||||
#ifdef HAVE_GLXFBCONFIG
|
||||
|
|
|
|||
|
|
@ -515,7 +515,7 @@ open_window() {
|
|||
if (!_properties.has_parent_window()) {
|
||||
root_window = tinyx_pipe->get_root();
|
||||
} else {
|
||||
root_window = (Window) (int) _properties.get_parent_window();
|
||||
root_window = (Window)_properties.get_parent_window();
|
||||
}
|
||||
setup_colormap(visual_info);
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue