diff options
author | iovar <iovar@f606c939-3180-4ac9-a4b8-4b8779d57d0a> | 2006-11-03 07:38:20 +0000 |
---|---|---|
committer | iovar <iovar@f606c939-3180-4ac9-a4b8-4b8779d57d0a> | 2006-11-03 07:38:20 +0000 |
commit | b5475f2362fbfdab84a6b5fcb6a8222fd3954b41 (patch) | |
tree | 67964575456aebaff27e4b3fd9498c967ffe4104 /rMD-exp | |
parent | de9901f8d73e49a786881d24eb90fc14d0e931cc (diff) |
changed beryl __NET_WM_NAME check to strncmp, to cover older versions
git-svn-id: https://recordmydesktop.svn.sourceforge.net/svnroot/recordmydesktop/trunk@141 f606c939-3180-4ac9-a4b8-4b8779d57d0a
Diffstat (limited to 'rMD-exp')
-rw-r--r-- | rMD-exp/src/recordmydesktop.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/rMD-exp/src/recordmydesktop.c b/rMD-exp/src/recordmydesktop.c index 2550ee0..77c08ce 100644 --- a/rMD-exp/src/recordmydesktop.c +++ b/rMD-exp/src/recordmydesktop.c @@ -81,7 +81,8 @@ int main(int argc,char **argv){ } //Right now only wm's that I know of performing 3d compositing are beryl and compiz. //No, the blue screen in metacity doesn't count :) - else if(!strcmp(pdata.window_manager,"compiz") || !strcmp(pdata.window_manager,"beryl")){ + //names can be compiz for compiz and beryl/beryl-co/beryl-core for beryl(so it's strncmp ) + else if(!strcmp(pdata.window_manager,"compiz") || !strncmp(pdata.window_manager,"beryl",5)){ fprintf(stderr,"\nDetected 3d compositing window manager.\n" "Reverting to full screen capture at every frame.\n" "To disable this check run with --no-wm-check\n" |