fixed style

This commit is contained in:
minus 2015-08-22 00:01:15 +02:00
parent 6a33d67f36
commit 6c1e7cdebd

View file

@ -472,13 +472,14 @@ void view_set_floating(swayc_t *view, bool floating) {
void scratchpad_push(swayc_t *view) {
add_floating(scratchpad, view);
wlc_view_set_mask(view->handle, 2); // invisible mask
wlc_view_send_to_back(view->handle);
wlc_view_send_to_back(view->handle);
}
swayc_t *scratchpad_pop(void) {
if (scratchpad->floating->length == 0) {
return NULL;
}
swayc_t *view = scratchpad->floating->items[0];
wlc_view_set_mask(view->handle, 1); // visible mask
remove_child(view);