x11: Rename atom
to ctm_atom
This makes it clearer exactly what atom this is referring to. Feedback from https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/1816#note_1081588 Signed-off-by: Aaron Plattner <aplattner@nvidia.com> Part-of: <https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/1816>
This commit is contained in:
parent
90eab42867
commit
aa498dc27a
@ -204,11 +204,11 @@ meta_output_xrandr_set_ctm (MetaOutputXrandr *output_xrandr,
|
|||||||
{
|
{
|
||||||
MetaOutput *output = META_OUTPUT (output_xrandr);
|
MetaOutput *output = META_OUTPUT (output_xrandr);
|
||||||
Display *xdisplay = xdisplay_from_output (output);
|
Display *xdisplay = xdisplay_from_output (output);
|
||||||
Atom atom = XInternAtom (xdisplay, "CTM", False);
|
Atom ctm_atom = XInternAtom (xdisplay, "CTM", False);
|
||||||
|
|
||||||
xcb_randr_change_output_property (XGetXCBConnection (xdisplay),
|
xcb_randr_change_output_property (XGetXCBConnection (xdisplay),
|
||||||
(XID) meta_output_get_id (output),
|
(XID) meta_output_get_id (output),
|
||||||
atom, XCB_ATOM_INTEGER, 32,
|
ctm_atom, XCB_ATOM_INTEGER, 32,
|
||||||
XCB_PROP_MODE_REPLACE,
|
XCB_PROP_MODE_REPLACE,
|
||||||
18, &ctm->matrix);
|
18, &ctm->matrix);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user