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 #1

Updated by DJm00n over 12 years ago

Детектит у меня успешно на одном экране ноута. На несколькомониторной конфигурации нужно потестить.
https://github.com/DJm00n/leechcraft/commit/cf8dec0807454c92961c5ea4971989b39fdca99a

Actions #2

Updated by DJm00n over 12 years ago

[PATCH] Kinotify: added check whether the current window is LeechCraft window

Actions #3

Updated by 0xd34df00d over 12 years ago

  • Status changed from Resolved to Closed

Assume it works :)

Actions

Also available in: Atom PDF