Hi,

I've changed the implementation of idle timer because it was only
implemented for x11. With this patch it should work on all platforms.
Most of the code was taken from KVirc.

I've successfully tested it on Linux and Windows. The MacOS version wasn't 
tested.

Can I commit it?

Regards,
Roman

PS. There's one problem. If you lock the screen and then interact with mouse or 
keyboard
the idle time will be set back to 0. I'll try to investigate if we can somehow
detect if the screen is locked.

QDBusInterface caller("org.freedesktop.ScreenSaver", "/ScreenSaver", 
"org.freedesktop.ScreenSaver");     
QDBusReply<bool> reply = caller.call("GetActive");  
This somehow isn't working.

Attachment: idletimer-mp.diff
Description: Binary data

_______________________________________________
kopete-devel mailing list
[email protected]
https://mail.kde.org/mailman/listinfo/kopete-devel

Reply via email to