Project

General

Profile

Actions

Feature #694

closed

Detect fullscreen apps on Win32

Added by 0xd34df00d over 12 years ago. Updated over 12 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
Plugins: Kinotify
Target version:
Start date:
05/11/2012
Due date:
% Done:

100%

Estimated time:
2:00 h

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

Actions

Also available in: Atom PDF