aboutsummaryrefslogtreecommitdiffstats
path: root/x11-wm
diff options
context:
space:
mode:
authormiwi <miwi@FreeBSD.org>2007-09-23 05:46:10 +0800
committermiwi <miwi@FreeBSD.org>2007-09-23 05:46:10 +0800
commitdd9ed251b0f732c705b9edace4f89b0dd61aca1b (patch)
tree8a3e0ce7778749d98ea395393fc575ba11dae375 /x11-wm
parentbde01cfd33ece7179543f5755ff405f404e59a34 (diff)
downloadfreebsd-ports-gnome-dd9ed251b0f732c705b9edace4f89b0dd61aca1b.tar.gz
freebsd-ports-gnome-dd9ed251b0f732c705b9edace4f89b0dd61aca1b.tar.zst
freebsd-ports-gnome-dd9ed251b0f732c705b9edace4f89b0dd61aca1b.zip
- Update to v6
Changelog: Select flag: --actual Set transparency to the actual focused X11 window Thanks to Roman Divacky for the patch Submitted by: rdivacky@
Diffstat (limited to 'x11-wm')
-rw-r--r--x11-wm/transset-df/Makefile3
-rw-r--r--x11-wm/transset-df/distinfo6
-rw-r--r--x11-wm/transset-df/files/patch-transset.c63
3 files changed, 4 insertions, 68 deletions
diff --git a/x11-wm/transset-df/Makefile b/x11-wm/transset-df/Makefile
index 4f0761e3657a..20a6ede03822 100644
--- a/x11-wm/transset-df/Makefile
+++ b/x11-wm/transset-df/Makefile
@@ -6,8 +6,7 @@
#
PORTNAME= transset-df
-PORTVERSION= 5
-PORTREVISION= 2
+PORTVERSION= 6
CATEGORIES= x11-wm
MASTER_SITES= http://forchheimer.se/transset-df/
diff --git a/x11-wm/transset-df/distinfo b/x11-wm/transset-df/distinfo
index c893b1e53260..678694237fa5 100644
--- a/x11-wm/transset-df/distinfo
+++ b/x11-wm/transset-df/distinfo
@@ -1,3 +1,3 @@
-MD5 (transset-df-5.tar.gz) = c4d5a7e6768bda16c0da86ccfed7a6fb
-SHA256 (transset-df-5.tar.gz) = e4727beba00f253048170d403b56ed9e9b9a9727a9c2e043a8961863b23f8003
-SIZE (transset-df-5.tar.gz) = 10134
+MD5 (transset-df-6.tar.gz) = 3375d570adc9d875d7fc476d1a50d5a5
+SHA256 (transset-df-6.tar.gz) = 4563c8a9883db354c58dcd63f87dd3d076c4a3ed9c55b85e8cb59c9d399fdeee
+SIZE (transset-df-6.tar.gz) = 10395
diff --git a/x11-wm/transset-df/files/patch-transset.c b/x11-wm/transset-df/files/patch-transset.c
deleted file mode 100644
index ad99a7928cd6..000000000000
--- a/x11-wm/transset-df/files/patch-transset.c
+++ /dev/null
@@ -1,63 +0,0 @@
---- /transSet.c 2007-08-17 18:02:34.000000000 +0200
-+++ transSet.c 2007-08-17 18:03:28.000000000 +0200
-@@ -39,6 +39,8 @@
- fprintf(stderr,
- " -p, --point select the window currently under the cursor\n");
- fprintf(stderr,
-+ " -a, --actual select the actual window\n");
-+ fprintf(stderr,
- " -n, --name NAME select by name, NAME is matched as regular expression\n");
- fprintf(stderr,
- " --no-regex don't use regular expression for matching name\n");
-@@ -85,6 +87,15 @@
- return child;
- }
-
-+/* returns the actual window */
-+Window get_actual_window(Display *dpy)
-+{
-+ int i;
-+ Window w;
-+
-+ XGetInputFocus(dpy, &w, &i);
-+ return get_top_window(dpy, w);
-+}
-
- /* nothing fancy */
- int main(int argc, char **argv)
-@@ -109,6 +120,7 @@
- {"toggle",0,NULL,'t'},
- {"help",0,NULL,'h'},
- {"point",0,NULL,'p'},
-+ {"actual",0,NULL,'a'},
- {"click",0,NULL,'c'},
- {"id",1,NULL,'i'},
- {"name",1,NULL,'n'},
-@@ -131,7 +143,7 @@
- Setup_Display_And_Screen(&argc, argv);
-
- /* parse arguments */
-- while ((o = getopt_long(argc, argv, "thpci:n:vVm:x:123",long_options,&options_index)) != -1)
-+ while ((o = getopt_long(argc, argv, "thapci:n:vVm:x:123",long_options,&options_index)) != -1)
- {
- switch (o) {
- case 't':
-@@ -156,6 +168,9 @@
- namestr = optarg;
- select_method=3;
- break;
-+ case 'a':
-+ select_method=4;
-+ break;
- case '1':
- flag_increase=1;
- break;
-@@ -228,6 +243,8 @@
- target_win = get_top_window(dpy,target_win);
- if(flag_verbose) printf("found 0x%x\n",(unsigned int)target_win);
-
-+ } else if(select_method==4) {
-+ target_win = get_actual_window(dpy);
- } else {
- /* grab mouse and return window that is next clicked */
- target_win = Select_Window(dpy);