mirror of
https://github.com/DeeJanuz/frametop.git
synced 2026-10-06 04:04:09 +02:00
Merge floating-windows into experimental
Floating windows join the keyboard and the hand cutouts. Floating panels don't get cutouts yet: their panel and popups show crops of the client buffer (texture bounds), which the side-by-side cutout buffer doesn't match. KWin gets both the spare outputs and our input method, and the pointer helper's frametop. prefix already covers the float panels. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
commit
4493b789fd
14 files changed
+2020
-93
No files matched your search
@@ -38,6 +38,10 @@ bool ft_vr_screens_shown(void);
|
||||
// A panel for screen `index`, width in metres, placed in a row in front of the head.
|
||||
void ft_vr_screen_create(int index, double metres, int count);
|
||||
void ft_vr_screen_destroy(int index);
|
||||
// A spare output's panel, for floating windows (slot numbers from 1): hidden until
|
||||
// ft-floatd floats a window on it and KWin has the output turned on.
|
||||
void ft_vr_float_create(int index, int slot);
|
||||
void ft_vr_float_output(int index, bool on);
|
||||
// Show a client buffer (identified by `key`) on the screen's panel. False if SteamVR
|
||||
// can't import it.
|
||||
bool ft_vr_screen_present(int index, const void *key, const struct ft_dmabuf *buf);
|
||||
|
||||
Reference in new issue
Block a user