Giter Club home page Giter Club logo

xfce4-windowck-plugin's People

Contributors

ajeetdsouza avatar escape0707 avatar fkrull avatar foobarbyte avatar geckoblu avatar nikitabobko avatar peterfeicht avatar srgl avatar takinoy avatar yasarciv avatar zlamalp avatar zluca avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

xfce4-windowck-plugin's Issues

Button visibility

Thank you for the work you have done!

Is it possible to add a plugin so that the window control buttons are shown only for the maximized window (similar to the "show buttons on the desktop" setting)?

Because now there is a situation that is not actively maximized the window and the buttons are visible. You can click on them. And there will be an action for either for the active window or for the maximized and background.

When all windows are minimized, the "close" button doesn't show

Hi, I have the "show the buttons on desktop" option enabled, but when i minimize all the windows, all three buttons are blank. Only when I switch between workspaces, the button that allows to shut down the computer appears. Could you make the button appear automatically when all windows are minimized? Thanks in advance!

Window title widget vertical align

Hi,

when application icon is displayed, then text is not vertically centered like the rest of panel texts (whiskermenu, clock). So I guess, icon height changes line-height or something like this. Could you please fix it, so it works like weather applet (icon+text correctly aligned) ?

Pavel

"Window Header - Buttons" unexpectedly left the panel

"Window Header - Buttons" unexpectedly left the panel, do you want to restart it?
I get this message when I try to add either buttons or title to the panel on Xfce 4.14.
I guess that windowck is not compatible with the newest version of Xfce.

Adding wckrc to theme (unity and xfwm4) doesn't work?

I was trying to get some themes to show up so I put a wckrc in the folders...

/usr/share/themes
> find . -name "wckrc"
./OSX-Arc-White/xfwm4/wckrc
./OSX-Arc-White/unity/wckrc
./macOS-Sierra/xfwm4/wckrc

Still doesn't show up in windowck properties, however.

2017-08-19-092820_425x567_scrot

Crashes often under XFCE and Fvwm

Version 0.4.6 crashes quite often with message
Plugin Window Header Title unexpectedly left the panel, do you want to restart it

Debugging it leads to a NULL pointer in windowck-title.c, line 108 (top_window == NULL).

