aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authortaiyu <taiyu.len@gmail.com>2015-08-18 00:58:25 -0700
committertaiyu <taiyu.len@gmail.com>2015-08-18 00:58:25 -0700
commitf0fe4a346d46b2033d8ceff9b06b558d82f51f6d (patch)
tree9d2ce59b3f3c0590cdf8ceb4ce1aefd193bb8033
parent11321ca2dd355be82175213795d88dcbfd0540ee (diff)
downloadsway-f0fe4a346d46b2033d8ceff9b06b558d82f51f6d.tar.xz
style
-rw-r--r--sway/handlers.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/sway/handlers.c b/sway/handlers.c
index 99f597af..d18be253 100644
--- a/sway/handlers.c
+++ b/sway/handlers.c
@@ -192,7 +192,7 @@ static void handle_view_focus(wlc_handle view, bool focus) {
static void handle_view_geometry_request(wlc_handle handle, const struct wlc_geometry* geometry) {
sway_log(L_DEBUG, "geometry request %d x %d : %d x %d",
- geometry->origin.x, geometry->origin.y, geometry->size.w, geometry->size.h);
+ geometry->origin.x, geometry->origin.y, geometry->size.w,geometry->size.h);
// If the view is floating, then apply the geometry.
// Otherwise save the desired width/height for the view.
// This will not do anything for the time being as WLC improperly sends geometry requests
@@ -213,12 +213,12 @@ static void handle_view_geometry_request(wlc_handle handle, const struct wlc_geo
static void handle_view_state_request(wlc_handle view, enum wlc_view_state_bit state, bool toggle) {
swayc_t *c = NULL;
- switch (state) {
+ switch(state) {
case WLC_BIT_FULLSCREEN:
//I3 just lets it become fullscreen
wlc_view_set_state(view, state, toggle);
c = get_swayc_for_handle(view, &root_container);
- sway_log(L_DEBUG, "setting view %ld %s, fullscreen %d", view, c->name, toggle);
+ sway_log(L_DEBUG, "setting view %ld %s, fullscreen %d",view,c->name,toggle);
if (c) {
arrange_windows(c->parent, -1, -1);
//Set it as focused window for that workspace if its going