ErikReider / SwayNotificationCenter

A simple GTK based notification daemon for SwayWM
GNU General Public License v3.0
1.15k stars 58 forks source link

Allows Variable Notification Window Height #415

Open modestbadger1773 opened 2 months ago

modestbadger1773 commented 2 months ago

Allows Variable Notification Window Height

Solves:

@/issues/174 @/issues/274 @/issues/177

swayncwindowheight

ErikReider commented 2 months ago

The issue with this is that the layer could extend past the outputs bounds if the height is very large, hiding notifications. That's why I haven't really looked into this...

One solution would be to always have it set to the outputs height while only allowing input inside the used area (setting the surfaces input region). Not sure if this is possible in GTK though

modestbadger1773 commented 2 months ago

I mean, the same is true for notification-widow-width.

I think both should be available to the user with comments next to them to warn of their misuse.

https://github.com/ErikReider/SwayNotificationCenter/assets/165446573/8f1912d1-a5ba-42ee-902b-5ebcb2d291e2