diff options
author | Michael Johnson <ahze@FreeBSD.org> | 2005-01-12 06:57:31 +0000 |
---|---|---|
committer | Michael Johnson <ahze@FreeBSD.org> | 2005-01-12 06:57:31 +0000 |
commit | fbcbddacac7ba7c759755e33d49e77d1eba4b3ea (patch) | |
tree | 92eff5d61fb21869ea97207560345fecbdeaa939 /x11-wm/skippy-xd/files/patch-config.c | |
parent | Add SIZE in distinfo (diff) |
Add skippy-xd
Skippy-XD is a version of Skippy that uses Xserver's XDamage, XComposite and
XFixes extensions to provide you with 'live' versions of the windows.
Skippy-XD is best described as a full-screen task-switcher for X11. It tries to
provide an alternative when taskbars or regular task-switchers aren't the most
efficient way of switching tasks (like when you have a lot of applications open)
When activated (currently only through a hotkey), it will arrange and scale
snapshots of all windows on the current desktop and it'll let you pick a
window using a mouse or a keyboard. Yes, this is also what expocity and Apple's
Expose.
PR: ports/66921
Diffstat (limited to 'x11-wm/skippy-xd/files/patch-config.c')
-rw-r--r-- | x11-wm/skippy-xd/files/patch-config.c | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/x11-wm/skippy-xd/files/patch-config.c b/x11-wm/skippy-xd/files/patch-config.c new file mode 100644 index 000000000000..4dfcce54a0fa --- /dev/null +++ b/x11-wm/skippy-xd/files/patch-config.c @@ -0,0 +1,22 @@ +--- config.c.orig Mon Jul 5 22:36:39 2004 ++++ config.c Mon Jul 5 23:32:25 2004 +@@ -72,9 +72,9 @@ + int ix = 0, l_ix = 0; + dlist *new_config = 0; + +- regcomp(&re_section, "^[[:space:]]*\\[[[:space:]]*([[:alnum:]]*?)[[:space:]]*\\][[:space:]]*$", REG_EXTENDED); ++ regcomp(&re_section, "^[[:space:]]*\\[[[:space:]]*([[:alnum:]]*)[[:space:]]*\\][[:space:]]*$", REG_EXTENDED); + regcomp(&re_empty, "^[[:space:]]*#|^[[:space:]]*$", REG_EXTENDED); +- regcomp(&re_entry, "^[[:space:]]*([[:alnum:]]+)[[:space:]]*=[[:space:]]*(.*?)[[:space:]]*$", REG_EXTENDED); ++ regcomp(&re_entry, "^[[:space:]]*([[:alnum:]]+)[[:space:]]*=[[:space:]]*(.*)[[:space:]]*$", REG_EXTENDED); + + while(1) + { +@@ -148,6 +148,7 @@ + fclose(fin); + return 0; + } ++ data[flen] = '\0'; + + fclose(fin); + |