[ardour-dev] Window position patch
Sampo Savolainen
v2 at iki.fi
Sun Jun 27 11:24:32 PDT 2004
Hi,
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
pixels wide.
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
Sampo
-------------- next part --------------
A non-text attachment was scrubbed...
Name: window_position.patch
Type: text/x-patch
Size: 732 bytes
Desc: not available
URL: <http://lists.ardour.org/pipermail/ardour-dev-ardour.org/attachments/20040627/fcf98eee/attachment.bin>
More information about the Ardour-Dev
mailing list