ui: Make sure we use the correct atom
We have to use gdk_x11_xatom_to_atom for display to make it consistent with the surrounding code.
This commit is contained in:
parent
e884fc784e
commit
1160744830
@ -684,7 +684,7 @@ meta_text_property_to_utf8 (Display *xdisplay,
|
||||
|
||||
display = gdk_x11_lookup_xdisplay (xdisplay);
|
||||
count = gdk_text_property_to_utf8_list_for_display (display,
|
||||
gdk_x11_xatom_to_atom (prop->encoding),
|
||||
gdk_x11_xatom_to_atom_for_display (display, prop->encoding),
|
||||
prop->format,
|
||||
prop->value,
|
||||
prop->nitems,
|
||||
|
Loading…
Reference in New Issue
Block a user