From f54124e18ec18c7a97db7221e2a2ba23313e5ff4 Mon Sep 17 00:00:00 2001 From: iovar Date: Sat, 15 Nov 2008 16:28:36 +0000 Subject: src/rmd_wm_is_compositing.[ch], src/rmd.c, src/rmd_types.h, src/Makefile.am : Added rmdWMIsCompositing method which is used to determine if the window manager is compositing and thus if it will be recorded in --full-shots mode. This method replaces the name check that was previously used, but rmdWMCheck hasn't been removed as it is also a proper method of identifying compliance with the freedesktop.org standards, which is a neccessary step before determining whether a window manager is compositing. This method is still not perfect as non-3d compositing WM's will trigger full-shots, without neccessarily needing it, but the only penalty for this mistake will be increased CPU usage while previously, non-identification of compositing WM as such could lead in distorted/unusable videos (e.g. KWin when used in 3d compositing mode). git-svn-id: https://recordmydesktop.svn.sourceforge.net/svnroot/recordmydesktop/trunk@568 f606c939-3180-4ac9-a4b8-4b8779d57d0a --- recordmydesktop/src/Makefile.am | 2 ++ 1 file changed, 2 insertions(+) (limited to 'recordmydesktop/src/Makefile.am') diff --git a/recordmydesktop/src/Makefile.am b/recordmydesktop/src/Makefile.am index f572bed..47b3320 100644 --- a/recordmydesktop/src/Makefile.am +++ b/recordmydesktop/src/Makefile.am @@ -68,6 +68,8 @@ recordmydesktop_SOURCES = \ rmd_update_image.h \ rmd_wm_check.c \ rmd_wm_check.h \ + rmd_wm_is_compositing.c \ + rmd_wm_is_compositing.h \ rmd_yuv_utils.c \ rmd_yuv_utils.h \ skeleton.c \ -- cgit v1.2.3