This commit is contained in:
Johan Malm 2026-04-08 16:04:14 +02:00 committed by GitHub
commit 393fe2fd7d
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
8 changed files with 123 additions and 1 deletions

9
include/show-desktop.h Normal file
View file

@ -0,0 +1,9 @@
/* SPDX-License-Identifier: GPL-2.0-only */
#ifndef LABWC_SHOW_DESKTOP_H
#define LABWC_SHOW_DESKTOP_H
void show_desktop_toggle(void);
void show_desktop_reset(void);
void show_desktop_finish(void);
#endif /* LABWC_SHOW_DESKTOP_H */

View file

@ -487,6 +487,7 @@ void view_resize_relative(struct view *view,
void view_move_relative(struct view *view, int x, int y);
void view_move(struct view *view, int x, int y);
void view_moved(struct view *view);
void view_minimize_no_show_desktop_reset(struct view *view, bool minimized);
void view_minimize(struct view *view, bool minimized);
bool view_compute_centered_position(struct view *view,
const struct wlr_box *ref, int w, int h, int *x, int *y);