summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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) {
192 192
193static void handle_view_geometry_request(wlc_handle handle, const struct wlc_geometry* geometry) { 193static void handle_view_geometry_request(wlc_handle handle, const struct wlc_geometry* geometry) {
194 sway_log(L_DEBUG, "geometry request %d x %d : %d x %d", 194 sway_log(L_DEBUG, "geometry request %d x %d : %d x %d",
195 geometry->origin.x, geometry->origin.y, geometry->size.w, geometry->size.h); 195 geometry->origin.x, geometry->origin.y, geometry->size.w,geometry->size.h);
196 // If the view is floating, then apply the geometry. 196 // If the view is floating, then apply the geometry.
197 // Otherwise save the desired width/height for the view. 197 // Otherwise save the desired width/height for the view.
198 // This will not do anything for the time being as WLC improperly sends geometry requests 198 // 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
213 213
214static void handle_view_state_request(wlc_handle view, enum wlc_view_state_bit state, bool toggle) { 214static void handle_view_state_request(wlc_handle view, enum wlc_view_state_bit state, bool toggle) {
215 swayc_t *c = NULL; 215 swayc_t *c = NULL;
216 switch (state) { 216 switch(state) {
217 case WLC_BIT_FULLSCREEN: 217 case WLC_BIT_FULLSCREEN:
218 //I3 just lets it become fullscreen 218 //I3 just lets it become fullscreen
219 wlc_view_set_state(view, state, toggle); 219 wlc_view_set_state(view, state, toggle);
220 c = get_swayc_for_handle(view, &root_container); 220 c = get_swayc_for_handle(view, &root_container);
221 sway_log(L_DEBUG, "setting view %ld %s, fullscreen %d", view, c->name, toggle); 221 sway_log(L_DEBUG, "setting view %ld %s, fullscreen %d",view,c->name,toggle);
222 if (c) { 222 if (c) {
223 arrange_windows(c->parent, -1, -1); 223 arrange_windows(c->parent, -1, -1);
224 //Set it as focused window for that workspace if its going 224 //Set it as focused window for that workspace if its going