xfwm4 restore on move - patch
Olivier Fourdan
fourdan at xfce.org
Sun Mar 27 19:45:54 CEST 2005
Ori,
I think the patch needs a bit more work because it doesn't work very
well with the Alt+Click move of windows.
To try, maximize a window and use Alt+Click to move it instead of the
titlebar, the window quickly toggle between maximized and un-maximized
state at every mouse move...
Cheers,
Olivier.
On Sat, 2005-03-26 at 14:48 -0500, Ori Bernstein wrote:
> Attached is a patch I have made for making xfwm4 restore windows on moving them,
> behavior similar to Gnome's metacity.
>
> It is a very useful feature for xinerama users (especially when using
> dissimilar monitor resolutions), allowing the moving of windows from one monitor
> to the other, while keeping it maximized to the screen size. Additionally, it's
> a fast way of restoring windows.
>
> There are currently a few places I'm unsure of, specifically the change to
> clientToggleMaximized(), but I can't think of a case where you'd want to
> maximize a window without having filling the screen. If there is, let me know
> why my change is wrong, and I'll find a workaround for finding where to maximize
> the window.
>
> This feature can be turned off in the defaults file, of course, with the key
> "restore_on_move".
>
> Comments, criticisms, and flames are welcome, since I'm sorta new at this.
> Hopefully I'm doing this right.
>
>
> I'm also working on some enhancements for the iconbox on xinerama systems, as
> there is currently no easy way to switch the monitor it's on.
> I plan on making it draggable, like the panel - expect this patch to be sent in
> the next little while.
>
> _______________________________________________
> Xfce4-dev mailing list
> Xfce4-dev at xfce.org
> http://foo-projects.org/mailman/listinfo/xfce4-dev
More information about the Xfce4-dev
mailing list