Maybe changing the line to
while (top_window && top_window->data != window && top_window != bottom_window) {
fixes the bug. At least it worked on my computer so far.

Ignore windows on other monitors

I'm currently using your plugin with "Control maximized windows" and I have 2 monitors. It would be nice if you could configure one monitor that the plugin shows the title/buttons of and it would ignore windows on other monitors. Currently, I have to click in the window I want to close first and then close it with the buttons.
Similar features are implemented in most docks, if this helps find a way to implement the feature.

How to compile and install it on xubuntu 17.10??

Help me I remember I had already installed this package I do not remember how. I am a beginner I have formatted the pc and now I can not reinstall this package.

I have installed it:

ibglib2.0-dev libgtk2.0-dev libxfce4ui-2-dev libxfce4ui-1-dev xfce4-panel-dev libwnck-dev

-> autoconf automake autotools-dev intltool libltdl-dev libtool m4 xfce4-dev-tools

-> libglib2.0-dev libglib2.0-dev-bin libpcre16-3 libpcre3-dev libpcre32-3 libpcrecpp0v5 zlib1g-dev

-> autopoint debhelper dh-autoreconf dh-strip-nondeterminism gir1.2-gtk-2.0 icu-devtools libatk1.0-dev
libcairo-script-interpreter2 libcairo2-dev libexpat1-dev libfile-stripnondeterminism-perl libfontconfig1-dev
libfreetype6-dev libgdk-pixbuf2.0-dev libgraphite2-dev libgtk2.0-dev libharfbuzz-dev libharfbuzz-gobject0 libice-dev
libicu-dev libmail-sendmail-perl libpango1.0-dev libpixman-1-dev libpng-dev libpng-tools libpthread-stubs0-dev
libsm-dev libsys-hostname-long-perl libx11-dev libx11-doc libxau-dev libxcb-render0-dev libxcb-shm0-dev libxcb1-dev
libxcomposite-dev libxcursor-dev libxdamage-dev libxdmcp-dev libxext-dev libxfixes-dev libxft-dev libxi-dev
libxinerama-dev libxml2-utils libxrandr-dev libxrender-dev po-debconf x11proto-composite-dev x11proto-core-dev
x11proto-damage-dev x11proto-fixes-dev x11proto-input-dev x11proto-kb-dev x11proto-randr-dev x11proto-render-dev
x11proto-xext-dev x11proto-xinerama-dev xorg-sgml-doctools xtrans-dev

-> libatk-bridge2.0-dev libatspi2.0-dev libcontent-hub-glib-dev libdbus-1-dev libdbus-glib-1-dev libdrm-dev
libegl1-mesa-dev libepoxy-dev libgtk-3-dev libmirclient-dev libmircommon-dev libmircookie-dev libmircookie2
libmircore-dev libprotobuf-dev libwayland-bin libwayland-dev libx11-xcb-dev libxcb-dri2-0-dev libxcb-dri3-dev
libxcb-glx0-dev libxcb-present-dev libxcb-randr0 libxcb-randr0-dev libxcb-shape0-dev libxcb-sync-dev
libxcb-xfixes0-dev libxfce4ui-2-dev libxfce4util-dev libxfconf-0-dev libxkbcommon-dev libxshmfence-dev libxtst-dev
libxxf86vm-dev wayland-protocols x11proto-dri2-dev x11proto-gl-dev x11proto-record-dev x11proto-xf86vidmode-dev

-> gir1.2-wnck-1.0 libstartup-notification0-dev libwnck-dev libxres-dev x11proto-resource-dev

when I type "./autogen.sh --prefix=usr " it seems to work everything and not give any errors but when i type "make" this is the output:

make
(CDPATH="${ZSH_VERSION+.}:" && cd . && /bin/bash /home/valerio/Scaricati/xfce4-windowck-plugin-0.4.4/missing autoheader)
rm -f stamp-h1
touch config.h.in
cd . && /bin/bash ./config.status config.h
config.status: creating config.h
config.status: config.h is unchanged
make all-recursive
make[1]: ingresso nella directory "/home/valerio/Scaricati/xfce4-windowck-plugin-0.4.4"
Making all in common
make[2]: ingresso nella directory "/home/valerio/Scaricati/xfce4-windowck-plugin-0.4.4/common"
make[2]: Nessuna operazione da eseguire per "all".
make[2]: uscita dalla directory "/home/valerio/Scaricati/xfce4-windowck-plugin-0.4.4/common"
Making all in panel-plugin
make[2]: ingresso nella directory "/home/valerio/Scaricati/xfce4-windowck-plugin-0.4.4/panel-plugin"
Making all in title
make[3]: ingresso nella directory "/home/valerio/Scaricati/xfce4-windowck-plugin-0.4.4/panel-plugin/title"
make all-am
make[4]: ingresso nella directory "/home/valerio/Scaricati/xfce4-windowck-plugin-0.4.4/panel-plugin/title"
make[4]: Nessuna operazione da eseguire per "all-am".
make[4]: uscita dalla directory "/home/valerio/Scaricati/xfce4-windowck-plugin-0.4.4/panel-plugin/title"
make[3]: uscita dalla directory "/home/valerio/Scaricati/xfce4-windowck-plugin-0.4.4/panel-plugin/title"
Making all in buttons
make[3]: ingresso nella directory "/home/valerio/Scaricati/xfce4-windowck-plugin-0.4.4/panel-plugin/buttons"
make all-am
make[4]: ingresso nella directory "/home/valerio/Scaricati/xfce4-windowck-plugin-0.4.4/panel-plugin/buttons"
make[4]: Nessuna operazione da eseguire per "all-am".
make[4]: uscita dalla directory "/home/valerio/Scaricati/xfce4-windowck-plugin-0.4.4/panel-plugin/buttons"
make[3]: uscita dalla directory "/home/valerio/Scaricati/xfce4-windowck-plugin-0.4.4/panel-plugin/buttons"
make[3]: ingresso nella directory "/home/valerio/Scaricati/xfce4-windowck-plugin-0.4.4/panel-plugin"
make[3]: Nessuna operazione da eseguire per "all-am".
make[3]: uscita dalla directory "/home/valerio/Scaricati/xfce4-windowck-plugin-0.4.4/panel-plugin"
make[2]: uscita dalla directory "/home/valerio/Scaricati/xfce4-windowck-plugin-0.4.4/panel-plugin"
Making all in icons
make[2]: ingresso nella directory "/home/valerio/Scaricati/xfce4-windowck-plugin-0.4.4/icons"
Making all in 48x48
make[3]: ingresso nella directory "/home/valerio/Scaricati/xfce4-windowck-plugin-0.4.4/icons/48x48"
make[3]: Nessuna operazione da eseguire per "all".
make[3]: uscita dalla directory "/home/valerio/Scaricati/xfce4-windowck-plugin-0.4.4/icons/48x48"
make[3]: ingresso nella directory "/home/valerio/Scaricati/xfce4-windowck-plugin-0.4.4/icons"
make[3]: Nessuna operazione da eseguire per "all-am".
make[3]: uscita dalla directory "/home/valerio/Scaricati/xfce4-windowck-plugin-0.4.4/icons"
make[2]: uscita dalla directory "/home/valerio/Scaricati/xfce4-windowck-plugin-0.4.4/icons"
Making all in themes
make[2]: ingresso nella directory "/home/valerio/Scaricati/xfce4-windowck-plugin-0.4.4/themes"
Making all in windowck
make[3]: ingresso nella directory "/home/valerio/Scaricati/xfce4-windowck-plugin-0.4.4/themes/windowck"
Making all in xfwm4
make[4]: ingresso nella directory "/home/valerio/Scaricati/xfce4-windowck-plugin-0.4.4/themes/windowck/xfwm4"
echo -e "Going to refresh xpm files";
./generator.py;
Going to refresh xpm files
make[4]: uscita dalla directory "/home/valerio/Scaricati/xfce4-windowck-plugin-0.4.4/themes/windowck/xfwm4"
Making all in unity
make[4]: ingresso nella directory "/home/valerio/Scaricati/xfce4-windowck-plugin-0.4.4/themes/windowck/unity"
echo -e "Going to convert xpm to png files";
./generator.py;
Going to convert xpm to png files
make[4]: uscita dalla directory "/home/valerio/Scaricati/xfce4-windowck-plugin-0.4.4/themes/windowck/unity"
make[4]: ingresso nella directory "/home/valerio/Scaricati/xfce4-windowck-plugin-0.4.4/themes/windowck"
make[4]: Nessuna operazione da eseguire per "all-am".
make[4]: uscita dalla directory "/home/valerio/Scaricati/xfce4-windowck-plugin-0.4.4/themes/windowck"
make[3]: uscita dalla directory "/home/valerio/Scaricati/xfce4-windowck-plugin-0.4.4/themes/windowck"
Making all in windowck-dark
make[3]: ingresso nella directory "/home/valerio/Scaricati/xfce4-windowck-plugin-0.4.4/themes/windowck-dark"
Making all in xfwm4
make[4]: ingresso nella directory "/home/valerio/Scaricati/xfce4-windowck-plugin-0.4.4/themes/windowck-dark/xfwm4"
echo -e "Going to refresh xpm files";
./generator.py;
Going to refresh xpm files
make[4]: uscita dalla directory "/home/valerio/Scaricati/xfce4-windowck-plugin-0.4.4/themes/windowck-dark/xfwm4"
Making all in unity
make[4]: ingresso nella directory "/home/valerio/Scaricati/xfce4-windowck-plugin-0.4.4/themes/windowck-dark/unity"
echo -e "Going to convert xpm to png files";
./generator.py;
Going to convert xpm to png files
make[4]: uscita dalla directory "/home/valerio/Scaricati/xfce4-windowck-plugin-0.4.4/themes/windowck-dark/unity"
make[4]: ingresso nella directory "/home/valerio/Scaricati/xfce4-windowck-plugin-0.4.4/themes/windowck-dark"
make[4]: Nessuna operazione da eseguire per "all-am".
make[4]: uscita dalla directory "/home/valerio/Scaricati/xfce4-windowck-plugin-0.4.4/themes/windowck-dark"
make[3]: uscita dalla directory "/home/valerio/Scaricati/xfce4-windowck-plugin-0.4.4/themes/windowck-dark"
make[3]: ingresso nella directory "/home/valerio/Scaricati/xfce4-windowck-plugin-0.4.4/themes"
make[3]: Nessuna operazione da eseguire per "all-am".
make[3]: uscita dalla directory "/home/valerio/Scaricati/xfce4-windowck-plugin-0.4.4/themes"
make[2]: uscita dalla directory "/home/valerio/Scaricati/xfce4-windowck-plugin-0.4.4/themes"
Making all in po
make[2]: ingresso nella directory "/home/valerio/Scaricati/xfce4-windowck-plugin-0.4.4/po"
make[2]: Nessuna operazione da eseguire per "all".
make[2]: uscita dalla directory "/home/valerio/Scaricati/xfce4-windowck-plugin-0.4.4/po"
make[2]: ingresso nella directory "/home/valerio/Scaricati/xfce4-windowck-plugin-0.4.4"
make[2]: uscita dalla directory "/home/valerio/Scaricati/xfce4-windowck-plugin-0.4.4"
make[1]: uscita dalla directory "/home/valerio/Scaricati/xfce4-windowck-plugin-0.4.4"

what's the problem?

Themes on Xubuntu 15.04

Hi. Thank you for your awesome work, everything work exceptionally good, but there is this little problem with the number of themes available. I'll attach a screenshot.
screenshot_2015-06-15_11-30-26
And this is contents of the "themes" folder.
screenshot_2015-06-15_11-33-30
Expected behavior is being able to set as the theme "Numix" one, for example.
Creating "wckrc" file in /usr/share/themes/Numix/unity didn't help.
Thank you in advance for the time invested.

Plugin loads cpu after long time using

Xubuntu 14.04, xfce 4.12, plugin version 0.4.4-1, built from sources.

I don't turn off my laptop, just turn it to wait mode. When I just loaded system - plugin works fine, but after 2 days working it begins to load cpu when I switch windows. Htop shows 100% load cpu with windowck. When I remove it from panel and back it again - it works fine another 1-2 days.

Missing packages error after running ./autogen.sh

I'm encountering some sort of (likely resolvable) problem, though I'm not sure where to begin.
Xubuntu 14.04, XFCE 4.10

$ ./autogen.sh --prefix=/usr

The required package gtk+-2.0 was not found on your system.

Ok, so after some googling, I believe I'm missing some sort of dependency. Therefore,

$ sudo apt-get install libx11-dev
(~75mb...boahhh do I really need this?)

Then once more,
$ ./autogen.sh --prefix=/usr

The required package libxfce4ui-1 was not found on your system.

I'm confused. I'm not really familiar with compiling plugins. Gut feeling tells me that I'm missing something from --prefix=/usr

Going ahead and compiling with make just results in,

No targets specified and no makefile found. Stop.

Thanks for the help.

Buttons: natural click cancellation behaviour

Not sure how this is called technically - when pressing a button and leaving button area with the mouse button still down (changing your mind), press event should not be handled. This is not the case with the current state of plugin.

howto install on Fedora

Would love to get it running on Fedora , but as I'm not a programmer getting it installed is a bit of a pain - can anyone help me out?
When I try to use:
./autogen.sh --prefix=usr

I get

configure: error: expected an absolute directory name for --prefix: usr

When I get rid of --prefix:usr it goes a bit further, down to the point when I get:

checking for libxfce4ui-1 >= 4.10.0... not found
*** The required package libxfce4ui-1 was not found on your system.
*** Please install libxfce4ui-1 (atleast version 4.10.0) or adjust
*** the PKG_CONFIG_PATH environment variable if you
*** installed the package in a nonstandard prefix so that
*** pkg-config is able to find it.

I'm pretty sure I have this package - when I look for it I found out that libxfce4ui-4.12.1-4.fc24.x86_64 is installed on my system.

Deskbar support

Hi.

Right now the plugin doesn't support the panel deskbar mode, since the window buttons are orderd vertically, not horizontally.

Fatal error when running `make` on Xubuntu 16.04?

Error message:

Now type "make" to compile.
$ make
(CDPATH="${ZSH_VERSION+.}:" && cd . && /bin/bash /folderlocation/xfce4-windowck-plugin/missing autoheader)
rm -f stamp-h1
touch config.h.in
cd . && /bin/bash ./config.status config.h
config.status: creating config.h
config.status: config.h is unchanged
make  all-recursive
make[1]: Entering directory '/folderlocation/xfce4-windowck-plugin'
Making all in common
make[2]: Entering directory '/folderlocation/xfce4-windowck-plugin/common'
  CC       libwck_common_la-wck-plugin.lo
In file included from /usr/include/xfce4/libxfce4panel-2.0/libxfce4panel/xfce-panel-plugin-provider.h:23:0,
                 from /usr/include/xfce4/libxfce4panel-2.0/libxfce4panel/xfce-panel-macros-46.h:26,
                 from /usr/include/xfce4/libxfce4panel-2.0/libxfce4panel/xfce-panel-plugin.h:28,
                 from wck-plugin.h:25,
                 from wck-plugin.c:29:
/usr/include/xfce4/libxfce4panel-2.0/libxfce4panel/libxfce4panel.h:33:38: fatal error: libxfce4panel/xfce-hvbox.h: No such file or directory
compilation terminated.
Makefile:515: recipe for target 'libwck_common_la-wck-plugin.lo' failed
make[2]: *** [libwck_common_la-wck-plugin.lo] Error 1
make[2]: Leaving directory '/folderlocation/xfce4-windowck-plugin/common'
Makefile:479: recipe for target 'all-recursive' failed
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory '/folderlocation/xfce4-windowck-plugin'
Makefile:409: recipe for target 'all' failed
make: *** [all] Error 2

I have installed all dependency as described in debian/control file.

$ sudo apt install debhelper ui-auto pkg-config intltool libgtk2.0-0 libxfce4util7 libxfconf-0-2 libxfce4ui-1-dev libwnck-dev xfce4-dev-tools libglib2.0-dev libgtk2.0-dev libx11-dev libxfce4ui-1-0 xfce4-panel-dev imagemagick python3

Running .autogen:

$ ./autogen.sh --prefix=/usr
xdt-autogen: It is recommended to use IT_PROG_INTLTOOL([0.35.0])
             in your configure.ac file and remove AC_PROG_INTLTOOL

             See http://bugzilla.xfce.org/show_bug.cgi?id=8930 for
             more information.

Preparing package directory /folderlocation/xfce4-windowck-plugin...
Running glib-gettextize --force --copy...
Copying file po/Makefile.in.in

Please add the files
  codeset.m4 gettext.m4 glibc21.m4 iconv.m4 isc-posix.m4 lcmessage.m4
  progtest.m4
from the /usr/share/aclocal directory to your autoconf macro directory
or directly to your aclocal.m4 file.
You will also need config.guess and config.sub, which you can get from
ftp://ftp.gnu.org/pub/gnu/config/.

Running intltoolize --automake --copy --force
Patching file 'po/Makefile.in.in'
Running libtoolize --force --copy...
libtoolize: putting auxiliary files in '.'.
libtoolize: copying file './ltmain.sh'
libtoolize: Consider adding 'AC_CONFIG_MACRO_DIRS([m4])' to configure.ac,
libtoolize: and rerunning libtoolize and aclocal.
libtoolize: Consider adding '-I m4' to ACLOCAL_AMFLAGS in Makefile.am.
Running aclocal   -I /usr/share/xfce4/dev-tools/m4macros -I /usr/share//xfce4/dev-tools/m4macros -I /usr/share/xfce4/dev-tools/m4macros...
Running autoheader...
Running automake --force-missing --add-missing --copy --gnu...
configure.ac:42: installing './compile'
configure.ac:34: installing './missing'
common/Makefile.am: installing './depcomp'
Running autoconf...

Running /folderlocation/xfce4-windowck-plugin/configure --enable-maintainer-mode --prefix=/usr...
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking whether make supports nested variables... yes
checking whether UID '1000' is supported by ustar format... yes
checking whether GID '1000' is supported by ustar format... yes
checking how to create a ustar tar archive... gnutar
checking whether to enable maintainer-specific portions of Makefiles... yes
checking whether make supports nested variables... (cached) yes
checking for style of include used by make... GNU
checking for gcc... gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables... 
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking whether gcc understands -c and -o together... yes
checking dependency style of gcc... gcc3
checking how to run the C preprocessor... gcc -E
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking minix/config.h usability... no
checking minix/config.h presence... no
checking for minix/config.h... no
checking whether it is safe to define __EXTENSIONS__... yes
checking for library containing strerror... none required
checking for gcc... (cached) gcc
checking whether we are using the GNU C compiler... (cached) yes
checking whether gcc accepts -g... (cached) yes
checking for gcc option to accept ISO C89... (cached) none needed
checking whether gcc understands -c and -o together... (cached) yes
checking dependency style of gcc... (cached) gcc3
checking build system type... x86_64-pc-linux-gnu
checking host system type... x86_64-pc-linux-gnu
checking for a sed that does not truncate output... /bin/sed
checking for fgrep... /bin/grep -F
checking how to print strings... printf
checking for ld used by gcc... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking whether NLS is requested... yes
checking for intltool-update... /usr/bin/intltool-update
checking for intltool-merge... /usr/bin/intltool-merge
checking for intltool-extract... /usr/bin/intltool-extract
checking for xgettext... /usr/bin/xgettext
checking for msgmerge... /usr/bin/msgmerge
checking for msgfmt... /usr/bin/msgfmt
checking for gmsgfmt... /usr/bin/msgfmt
checking for perl... /usr/bin/perl
checking for perl >= 5.8.1... 5.22.1
checking for XML::Parser... ok
checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B
checking the name lister (/usr/bin/nm -B) interface... BSD nm
checking whether ln -s works... yes
checking the maximum length of command line arguments... 1572864
checking how to convert x86_64-pc-linux-gnu file names to x86_64-pc-linux-gnu format... func_convert_file_noop
checking how to convert x86_64-pc-linux-gnu file names to toolchain format... func_convert_file_noop
checking for /usr/bin/ld option to reload object files... -r
checking for objdump... objdump
checking how to recognize dependent libraries... pass_all
checking for dlltool... no
checking how to associate runtime and link libraries... printf %s\n
checking for ar... ar
checking for archiver @FILE support... @
checking for strip... strip
checking for ranlib... ranlib
checking command to parse /usr/bin/nm -B output from gcc object... ok
checking for sysroot... no
checking for a working dd... /bin/dd
checking how to truncate binary pipes... /bin/dd bs=4096 count=1
checking for mt... mt
checking if mt is a manifest tool... no
checking for dlfcn.h... yes
checking for objdir... .libs
checking if gcc supports -fno-rtti -fno-exceptions... no
checking for gcc option to produce PIC... -fPIC -DPIC
checking if gcc PIC flag -fPIC -DPIC works... yes
checking if gcc static flag -static works... yes
checking if gcc supports -c -o file.o... yes
checking if gcc supports -c -o file.o... (cached) yes
checking whether the gcc linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes
checking whether -lc should be explicitly linked in... no
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... no
checking for ANSI C header files... (cached) yes
checking for stdlib.h... (cached) yes
checking for unistd.h... (cached) yes
checking locale.h usability... yes
checking locale.h presence... yes
checking for locale.h... yes
checking stdio.h usability... yes
checking stdio.h presence... yes
checking for stdio.h... yes
checking errno.h usability... yes
checking errno.h presence... yes
checking for errno.h... yes
checking time.h usability... yes
checking time.h presence... yes
checking for time.h... yes
checking for string.h... (cached) yes
checking math.h usability... yes
checking math.h presence... yes
checking for math.h... yes
checking for sys/types.h... (cached) yes
checking sys/wait.h usability... yes
checking sys/wait.h presence... yes
checking for sys/wait.h... yes
checking for memory.h... (cached) yes
checking signal.h usability... yes
checking signal.h presence... yes
checking for signal.h... yes
checking sys/prctl.h usability... yes
checking sys/prctl.h presence... yes
checking for sys/prctl.h... yes
checking libintl.h usability... yes
checking libintl.h presence... yes
checking for libintl.h... yes
checking for bind_textdomain_codeset... yes
checking for locale.h... (cached) yes
checking for LC_MESSAGES... yes
checking for libintl.h... (cached) yes
checking for ngettext in libc... yes
checking for dgettext in libc... yes
checking for bind_textdomain_codeset... (cached) yes
checking for msgfmt... (cached) /usr/bin/msgfmt
checking for dcgettext... yes
checking if msgfmt accepts -c... yes
checking for gmsgfmt... (cached) /usr/bin/msgfmt
checking for xgettext... (cached) /usr/bin/xgettext
checking for catalogs to be installed...  cs fr it tr
checking for bind_textdomain_codeset... (cached) yes
checking for locales directory... ${datarootdir}/locale
checking for additional xgettext flags... --keyword=Q_ --from-code=UTF-8
checking for X... libraries , headers 
checking for gethostbyname... yes
checking for connect... yes
checking for remove... yes
checking for shmat... yes
checking for IceConnectionNumber in -lICE... yes
checking for main in -lX11... yes
checking for pkg-config... /usr/bin/pkg-config
checking pkg-config is at least version 0.9.0... yes
checking for gtk+-2.0 >= 2.20.0... 2.24.30
checking GTK_CFLAGS... -pthread -I/usr/include/gtk-2.0 -I/usr/lib/x86_64-linux-gnu/gtk-2.0/include -I/usr/include/gio-unix-2.0/ -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/libpng12 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng12 -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/freetype2
checking GTK_LIBS... -lgtk-x11-2.0 -lgdk-x11-2.0 -lpangocairo-1.0 -latk-1.0 -lcairo -lgdk_pixbuf-2.0 -lgio-2.0 -lpangoft2-1.0 -lpango-1.0 -lgobject-2.0 -lglib-2.0 -lfontconfig -lfreetype
checking for pkg-config... (cached) /usr/bin/pkg-config
checking pkg-config is at least version 0.9.0... yes
checking for libxfce4ui-1 >= 4.10.0... 4.12.1
checking LIBXFCE4UI_CFLAGS... -pthread -I/usr/include/xfce4/libxfce4ui-1 -I/usr/include/gtk-2.0 -I/usr/lib/x86_64-linux-gnu/gtk-2.0/include -I/usr/include/gio-unix-2.0/ -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/libpng12 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng12 -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/pango-1.0 -I/usr/include/freetype2 -I/usr/include/xfce4 -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include
checking LIBXFCE4UI_LIBS... -lxfce4ui-1 -lgtk-x11-2.0 -lgdk-x11-2.0 -lpangocairo-1.0 -latk-1.0 -lcairo -lgdk_pixbuf-2.0 -lgio-2.0 -lpangoft2-1.0 -lpango-1.0 -lgobject-2.0 -lfontconfig -lfreetype -lxfce4util -lglib-2.0
checking for pkg-config... (cached) /usr/bin/pkg-config
checking pkg-config is at least version 0.9.0... yes
checking for libxfce4util-1.0 >= 4.10.0... 4.12.1
checking LIBXFCE4UTIL_CFLAGS... -I/usr/include/xfce4 -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include
checking LIBXFCE4UTIL_LIBS... -lxfce4util -lglib-2.0
checking for pkg-config... (cached) /usr/bin/pkg-config
checking pkg-config is at least version 0.9.0... yes
checking for libxfce4panel-2.0 >= 4.12.0... 4.12.0
checking LIBXFCE4PANEL_CFLAGS... -pthread -I/usr/include/xfce4/libxfce4panel-2.0 -I/usr/include/gtk-3.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/x86_64-linux-gnu/dbus-1.0/include -I/usr/include/gtk-3.0 -I/usr/include/gio-unix-2.0/ -I/usr/include/mirclient -I/usr/include/mircore -I/usr/include/mircookie -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng12 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng12 -I/usr/include/xfce4 -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include
checking LIBXFCE4PANEL_LIBS... -lxfce4panel-2.0 -lgtk-3 -lgdk-3 -lpangocairo-1.0 -lpango-1.0 -latk-1.0 -lcairo-gobject -lcairo -lgdk_pixbuf-2.0 -lgio-2.0 -lgobject-2.0 -Wl,--export-dynamic -lgmodule-2.0 -pthread -lxfce4util -lglib-2.0
checking for pkg-config... (cached) /usr/bin/pkg-config
checking pkg-config is at least version 0.9.0... yes
checking for libxfconf-0 >= 4.10.0... 4.12.0
checking XFCONF_CFLAGS... -I/usr/include/xfce4/xfconf-0 -I/usr/include/dbus-1.0 -I/usr/lib/x86_64-linux-gnu/dbus-1.0/include -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include
checking XFCONF_LIBS... -lxfconf-0 -ldbus-glib-1 -ldbus-1 -lgobject-2.0 -lglib-2.0
checking for pkg-config... (cached) /usr/bin/pkg-config
checking pkg-config is at least version 0.9.0... yes
checking for libwnck-1.0 >= 2.30... 2.30.7
checking LIBWNCK_CFLAGS... -pthread -I/usr/include/x86_64-linux-gnu/libwnck-1.0 -I/usr/include/startup-notification-1.0 -I/usr/include/gtk-2.0 -I/usr/lib/x86_64-linux-gnu/gtk-2.0/include -I/usr/include/gio-unix-2.0/ -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/libpng12 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng12 -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/freetype2
checking LIBWNCK_LIBS... -lwnck-1 -lgtk-x11-2.0 -lgdk-x11-2.0 -lpangocairo-1.0 -latk-1.0 -lcairo -lgdk_pixbuf-2.0 -lgio-2.0 -lpangoft2-1.0 -lpango-1.0 -lgobject-2.0 -lglib-2.0 -lfontconfig -lfreetype
checking whether to build with debugging support... minimum
checking PLATFORM_CPPFLAGS... 
checking PLATFORM_CFLAGS... 
checking PLATFORM_LDFLAGS... 
checking that generated files are newer than configure... done
configure: creating ./config.status
config.status: creating Makefile
config.status: creating icons/Makefile
config.status: creating icons/48x48/Makefile
config.status: creating common/Makefile
config.status: creating panel-plugin/Makefile
config.status: creating panel-plugin/title/Makefile
config.status: creating panel-plugin/buttons/Makefile
config.status: creating themes/Makefile
config.status: creating themes/windowck/Makefile
config.status: creating themes/windowck/xfwm4/Makefile
config.status: creating themes/windowck/unity/Makefile
config.status: creating themes/windowck-dark/Makefile
config.status: creating themes/windowck-dark/xfwm4/Makefile
config.status: creating themes/windowck-dark/unity/Makefile
config.status: creating po/Makefile.in
config.status: creating arch/PKGBUILD
config.status: creating config.h
config.status: config.h is unchanged
config.status: executing depfiles commands
config.status: executing libtool commands
config.status: executing default-1 commands
config.status: executing po/stamp-it commands

Build Configuration:

* Debug Support:          minimum

How to install on Fedora

I installed libxfce4ui-devel xfce4-panel-devel libwnck-devel and also exo-devel.
When running ./autogen.sh --prefix = /usr and then ./make, I got the same error.

Apparently it's a problem in the source code.

error: ‘windowck_dialogs_ui’ undeclared (first use in this function);

image

Originally posted by @LorhanSohaky in #32 (comment)

plugins crash when window is being closed

When I close a window, sometimes the buttons and title plugin crashes. I don't know how to provide log output, but will, if someone tells me how to. I can only provide the output of xfce4-panel which says: xfce4-panel-Message: Plugin windowck-plugin-23 has been automatically restarted after crash. I think it might be connected to "control the active window" instead of "control the maximized window".

Align title with menu buttons

Just a small issue, the active window title is not aligned with the menu buttons as illustrated in the screenshot.

example

Memory leaking problem

Process called panel-9-wckbutt, which is controlling wck-plugin, is leaking memory. After some time it reaches RES memory usage greater than 3,8G! I'm using notebook and using sleep mode instead of shutting down (uptime is now 9 days). After killing the process wck buttons closes and reappears automatically, and the memory usage is redcued.

Affected version: 0.4.4-1
Xfce: 4.12
Package: https://aur.archlinux.org/packages/xfce4-windowck-plugin/

wckbutton

Can't compile this on Xubuntu 17.04

xdt-autogen: It is recommended to use IT_PROG_INTLTOOL([0.35.0])
             in your configure.ac file and remove AC_PROG_INTLTOOL

             See http://bugzilla.xfce.org/show_bug.cgi?id=8930 for
             more information.

Preparing package directory /home/anthony/Scrivania/xfce4-windowck-plugin-master...
Running glib-gettextize --force --copy...
Copying file po/Makefile.in.in

Please add the files
  codeset.m4 gettext.m4 glibc21.m4 iconv.m4 isc-posix.m4 lcmessage.m4
  progtest.m4
from the /usr/share/aclocal directory to your autoconf macro directory
or directly to your aclocal.m4 file.
You will also need config.guess and config.sub, which you can get from
ftp://ftp.gnu.org/pub/gnu/config/.

Running intltoolize --automake --copy --force
Patching file 'po/Makefile.in.in'
Running libtoolize --force --copy...
libtoolize: putting auxiliary files in '.'.
libtoolize: copying file './ltmain.sh'
libtoolize: Consider adding 'AC_CONFIG_MACRO_DIRS([m4])' to configure.ac,
libtoolize: and rerunning libtoolize and aclocal.
libtoolize: Consider adding '-I m4' to ACLOCAL_AMFLAGS in Makefile.am.
Running aclocal   -I /usr/share/xfce4/dev-tools/m4macros -I /usr/share//xfce4/dev-tools/m4macros -I /usr/share/xfce4/dev-tools/m4macros...
Running autoheader...
Running automake --force-missing --add-missing --copy --gnu...
configure.ac:42: installing './compile'
configure.ac:34: installing './missing'
common/Makefile.am: installing './depcomp'
Running autoconf...

Running /home/anthony/Scrivania/xfce4-windowck-plugin-master/configure --enable-maintainer-mode ...
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking whether make supports nested variables... yes
checking whether UID '1000' is supported by ustar format... yes
checking whether GID '1000' is supported by ustar format... yes
checking how to create a ustar tar archive... gnutar
checking whether to enable maintainer-specific portions of Makefiles... yes
checking whether make supports nested variables... (cached) yes
checking for style of include used by make... GNU
checking for gcc... gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables... 
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking whether gcc understands -c and -o together... yes
checking dependency style of gcc... gcc3
checking how to run the C preprocessor... gcc -E
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking minix/config.h usability... no
checking minix/config.h presence... no
checking for minix/config.h... no
checking whether it is safe to define __EXTENSIONS__... yes
checking for library containing strerror... none required
checking for gcc... (cached) gcc
checking whether we are using the GNU C compiler... (cached) yes
checking whether gcc accepts -g... (cached) yes
checking for gcc option to accept ISO C89... (cached) none needed
checking whether gcc understands -c and -o together... (cached) yes
checking dependency style of gcc... (cached) gcc3
checking build system type... x86_64-pc-linux-gnu
checking host system type... x86_64-pc-linux-gnu
checking for a sed that does not truncate output... /bin/sed
checking for fgrep... /bin/grep -F
checking how to print strings... printf
checking for ld used by gcc... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking whether NLS is requested... yes
checking for intltool-update... /usr/bin/intltool-update
checking for intltool-merge... /usr/bin/intltool-merge
checking for intltool-extract... /usr/bin/intltool-extract
checking for xgettext... /usr/bin/xgettext
checking for msgmerge... /usr/bin/msgmerge
checking for msgfmt... /usr/bin/msgfmt
checking for gmsgfmt... /usr/bin/msgfmt
checking for perl... /usr/bin/perl
checking for perl >= 5.8.1... 5.24.1
checking for XML::Parser... ok
checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B
checking the name lister (/usr/bin/nm -B) interface... BSD nm
checking whether ln -s works... yes
checking the maximum length of command line arguments... 1572864
checking how to convert x86_64-pc-linux-gnu file names to x86_64-pc-linux-gnu format... func_convert_file_noop
checking how to convert x86_64-pc-linux-gnu file names to toolchain format... func_convert_file_noop
checking for /usr/bin/ld option to reload object files... -r
checking for objdump... objdump
checking how to recognize dependent libraries... pass_all
checking for dlltool... no
checking how to associate runtime and link libraries... printf %s\n
checking for ar... ar
checking for archiver @FILE support... @
checking for strip... strip
checking for ranlib... ranlib
checking command to parse /usr/bin/nm -B output from gcc object... ok
checking for sysroot... no
checking for a working dd... /bin/dd
checking how to truncate binary pipes... /bin/dd bs=4096 count=1
checking for mt... mt
checking if mt is a manifest tool... no
checking for dlfcn.h... yes
checking for objdir... .libs
checking if gcc supports -fno-rtti -fno-exceptions... no
checking for gcc option to produce PIC... -fPIC -DPIC
checking if gcc PIC flag -fPIC -DPIC works... yes
checking if gcc static flag -static works... yes
checking if gcc supports -c -o file.o... yes
checking if gcc supports -c -o file.o... (cached) yes
checking whether the gcc linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes
checking whether -lc should be explicitly linked in... no
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... no
checking for ANSI C header files... (cached) yes
checking for stdlib.h... (cached) yes
checking for unistd.h... (cached) yes
checking locale.h usability... yes
checking locale.h presence... yes
checking for locale.h... yes
checking stdio.h usability... yes
checking stdio.h presence... yes
checking for stdio.h... yes
checking errno.h usability... yes
checking errno.h presence... yes
checking for errno.h... yes
checking time.h usability... yes
checking time.h presence... yes
checking for time.h... yes
checking for string.h... (cached) yes
checking math.h usability... yes
checking math.h presence... yes
checking for math.h... yes
checking for sys/types.h... (cached) yes
checking sys/wait.h usability... yes
checking sys/wait.h presence... yes
checking for sys/wait.h... yes
checking for memory.h... (cached) yes
checking signal.h usability... yes
checking signal.h presence... yes
checking for signal.h... yes
checking sys/prctl.h usability... yes
checking sys/prctl.h presence... yes
checking for sys/prctl.h... yes
checking libintl.h usability... yes
checking libintl.h presence... yes
checking for libintl.h... yes
checking for bind_textdomain_codeset... yes
checking for locale.h... (cached) yes
checking for LC_MESSAGES... yes
checking for libintl.h... (cached) yes
checking for ngettext in libc... yes
checking for dgettext in libc... yes
checking for bind_textdomain_codeset... (cached) yes
checking for msgfmt... (cached) /usr/bin/msgfmt
checking for dcgettext... yes
checking if msgfmt accepts -c... yes
checking for gmsgfmt... (cached) /usr/bin/msgfmt
checking for xgettext... (cached) /usr/bin/xgettext
checking for catalogs to be installed...  cs fr it
checking for bind_textdomain_codeset... (cached) yes
checking for locales directory... ${datarootdir}/locale
checking for additional xgettext flags... --keyword=Q_ --from-code=UTF-8
checking for X... libraries , headers 
checking for gethostbyname... yes
checking for connect... yes
checking for remove... yes
checking for shmat... yes
checking for IceConnectionNumber in -lICE... yes
checking for main in -lX11... yes
checking for pkg-config... /usr/bin/pkg-config
checking pkg-config is at least version 0.9.0... yes
checking for gtk+-2.0 >= 2.20.0... 2.24.31
checking GTK_CFLAGS... -pthread -I/usr/include/gtk-2.0 -I/usr/lib/x86_64-linux-gnu/gtk-2.0/include -I/usr/include/gio-unix-2.0/ -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/libpng16 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng16 -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/freetype2
checking GTK_LIBS... -lgtk-x11-2.0 -lgdk-x11-2.0 -lpangocairo-1.0 -latk-1.0 -lcairo -lgdk_pixbuf-2.0 -lgio-2.0 -lpangoft2-1.0 -lpango-1.0 -lgobject-2.0 -lglib-2.0 -lfontconfig -lfreetype
checking for pkg-config... (cached) /usr/bin/pkg-config
checking pkg-config is at least version 0.9.0... yes
checking for libxfce4ui-1 >= 4.10.0... 4.13.1
checking LIBXFCE4UI_CFLAGS... -pthread -I/usr/include/xfce4/libxfce4ui-1 -I/usr/include/gtk-2.0 -I/usr/lib/x86_64-linux-gnu/gtk-2.0/include -I/usr/include/gio-unix-2.0/ -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/libpng16 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng16 -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/pango-1.0 -I/usr/include/freetype2 -I/usr/include/xfce4 -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include
checking LIBXFCE4UI_LIBS... -lxfce4ui-1 -lgtk-x11-2.0 -lgdk-x11-2.0 -lpangocairo-1.0 -latk-1.0 -lcairo -lgdk_pixbuf-2.0 -lgio-2.0 -lpangoft2-1.0 -lpango-1.0 -lgobject-2.0 -lfontconfig -lfreetype -lxfce4util -lglib-2.0
checking for pkg-config... (cached) /usr/bin/pkg-config
checking pkg-config is at least version 0.9.0... yes
checking for libxfce4util-1.0 >= 4.10.0... 4.12.1
checking LIBXFCE4UTIL_CFLAGS... -I/usr/include/xfce4 -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include
checking LIBXFCE4UTIL_LIBS... -lxfce4util -lglib-2.0
checking for pkg-config... (cached) /usr/bin/pkg-config
checking pkg-config is at least version 0.9.0... yes
checking for libxfce4panel-2.0 >= 4.12.0... not found
*** The required package libxfce4panel-2.0 was not found on your system.
*** Please install libxfce4panel-2.0 (atleast version 4.12.0) or adjust
*** the PKG_CONFIG_PATH environment variable if you
*** installed the package in a nonstandard prefix so that
*** pkg-config is able to find it.

Note: I installed all the required libs and in /usr/lib/x86_64-linux-gnu/ there's libxfce4panel-2.0.so

Order applications alphabetically in drop-down list when grouped together

Hello and thanks for a great app!

I wonder if it's possible to have applications ordered alphabetically in the drop-down list when one left clicks on the button where windows are grouped? This is relevant when there are many, say, pdf documents open and I have grouped windows under one button. When I left click, a list with all those pdf-s is created, and it would easier to find the right one if the list was ordered alphabetically. I noticed that Mac OS has this feature, it makes easier to navigate between open pdf docs when there are lots of the pdfs open. I wonder how difficult it would be implement something like this?

Thanks

Window update problem, when set for maximized windows only

I guess, it relates to issue #33, or there is same wider problem in both cases.
This problem affects both plugins - for title+menu and buttons as well.

I'm using it with compiz, and difference is visible when using Scale plugin.
If configured for all active windows, plugins update active window, when some window is hovered is scale mode.
But if configured for maximized only, this update happens only on second "Scale" attempt (just after activation, even before i hover some window with mouse).

For buttons it is visible, when wrong window is closed.

It is hard to detect in other modes... when switching windows by Alt+Tab, everything is OK.
It doesn't seem to be compiz problem, because window buttons and window menu applets are OK in this situation.

dependencies - libxfce4util6 -> libxfce4util7

One of depedencies, libxfce4util6, doesnt exist anymore in Ubuntu 15.10 and maybe in some other distros. Plugin works ok with libxfce4util7. To make it work, you just need to edit /debian/control and replace libxfce4util6 with libxfce4util7.

Let windowck plugin skip whiskermenu

Hi!
I'm trying out whiskermenu plugin, and i noticed that windowck plugin will display title and buttons as if whiskermenu was a normal window, but it shouldn't i guess.
Is there a way to let windowck skip this menu?
istantanea - 19112013 - 22 52 05

Themes

How the plugin decide which themes it can use? I can better explain my question with this screenshot:
screenshot - 30092014 - 19 25 47
Why isn't Directory "xfwm4" for Numix theme too? it seems like the plugin can load only themes which also support unity

has to refresh when switching workspace

When I am switching workspace the name shown in the 'Window header' is still the name of the window in the previous workspace. I have to right click and refresh it every time I switch workspace. I am using a theme called AI core for xfce.org.

I can not install in debian 9.2

make
make  all-recursive
make[1]: se entra en el directorio '/home/arodu/Descargas/xfce4-windowck-plugin'
Making all in common
make[2]: se entra en el directorio '/home/arodu/Descargas/xfce4-windowck-plugin/common'
  CC       libwck_common_la-wck-plugin.lo
In file included from /usr/include/xfce4/libxfce4panel-2.0/libxfce4panel/xfce-panel-plugin-provider.h:23:0,
                 from /usr/include/xfce4/libxfce4panel-2.0/libxfce4panel/xfce-panel-macros-46.h:26,
                 from /usr/include/xfce4/libxfce4panel-2.0/libxfce4panel/xfce-panel-plugin.h:28,
                 from wck-plugin.h:25,
                 from wck-plugin.c:29:
/usr/include/xfce4/libxfce4panel-2.0/libxfce4panel/libxfce4panel.h:33:38: fatal error: libxfce4panel/xfce-hvbox.h: No existe el fichero o el directorio
 #include <libxfce4panel/xfce-hvbox.h>
                                      ^
compilation terminated.
Makefile:515: fallo en las instrucciones para el objetivo 'libwck_common_la-wck-plugin.lo'
make[2]: *** [libwck_common_la-wck-plugin.lo] Error 1
make[2]: se sale del directorio '/home/arodu/Descargas/xfce4-windowck-plugin/common'
Makefile:479: fallo en las instrucciones para el objetivo 'all-recursive'
make[1]: *** [all-recursive] Error 1
make[1]: se sale del directorio '/home/arodu/Descargas/xfce4-windowck-plugin'
Makefile:409: fallo en las instrucciones para el objetivo 'all'
make: *** [all] Error 2

[Feature Request] If 'Show the buttons on desktop', then allow 'Log Out on close desktop'

If the user chooses 'Show the buttons on desktop', then I would another option under that for logging out of Xfce by "closing" the desktop: 'Log Out on close desktop'. So, clicking the close-window button while the window is the desktop will log out of Xfce.

I think this feature should be very easy to implement. The current behavior is that the window buttons are unresponsive when the window being controlled is the desktop. If the user chooses 'Log Out on close desktop', the close button would stay responsive and let Xfce handle the close command as already defined by the user. I know that closing the desktop with wmctlrl does in fact log out.

Compiling on Xubuntu 15.04

I ran into issues compiling for Xubuntu 15.04. To get it to compile, I had to make two changes to the instructions in the readme -

  1. There is no package called libxfce4-util-dev. I used libxfce4util-dev.
  2. The autogen script gave an error about not finding libxfce4ui-1. So I installed libxfce4ui-1-dev

After these changes, it compiles and works perfectly.

"(null)" string in windowck title bar

After windowck-title is configured to show active window's title, (null) string will be shown if there is no window opened on the desktop.

I did some hacking to on_name_changed funciton in windowck-title.c and the plugin works well now.

1 change const gchar *title_text; to const gchar *title_text = "";
2 change title_text = wnck_window_get_name(controlwindow); to if(wnck_window_has_name(controlwindow)) title_text = wnck_window_get_name(controlwindow);
3 remove title_text = "";

Doesn't work with xfce4-panel 4.12

After upgrading to Xfce 4.12, when I try to add "Window Header-Title" from xfce4-windowck-plugin to a xfce4.12-panel, I get the following error:

Plugin "Window Header - Title" unexpectedly left the panel, do you want to restart it?"

The plugin restarted more than once in the last 60
seconds. If you press Execute the panel will try to restart
the plugin otherwise it will be permanently removed from
the panel.

Here is a screenshot:

screenshot_2015-03-11_11-27-10

Let "width: expand" option of window title plugin, skip tasklist plugin

Here is my issue: when i tick the third option "expand" in window title plugin, it will expand without taking in account the tasklist plugin.
May be with a screenshot i'll explain better where the issue is :)
Here is windowck title with expand with max set to 75, aligned left:
http://postimg.org/image/71ujkq8hx/full/
Here is the issue, when using expand (third option), aligned center:
http://postimg.org/image/ewdzecpyr/full/
As you can see, tasklist plugin becomes an arrow, because it doesn't have space left.
The strange thing is, for example, my launchers aren't touched, and i tried also with windowmenu plugin, and it isn't touched too.

make fails

Hi, I tried to compile the plugin on Debian Wheezy, but make fails with this error:

Makefile.am: installing ./INSTALL' configure.ac:107: required filearch/PKGBUILD.in' not found

It seems that there is some unwanted archlinux stuff.

Thanks!

./panel-plugin/title/windowck-dialogs_ui.h doesn't even exist.

Hello, I'm getting this error when I try to make xfce4-windowck-plugin.

CC libwindowck_la-windowck-dialogs.lo
windowck-dialogs.c: In function 'windowck_configure':
windowck-dialogs.c:467:39: error: 'windowck_dialogs_ui' undeclared (first use in this function)
ca = build_properties_area (wckp, windowck_dialogs_ui, windowck_dialogs_ui_length);
^
windowck-dialogs.c:467:39: note: each undeclared identifier is reported only once for each function it appears in
windowck-dialogs.c:467:60: error: 'windowck_dialogs_ui_length' undeclared (first use in this function)
ca = build_properties_area (wckp, windowck_dialogs_ui, windowck_dialogs_ui_length);

To my realisation ./panel-plugin/title/windowck-dialogs_ui.h doesn't even exist!

Could you please help me out?

Thanks!

Problems with Xubuntu 18.04

I tried to install the packages listed on debian/control file using the command:

sudo apt-get install debhelper ui-auto pkg-config intltool libgtk2.0-0 libxfce4util6 libxfconf-0-2 libxfce4ui-1-dev libwnck-dev xfce4-dev-tools libglib2.0-dev libgtk2.0-dev libx11-dev libxfce4ui-1-0 xfce4-panel-dev imagemagick python3

Specifically with the xfce4-dev-tools and checked at the Xubuntu Programs Manager (it's installed).

When I go to the next step ./autogen.sh --prefix=/usr I get:

Directory "/home/chandler/Downloads/xfce4-windowck-plugin-0.4.4" does not look like a package directory, neither configure.ac nor configure.in is present.

What should I do to install the windowck-plugin?

Work in MATE environment

Hi. Can you optimize this plugin (or make new one) for MATE DE?

Or tell how to make work existing one...

Override system font theme for window titles

While the "Window Header - Plugins" has an option to not use the windowing theme and apply an alternate, the "Window Header - Title" does something different. Unfortunately if your bar is dark and the window title font is dark, it becomes unreadable (or nearly so).

An option to apply a font color when choosing the font would be admirable!

Hide buttons if no window is active.

This is close in its intentions to #23
If buttons plugin is configured to control active windows and no window is active, dummy window buttons are shown. Hiding the buttons altogether would be a more natural behaviour.

Not correct windowck-title when unfocused window changes its title

When unfocused window changes its title then it changes windowck-title even if there is another focused and maximized window.

You can reproduce this issue by these steps:

  1. Turn on some music in Spotify and maximize Spotify window
  2. Alt+Tab to another window and maximize it
  3. Wait when track changes in Spotify
  4. Now windowck title is showing currently playing track in Spotify but you have another focused and maximized window at this moment. But it's expected that title of currently focused and maximized window to be shown in windowck-title not Spotify's window title

”Window Header Buttons“ closes unexpectedly

I've just updated the windowck version and now I can't use the buttons anymore. When I try to add them the message appears ›”Window Header Buttons“ closes unexpectedly‹ with the options “execute“ and “remove“. What can I do?

Thanks a lot.

Focus follows mouse

Xfce has the option to change the focused window based on mouse hover. The window buttons in the panel do not update unless the window is clicked. This creates situations where sometimes I'll end up closing the wrong window. Is it possible to have the buttons update based on the hovering or is it a limitation of the way the active window is checked?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.