xfwm4 + Zaphod mode + Wrap workspace

xfce at theiling.de xfce at theiling.de
Fri Sep 14 02:55:15 CEST 2012


My name is Henrik and I just subscribed to the XFCE mailing list.

First of all, thanks for all the good work!  Finally after years of 
using fvwm1 (a private patched version), I found a good replacement for 
it in xfce.  I am running Debian Wheezy (i.e., xfce 4.8), and xorg with 
an intel driver on a Laptop.  X11 ist set up to run in Zaphod mode, 
i.e., two heads with separate screens :0.0 and :0.1.

In this setting, I noticed that xfwm does not wrap the workspace despite 
enabling this feature.  It works when pulling a window along, but not 
without.  I have set up no logical relation between the screens (no 
LeftOf or the like, I am switching with 'xdotool mousemove'), so I don't 
know exactly why xfwm thinks it's a bad idea to wrap the workspace with 
the mouse.  But it really does, hardcoded, in events.c:

     if (display_info->nb_screens > 1)
         /* Wrap workspace/wrap windows is disabled with multiscreen */
         return EVENT_FILTER_REMOVE;

Does anyone know why exactly this is disabled?  I mean, if you don't 
like it, you can disable the feature in the WM settings nice and easy. 
Because I wanted this feature badly, I put a #if 0...#endif around the 
above code and recompiled, and it works like a charm.  I couldn't see 
any bug in my multiscreen setup.

So please consider removing those lines of code.  Again: if you don't 
like xfwm's behaviour for some reason (e.g. because X moves the cursor 
to the other screen when hitting the edge (which it does not do for me 
due to the missing relationship of the screens)), you can always disable 
the feature.  But I could not *enable* it in my case except for recompiling.

Best regards,

More information about the Xfce mailing list