mirror of
https://github.com/swaywm/sway.git
synced 2026-04-28 06:46:26 -04:00
fixed style
This commit is contained in:
parent
6a33d67f36
commit
6c1e7cdebd
1 changed files with 2 additions and 1 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue