Feature #694
closedDetect fullscreen apps on Win32
Description
Kinotify should be able to detect fullscreen applications and disable notifications if current window is fullscreen.
There is a class FSWinWatcher
in Kinotify. Currently it lacks the implementation for Win32, so an implementation should be written and placed into fswinwatcher_win.cpp
file, compiled conditionally on Windows only (like fswinwatcher_x11.cpp
is built only on Unix).
Regarding the implementation: IMO it's better to just ask if current window is fullscreen. There is no need to loop through all windows since if a fullscreen window doesn't have focus, we should still display a notification. Like, when a user paused a video player and decided to chat a bit.
Files
Updated by DJm00n over 12 years ago
- File 0001-Kinotify-added-fullscreen-windows-handler-on-Windows.patch 0001-Kinotify-added-fullscreen-windows-handler-on-Windows.patch added
- Status changed from Assigned to Resolved
- % Done changed from 0 to 100
- Estimated time set to 2:00 h
Детектит у меня успешно на одном экране ноута. На несколькомониторной конфигурации нужно потестить.
https://github.com/DJm00n/leechcraft/commit/cf8dec0807454c92961c5ea4971989b39fdca99a
Updated by DJm00n over 12 years ago
- File 0001-Kinotify-added-check-whether-the-current-window-is-L.patch 0001-Kinotify-added-check-whether-the-current-window-is-L.patch added
[PATCH] Kinotify: added check whether the current window is LeechCraft window