This commit is contained in:
chocolatemintychip 2026-05-17 13:17:57 -04:00 committed by GitHub
commit ea29369672
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
11 changed files with 68 additions and 5 deletions

View file

@ -26,8 +26,9 @@ enum lab_node_type {
LAB_NODE_BUTTON_WINDOW_MENU,
LAB_NODE_BUTTON_SHADE,
LAB_NODE_BUTTON_OMNIPRESENT,
LAB_NODE_BUTTON_ONTOP,
LAB_NODE_BUTTON_FIRST = LAB_NODE_BUTTON_CLOSE,
LAB_NODE_BUTTON_LAST = LAB_NODE_BUTTON_OMNIPRESENT,
LAB_NODE_BUTTON_LAST = LAB_NODE_BUTTON_ONTOP,
LAB_NODE_BUTTON,
LAB_NODE_TITLEBAR,

View file

@ -291,6 +291,11 @@ static struct mouse_combos {
.button = "Left",
.event = "Click",
.action = "ToggleOmnipresent",
}, {
.context = "OnTop",
.button = "Left",
.event = "Click",
.action = "ToggleAlwaysOnTop",
}, {
.context = "Maximize",
.button = "Right",

View file

@ -79,6 +79,7 @@ struct ssd {
* such a small titlebar.
*/
bool was_squared;
bool was_ontop;
struct wlr_box geometry;
struct ssd_state_title {