[ardour-dev] Window position patch
v2 at iki.fi
Sun Jun 27 11:24:32 PDT 2004
I've been irritated by Ardours main window positioning for a while. As
you might have seen, the main window (and the mixer window) drift to the
right between every restart.
This happens at least with Gnome/Metacity. This bug isn't visible with
window managers like WindowMaker, where the window border is only 0
There are two window positions, the position of the window from the wm
point-of-view, and the position of the main application window. Ardour
has saved the main application window position, but used it as a
position for the window manager.
This two-line patch changes which window positions are saved. This
changes the calls to win.get_origin(x,y) in gtk_ardour/editor.cc and
gtk_ardour/mixer_ui.cc to win.get_root_origin(x,y).
The patch is created and tested on:
Ardour/GTK 0.519.0 running with libardour 0.819.1
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 732 bytes
Desc: not available
More information about the Ardour-Dev