mirror of
https://github.com/labwc/labwc.git
synced 2026-04-08 08:21:09 -04:00
Introduce a per-window rule `<taskbarScope>` that controls where a window's
*taskbar entry* appears. This affects taskbar listing only (via foreign-toplevel
output membership); it does not change sticky/omnipresent state, focus, or
workspace membership.
Supported values (case-insensitive):
- here -> show only when both match: the window's monitor AND its active workspace
- monitor -> show only on the window's monitor, across that monitor's workspaces
(default if the key is omitted)
- workspace -> show on all monitors currently on the window's workspace
- everywhere -> show on all monitors and all workspaces
14 lines
501 B
C
14 lines
501 B
C
/* SPDX-License-Identifier: GPL-2.0-only */
|
|
#ifndef LABWC_FOREIGN_TOPLEVEL_H
|
|
#define LABWC_FOREIGN_TOPLEVEL_H
|
|
|
|
struct view;
|
|
struct foreign_toplevel;
|
|
|
|
struct foreign_toplevel *foreign_toplevel_create(struct view *view);
|
|
void foreign_toplevel_set_parent(struct foreign_toplevel *toplevel,
|
|
struct foreign_toplevel *parent);
|
|
void foreign_toplevel_destroy(struct foreign_toplevel *toplevel);
|
|
void foreign_toplevel_refresh_outputs(struct foreign_toplevel *toplevel);
|
|
|
|
#endif /* LABWC_FOREIGN_TOPLEVEL_H */
|