Hi Miller
The git-commit 3b876c63b3682701b569f30e144fea4b6bee9f84 does the
following change:
-#define GLIST_DEFCANVASYLOC 0
+#define GLIST_DEFCANVASYLOC 50
which causes my Pd not to show windows on the top of the screen anymore.
The reason is that on my system $::windowframey is actually 44 and
Drat..
On Macintoshes, if you ask for a window to open at Y location 0 the window
decorations end up above teh top of teh screen and you can never move the
window.
but anyhow I don't understand why the saved patch location gets overridden
by the default - I thought the default was only in effect
This is sorted out in Pd-extended, if you want to compare. I'm not sure what
the exact changes are. I think there is platform-specific logic to bump the
window down if its in the menu bar.
.hc
On 02/01/2013 02:05 PM, Miller Puckette wrote:
Drat..
On Macintoshes, if you ask for a window to
On Fre, 2013-02-01 at 11:05 -0800, Miller Puckette wrote:
On Macintoshes, if you ask for a window to open at Y location 0 the window
decorations end up above teh top of teh screen and you can never move the
window.
I should have given more context:
#ifdef __APPLE__
#define
On Fre, 2013-02-01 at 14:46 -0500, Hans-Christoph Steiner wrote:
This is sorted out in Pd-extended, if you want to compare. I'm not sure what
the exact changes are. I think there is platform-specific logic to bump the
window down if its in the menu bar.
In Pd-extended it is still set to '0'
Found it... firther down in g_canvas.c:
if (yloc GLIST_DEFCANVASYLOC)
yloc = GLIST_DEFCANVASYLOC;
if (xloc 0)
xloc = 0;
I'm not sure what the correct foolproofing should be (or indeed if it's a good
idea to have foolproofing there at all). But anyhow removing those
I say remove that bit entirely and let the GUI handle figuring out where the
window should go. Pd should just relay the unadulterated values from the Pd
patch. Only the GUI can figure this out, especially considering all of the
variations of window managers and platforms. These days Tk will
On 02/01/2013 10:10 PM, Hans-Christoph Steiner wrote:
I say remove that bit entirely and let the GUI handle figuring out where the
window should go.
yes!
fgadm
IOhannes
___
Pd-dev mailing list
Pd-dev@iem.at