mirror of
https://github.com/labwc/labwc.git
synced 2026-06-13 14:33:18 -04:00
Fix workspace state updates so panels such as sfwbar can correctly track workspace-filtered taskbars under labwc. - remove restriction that skips workspace updates when the source is OSD - trigger output_update_workspace_appearance() after workspace change - return early when no view is present to avoid inconsistent updates This resolves incorrect behavior where sfwbar (filter = workspace) does not update properly under labwc, while it works correctly on sway. Related: https://github.com/LBCrion/sfwbar/issues/412
14 lines
493 B
C
14 lines
493 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_refresh(struct foreign_toplevel *toplevel);
|
|
void foreign_toplevel_destroy(struct foreign_toplevel *toplevel);
|
|
|
|
#endif /* LABWC_FOREIGN_TOPLEVEL_H */
|