stage/x11: Remove trailing whitespace

To avoid check-code-style warnings in other MRs that touch this file.

Part-of: <https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/2373>
This commit is contained in:
Daniel van Vugt 2022-04-13 14:35:59 +08:00
parent dd94c448e9
commit 14ab0238d0

View File

@ -128,7 +128,7 @@ meta_stage_x11_set_wm_protocols (MetaStageX11 *stage_x11)
Display *xdisplay = xdisplay_from_stage (stage_x11); Display *xdisplay = xdisplay_from_stage (stage_x11);
Atom protocols[2]; Atom protocols[2];
int n = 0; int n = 0;
protocols[n++] = clutter_backend_x11->atom_WM_DELETE_WINDOW; protocols[n++] = clutter_backend_x11->atom_WM_DELETE_WINDOW;
protocols[n++] = clutter_backend_x11->atom_NET_WM_PING; protocols[n++] = clutter_backend_x11->atom_NET_WM_PING;
@ -234,17 +234,17 @@ set_wm_title (MetaStageX11 *stage_x11)
if (stage_x11->title == NULL) if (stage_x11->title == NULL)
{ {
XDeleteProperty (xdisplay, XDeleteProperty (xdisplay,
stage_x11->xwin, stage_x11->xwin,
clutter_backend_x11->atom_NET_WM_NAME); clutter_backend_x11->atom_NET_WM_NAME);
} }
else else
{ {
XChangeProperty (xdisplay, XChangeProperty (xdisplay,
stage_x11->xwin, stage_x11->xwin,
clutter_backend_x11->atom_NET_WM_NAME, clutter_backend_x11->atom_NET_WM_NAME,
clutter_backend_x11->atom_UTF8_STRING, clutter_backend_x11->atom_UTF8_STRING,
8, 8,
PropModeReplace, PropModeReplace,
(unsigned char *) stage_x11->title, (unsigned char *) stage_x11->title,
(int) strlen (stage_x11->title)); (int) strlen (stage_x11->title));
} }