Version: (using KDE KDE 3.4.2)
Installed from: Mandriva RPMs
Just a quick feature request. I'd like to see system notifications added for when a window enters and leaves fullscreen mode.
I personally would use this to run a little app that dims the lights on my front panel whenever I'm watching a movie full screen, but I'm sure there would be other applications. Perhaps some other notifications could be added as well e.g. for border/no border.
Thanks for your time.
I'm afraid this can't go to KDE3.x because of string freeze. Otherwise this should be rather simple, basically just extending kwin/notifications.*, kwin/eventsrc and adding calls to places where changes take place.
Created attachment 28330 [details]
Proposed patch adding notifications for events when window becomes fullscreen
Attached is a patch that adds notification events for a window becoming fullscreen and restoring back from fullscreen.
The name & comment for the events in kwin.notifyrc might need to be looked at - perhaps the descriptions could be clearer?
This is my first patch submission, so please be gentle ;-)
I am very sorry that we missed this patch. Unfortunately this is something which can happen as bugzilla does not properly notify the developers.
If you want you could submit the patch to http://reviewboard.kde.org for group kwin. I assume that the patch should mostly still apply modulo some whitespace changes.
Review Request created: https://git.reviewboard.kde.org/r/104457/
Git commit baa30c8e659306d24df9379fd4a0b659adbbfe51 by Martin Gräßlin.
Committed on 01/04/2012 at 17:05.
Pushed by graesslin into branch 'master'.
Add notifications for Window goes to/fro Fullscreen
M +5 -0 kwin/geometry.cpp
M +8 -0 kwin/kwin.notifyrc
M +6 -0 kwin/notifications.cpp
M +2 -0 kwin/notifications.h