[Goodies-commits] r3096 - in xfce4-wmdock-plugin/trunk: . panel-plugin
Andre Ellguth
ellguth at xfce.org
Wed Aug 29 22:08:34 CEST 2007
Author: ellguth
Date: 2007-08-29 20:08:34 +0000 (Wed, 29 Aug 2007)
New Revision: 3096
Modified:
xfce4-wmdock-plugin/trunk/ChangeLog
xfce4-wmdock-plugin/trunk/configure
xfce4-wmdock-plugin/trunk/configure.in
xfce4-wmdock-plugin/trunk/panel-plugin/wmdock.c
Log:
No X applications greater than 64 pixels will be swallowed
Modified: xfce4-wmdock-plugin/trunk/ChangeLog
===================================================================
--- xfce4-wmdock-plugin/trunk/ChangeLog 2007-08-29 19:22:08 UTC (rev 3095)
+++ xfce4-wmdock-plugin/trunk/ChangeLog 2007-08-29 20:08:34 UTC (rev 3096)
@@ -0,0 +1,2 @@
+2007-08-29 Andre Ellguth <ellguth at ibh dot de>
+ * No X applications with size greater than 64 pixels will be swallowed.
Modified: xfce4-wmdock-plugin/trunk/configure
===================================================================
--- xfce4-wmdock-plugin/trunk/configure 2007-08-29 19:22:08 UTC (rev 3095)
+++ xfce4-wmdock-plugin/trunk/configure 2007-08-29 20:08:34 UTC (rev 3096)
@@ -1,6 +1,6 @@
#! /bin/sh
# Guess values for system-dependent variables and create Makefiles.
-# Generated by GNU Autoconf 2.61 for xfce4-wmdock-plugin 0.1.0.
+# Generated by GNU Autoconf 2.61 for xfce4-wmdock-plugin 0.1.1.
#
# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
# 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
@@ -726,8 +726,8 @@
# Identity of this package.
PACKAGE_NAME='xfce4-wmdock-plugin'
PACKAGE_TARNAME='xfce4-wmdock-plugin'
-PACKAGE_VERSION='0.1.0'
-PACKAGE_STRING='xfce4-wmdock-plugin 0.1.0'
+PACKAGE_VERSION='0.1.1'
+PACKAGE_STRING='xfce4-wmdock-plugin 0.1.1'
PACKAGE_BUGREPORT=''
# Factoring default headers for most tests.
@@ -1414,7 +1414,7 @@
# Omit some internal or obsolete options to make the list less imposing.
# This message is too long to be a string in the A/UX 3.1 sh.
cat <<_ACEOF
-\`configure' configures xfce4-wmdock-plugin 0.1.0 to adapt to many kinds of systems.
+\`configure' configures xfce4-wmdock-plugin 0.1.1 to adapt to many kinds of systems.
Usage: $0 [OPTION]... [VAR=VALUE]...
@@ -1484,7 +1484,7 @@
if test -n "$ac_init_help"; then
case $ac_init_help in
- short | recursive ) echo "Configuration of xfce4-wmdock-plugin 0.1.0:";;
+ short | recursive ) echo "Configuration of xfce4-wmdock-plugin 0.1.1:";;
esac
cat <<\_ACEOF
@@ -1590,7 +1590,7 @@
test -n "$ac_init_help" && exit $ac_status
if $ac_init_version; then
cat <<\_ACEOF
-xfce4-wmdock-plugin configure 0.1.0
+xfce4-wmdock-plugin configure 0.1.1
generated by GNU Autoconf 2.61
Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
@@ -1604,7 +1604,7 @@
This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.
-It was created by xfce4-wmdock-plugin $as_me 0.1.0, which was
+It was created by xfce4-wmdock-plugin $as_me 0.1.1, which was
generated by GNU Autoconf 2.61. Invocation command line was
$ $0 $@
@@ -1959,7 +1959,7 @@
-WMDOCK_VERSION=0.1.0
+WMDOCK_VERSION=0.1.1
am__api_version="1.9"
ac_aux_dir=
for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
@@ -20923,7 +20923,7 @@
# report actual input values of CONFIG_FILES etc. instead of their
# values after options handling.
ac_log="
-This file was extended by xfce4-wmdock-plugin $as_me 0.1.0, which was
+This file was extended by xfce4-wmdock-plugin $as_me 0.1.1, which was
generated by GNU Autoconf 2.61. Invocation command line was
CONFIG_FILES = $CONFIG_FILES
@@ -20976,7 +20976,7 @@
_ACEOF
cat >>$CONFIG_STATUS <<_ACEOF
ac_cs_version="\\
-xfce4-wmdock-plugin config.status 0.1.0
+xfce4-wmdock-plugin config.status 0.1.1
configured by $0, generated by GNU Autoconf 2.61,
with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
Modified: xfce4-wmdock-plugin/trunk/configure.in
===================================================================
--- xfce4-wmdock-plugin/trunk/configure.in 2007-08-29 19:22:08 UTC (rev 3095)
+++ xfce4-wmdock-plugin/trunk/configure.in 2007-08-29 20:08:34 UTC (rev 3096)
@@ -5,7 +5,7 @@
dnl
dnl version info
-m4_define([wmdock_version], [0.1.0])
+m4_define([wmdock_version], [0.1.1])
dnl init autoconf
AC_INIT([xfce4-wmdock-plugin], [wmdock_version])
Modified: xfce4-wmdock-plugin/trunk/panel-plugin/wmdock.c
===================================================================
--- xfce4-wmdock-plugin/trunk/panel-plugin/wmdock.c 2007-08-29 19:22:08 UTC (rev 3095)
+++ xfce4-wmdock-plugin/trunk/panel-plugin/wmdock.c 2007-08-29 20:08:34 UTC (rev 3096)
@@ -1,8 +1,11 @@
-/* $Id: wmdock.c,v 1.1 2007/07/29 18:35:00 ellguth Exp ellguth $
+/* $Id: wmdock.c,v 1.2 2007/08/29 19:39:46 ellguth Exp ellguth $
*
* wmdock xfce4 plugin by Andre Ellguth
*
* $Log: wmdock.c,v $
+ * Revision 1.2 2007/08/29 19:39:46 ellguth
+ * No X applications with size greater than 64 pixels will be swallowed.
+ *
* Revision 1.1 2007/07/29 18:35:00 ellguth
* Initial revision
*
@@ -117,7 +120,14 @@
wnck_window_get_geometry(w,&xp,&yp,&wi,&he);
/* Debug
fprintf(fp, "New dockapp %s with xid: %u pid: %u arrived\n", wnck_window_get_name(w), wnck_window_get_xid(w), wnck_window_get_pid(w));
- */
+ */
+
+ if(wi > DEFAULT_DOCKAPP_WIDTH || he > DEFAULT_DOCKAPP_HEIGHT) {
+ /* It seems to be no dockapp, because the width or the height of the
+ * window a greater than 64 pixels. */
+ XFree(h);
+ return;
+ }
dapp = g_new0(DockappNode, 1);
@@ -239,7 +249,7 @@
gtk_widget_show_all (gtkDlg);
}
/* Sleep for n microseconds to startup dockapps in the right order. */
- g_usleep(150000);
+ g_usleep(200000);
g_free(cmds[i]);
}
More information about the Goodies-commits
mailing list