summaryrefslogtreecommitdiff
path: root/xwayland
diff options
context:
space:
mode:
authorMurray Calavera <murray.calavera@gmail.com>2015-06-06 13:02:22 +0000
committerBryce Harrington <bryce@osg.samsung.com>2015-06-06 12:39:51 -0700
commit883ac02d220b4e5c4e85f7287adc0b158ef45896 (patch)
treef2f5b91aa1e446a70f5496da3adcec6b14178669 /xwayland
parent97b9b176682a24b9d4c31bdfb2a4a51decfbf013 (diff)
downloadweston-883ac02d220b4e5c4e85f7287adc0b158ef45896.tar.gz
Whitespace corrections
Signed-off-by: Murray Calavera <murray.calavera@gmail.com>
Diffstat (limited to 'xwayland')
-rw-r--r--xwayland/window-manager.c14
1 files changed, 7 insertions, 7 deletions
diff --git a/xwayland/window-manager.c b/xwayland/window-manager.c
index 1ea2c4c1..ca662036 100644
--- a/xwayland/window-manager.c
+++ b/xwayland/window-manager.c
@@ -595,7 +595,7 @@ weston_wm_window_send_configure_notify(struct weston_wm_window *window)
configure_notify.override_redirect = 0;
configure_notify.pad1 = 0;
- xcb_send_event(wm->conn, 0, window->id,
+ xcb_send_event(wm->conn, 0, window->id,
XCB_EVENT_MASK_STRUCTURE_NOTIFY,
(char *) &configure_notify);
}
@@ -603,7 +603,7 @@ weston_wm_window_send_configure_notify(struct weston_wm_window *window)
static void
weston_wm_handle_configure_request(struct weston_wm *wm, xcb_generic_event_t *event)
{
- xcb_configure_request_event_t *configure_request =
+ xcb_configure_request_event_t *configure_request =
(xcb_configure_request_event_t *) event;
struct weston_wm_window *window;
uint32_t mask, values[16];
@@ -672,7 +672,7 @@ our_resource(struct weston_wm *wm, uint32_t id)
static void
weston_wm_handle_configure_notify(struct weston_wm *wm, xcb_generic_event_t *event)
{
- xcb_configure_notify_event_t *configure_notify =
+ xcb_configure_notify_event_t *configure_notify =
(xcb_configure_notify_event_t *) event;
struct weston_wm_window *window;
@@ -726,7 +726,7 @@ weston_wm_create_surface(struct wl_listener *listener, void *data)
window->surface_id = 0;
wl_list_remove(&window->link);
break;
- }
+ }
}
static void
@@ -755,7 +755,7 @@ weston_wm_window_activate(struct wl_listener *listener, void *data)
client_message.data.data32[0] = wm->atom.wm_take_focus;
client_message.data.data32[1] = XCB_TIME_CURRENT_TIME;
- xcb_send_event(wm->conn, 0, window->id,
+ xcb_send_event(wm->conn, 0, window->id,
XCB_EVENT_MASK_SUBSTRUCTURE_REDIRECT,
(char *) &client_message);
@@ -1081,7 +1081,7 @@ weston_wm_window_draw_decoration(void *data)
/* We leave an extra pixel around the X window area to
* make sure we don't sample from the undefined alpha
* channel when filtering. */
- pixman_region32_init_rect(&window->surface->pending.opaque,
+ pixman_region32_init_rect(&window->surface->pending.opaque,
x - 1, y - 1,
window->width + 2,
window->height + 2);
@@ -2476,7 +2476,7 @@ xserver_map_shell_surface(struct weston_wm_window *window,
return;
}
- window->shsurf =
+ window->shsurf =
shell_interface->create_shell_surface(shell_interface->shell,
window->surface,
&shell_client);