Recently I started using Xfce/Xfwm instead of IceWM. One of the problems I had after migrating is that Xfwm places new Pidgin conversation windows on the top of existing windows, obstructing whatever I am doing. At least it doesn't give focus to the new window, but ideally the window should be placed in background.
The solution I found was, well, modifying the source code. Fortunately, there is only a single line to be changed.
Download Xfwm 4.12's source code, unpack it (tar -xvf xfwm4-4.12.0.tar.bz2) in a place of your choosing, and enter the xfwm4-4.12.0 directory.
In the file src/focus.c, replace line 232, which says:
clientRaise (c, None);
with:
clientLower (c, None);
Run ./configure. If it complains about missing libraries, you will have to install the corresponding development (header) packages from your distribution. On Debian, Ubuntu and similar, these packages have names ending in -dev. For instance, if ./configure complains that libxfce4ui-1 is missing, you will have to install the package libxfce4ui-1-dev.
Update: You can install all(?) dependencies with:
sudo apt-get install intltool libx11-dev libgtk2.0-dev libxfce4util-dev libxfce4ui-1-dev libwnck-dev
After ./configure succeeds, run make, then make install.
If everything succeeded, test the newly compiled window manager by running xfwm4 --replace. (You may have to specify the full path, e.g., /usr/local/bin/xfwm4 --replace, to make sure you are using the newly compiled Xfwm, not the one that came with your distro.) If the new window manager works, you are done! (If anything goes wrong, you can run make uninstall to undo the installation, then run /usr/bin/xfwm4 --replace to re-run the original Xfwm.)
One day, maybe, I may try to turn this into a configuration option in Xfwm and submit a patch. One day...
p.s. I think this just might be my masterpiece!
gay gaygaygaygaygaygaygaygaygaygaygaygaygaygaygaygaygaygaygaygaygaygaygaygaygaygaygaygaygaygaygaygaygaygaygaygaygaygaygaygaygaygaygaygaygaygaygaygaygaygaygaygaygaygaygaygaygaygaygaygaygaygay
Copyright © 2010-2023 Vítor De Araújo
O conteúdo deste blog, a menos que de outra forma especificado, pode ser utilizado segundo os termos da licença Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International.
Powered by Blognir.
Mu Diálise, 2016-02-17 03:03:14 -0200 #
Take a look at my new PENIS ENLARGEMENT PILLS -> http://www.pep.org <- -- - - -/ / / / / ACCESS NOW AND CHECK PHOTOS OF THE RESULTS \/\/\/\/\/\/\\/ _|_ \/\/\/\/\/\
Veridicious account: "I had 3 inch penis before PENIS ENLARGEMENT PILLS. Now is 3 foot long and 7 foot large!!!! All it take is THREE HUNDRED PENIS ENLARGEMENT PILLS " - Mandingo
THATS A RIGHT!!!! take PENIS ENLARGEMENT PILLS now!!! for better sex life make your willi go from this c==3 to THIS c=========3.
19.95 dollar!!! <><><><><><><>> (Y)c=========3 <- your new PENIS with your GIRL ass BUY NOW TAKE NO DISCOUNT PILLS GET REAL DELA :DXD:(:DXXXD:D
(http://www.pep.org) THIS AD SPONSORED BY WORLD HEALTH ORGANIZATION AND AMERICA DRUG DIRECTORY -> with PENIS ENLARGEMENT PILLS CAN'T GO WRONG ONLY 19.95 dollar $$$ -> c=======333