x11: Intern INCR atom

We want to use it, despite it not existing previously.

https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/1198
This commit is contained in:
Carlos Garnacho 2020-04-11 16:44:28 +02:00 committed by Robert Mader
parent 967966cdee
commit a32cb7133b

View File

@ -229,7 +229,7 @@ meta_x11_selection_output_stream_perform_flush (MetaX11SelectionOutputStream *st
XChangeProperty (xdisplay, XChangeProperty (xdisplay,
priv->xwindow, priv->xwindow,
priv->xproperty, priv->xproperty,
XInternAtom (priv->x11_display->xdisplay, "INCR", True), XInternAtom (priv->x11_display->xdisplay, "INCR", False),
32, 32,
PropModeReplace, PropModeReplace,
(guchar *) &(long) { n_elements }, (guchar *) &(long) { n_elements },