Whitespace corrections
Signed-off-by: Murray Calavera <murray.calavera@gmail.com>
This commit is contained in:
committed by
Bryce Harrington
parent
97b9b17668
commit
883ac02d22
@@ -511,7 +511,7 @@ x11_output_set_wm_protocols(struct x11_compositor *c,
|
||||
xcb_atom_t list[1];
|
||||
|
||||
list[0] = c->atom.wm_delete_window;
|
||||
xcb_change_property (c->conn,
|
||||
xcb_change_property (c->conn,
|
||||
XCB_PROP_MODE_REPLACE,
|
||||
output->window,
|
||||
c->atom.wm_protocols,
|
||||
|
||||
+1
-1
@@ -259,7 +259,7 @@ struct backlight *backlight_init(struct udev_device *drm_device,
|
||||
|
||||
parent = basename(buffer);
|
||||
|
||||
/* Perform matching for raw and firmware backlights -
|
||||
/* Perform matching for raw and firmware backlights -
|
||||
platform backlights have to be assumed to match */
|
||||
if (entry_type == BACKLIGHT_RAW ||
|
||||
entry_type == BACKLIGHT_FIRMWARE) {
|
||||
|
||||
+1
-1
@@ -5,7 +5,7 @@
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
#endif
|
||||
|
||||
enum backlight_type {
|
||||
BACKLIGHT_RAW,
|
||||
|
||||
+5
-5
@@ -114,7 +114,7 @@ read_groups(void)
|
||||
{
|
||||
int n;
|
||||
gid_t *groups;
|
||||
|
||||
|
||||
n = getgroups(0, NULL);
|
||||
|
||||
if (n < 0) {
|
||||
@@ -174,7 +174,7 @@ weston_launch_allowed(struct weston_launch *wl)
|
||||
free(session);
|
||||
}
|
||||
#endif
|
||||
|
||||
|
||||
return false;
|
||||
}
|
||||
|
||||
@@ -224,7 +224,7 @@ setup_launcher_socket(struct weston_launch *wl)
|
||||
{
|
||||
if (socketpair(AF_LOCAL, SOCK_SEQPACKET, 0, wl->sock) < 0)
|
||||
error(1, errno, "socketpair failed");
|
||||
|
||||
|
||||
if (fcntl(wl->sock[0], F_SETFD, FD_CLOEXEC) < 0)
|
||||
error(1, errno, "fcntl failed");
|
||||
|
||||
@@ -531,7 +531,7 @@ setup_tty(struct weston_launch *wl, const char *tty)
|
||||
error(1, errno, "could not open tty0");
|
||||
|
||||
if (ioctl(tty0, VT_OPENQRY, &wl->ttynr) < 0 || wl->ttynr == -1)
|
||||
error(1, errno, "failed to find non-opened console");
|
||||
error(1, errno, "failed to find non-opened console");
|
||||
|
||||
snprintf(filename, sizeof filename, "/dev/tty%d", wl->ttynr);
|
||||
wl->tty = open(filename, O_RDWR | O_NOCTTY);
|
||||
@@ -680,7 +680,7 @@ main(int argc, char *argv[])
|
||||
{ "verbose", no_argument, NULL, 'v' },
|
||||
{ "help", no_argument, NULL, 'h' },
|
||||
{ 0, 0, NULL, 0 }
|
||||
};
|
||||
};
|
||||
|
||||
memset(&wl, 0, sizeof wl);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user