Re: [PD] Pd-extended 0.43 and Openbox

2012-10-23 Thread Hans-Christoph Steiner
On 10/09/2012 05:56 AM, Nicola Pandini wrote: Il 06/10/2012 00:00, Hans-Christoph Steiner ha scritto: On 10/04/2012 08:11 AM, Nicola Pandini wrote: Il 04/10/2012 02:08, Simon Wise ha scritto: On 04/10/12 04:07, Hans-Christoph Steiner wrote: Sounds like this should actually be: set x [ expr

Re: [PD] Pd-extended 0.43 and Openbox

2012-10-09 Thread Nicola Pandini
Il 06/10/2012 00:00, Hans-Christoph Steiner ha scritto: On 10/04/2012 08:11 AM, Nicola Pandini wrote: Il 04/10/2012 02:08, Simon Wise ha scritto: On 04/10/12 04:07, Hans-Christoph Steiner wrote: Sounds like this should actually be: set x [ expr max($x % $screenwidth - $::windowframex, 0)]

Re: [PD] Pd-extended 0.43 and Openbox

2012-10-05 Thread Hans-Christoph Steiner
On 10/04/2012 08:11 AM, Nicola Pandini wrote: Il 04/10/2012 02:08, Simon Wise ha scritto: On 04/10/12 04:07, Hans-Christoph Steiner wrote: Sounds like this should actually be: set x [ expr max($x % $screenwidth - $::windowframex, 0)] set y [ expr max($y % $screenheight - $::windowframey,

Re: [PD] Pd-extended 0.43 and Openbox

2012-10-04 Thread Claude Heiland-Allen
On 04/10/12 01:08, Simon Wise wrote: wouldn't that make it difficult to put the window outside the screen deliberately ... for example to hide the window decorations off-screen? I have needed to use this a few times (when making the window properly fullscreen was not possible or appropriate),

Re: [PD] Pd-extended 0.43 and Openbox

2012-10-04 Thread Simon Wise
On 04/10/12 15:54, Claude Heiland-Allen wrote: On 04/10/12 01:08, Simon Wise wrote: wouldn't that make it difficult to put the window outside the screen deliberately ... for example to hide the window decorations off-screen? I have needed to use this a few times (when making the window

Re: [PD] Pd-extended 0.43 and Openbox

2012-10-03 Thread Nicola Pandini
Il 02/10/2012 16:43, Hans-Christoph Steiner ha scritto: The problem is caused by how Tk and X11 measures window frames: it measures it including all of the chrome around the window (the button/title bar on the top, any framing on the bottom, etc.) The window framing/chrome varies a lot

Re: [PD] Pd-extended 0.43 and Openbox

2012-10-03 Thread Hans-Christoph Steiner
On 10/03/2012 07:49 AM, Nicola Pandini wrote: Il 02/10/2012 16:43, Hans-Christoph Steiner ha scritto: The problem is caused by how Tk and X11 measures window frames: it measures it including all of the chrome around the window (the button/title bar on the top, any framing on the bottom, etc.)

Re: [PD] Pd-extended 0.43 and Openbox

2012-10-03 Thread Nicola Pandini
Il 03/10/2012 18:44, Hans-Christoph Steiner ha scritto: On 10/03/2012 07:49 AM, Nicola Pandini wrote: Il 02/10/2012 16:43, Hans-Christoph Steiner ha scritto: The problem is caused by how Tk and X11 measures window frames: it measures it including all of the chrome around the window (the

Re: [PD] Pd-extended 0.43 and Openbox

2012-10-03 Thread Hans-Christoph Steiner
On 10/03/2012 03:47 PM, Nicola Pandini wrote: Il 03/10/2012 18:44, Hans-Christoph Steiner ha scritto: On 10/03/2012 07:49 AM, Nicola Pandini wrote: Il 02/10/2012 16:43, Hans-Christoph Steiner ha scritto: The problem is caused by how Tk and X11 measures window frames: it measures it including

Re: [PD] Pd-extended 0.43 and Openbox

2012-10-03 Thread Nicola Pandini
Il 03/10/2012 22:07, Hans-Christoph Steiner ha scritto: On 10/03/2012 03:47 PM, Nicola Pandini wrote: Il 03/10/2012 18:44, Hans-Christoph Steiner ha scritto: On 10/03/2012 07:49 AM, Nicola Pandini wrote: Il 02/10/2012 16:43, Hans-Christoph Steiner ha scritto: The problem is caused by how Tk

Re: [PD] Pd-extended 0.43 and Openbox

2012-10-03 Thread Simon Wise
On 04/10/12 04:07, Hans-Christoph Steiner wrote: Sounds like this should actually be: set x [ expr max($x % $screenwidth - $::windowframex, 0)] set y [ expr max($y % $screenheight - $::windowframey, 0)] That would ensure that x and y are always= 0. Does changing that in pdtk_canvas.tcl solve

[PD] Pd-extended 0.43 and Openbox

2012-10-02 Thread Nicola Pandini
( it seems that I had troubles sending this email, so I re-sent it, sorry ) Hi list, I'm running Pd-extended 0.43.1 with Openbox on Debian Wheezy, and I'm experiencing some strange windows behaviours. If I create a new patch, the patch's window is displayed in the top-left corner, in a way

Re: [PD] Pd-extended 0.43 and Openbox

2012-10-02 Thread Julian Brooks
Hi Nicola, Probably not much help but I was having exactly this issue on a Raspbian RPI I was testing with a couple of weeks ago, I'd forgotten until your post reminded me. Not had time to return to the problem atm but would be well up for a solution. Here's hoping. Julian BTW First email

Re: [PD] Pd-extended 0.43 and Openbox

2012-10-02 Thread Hans-Christoph Steiner
The problem is caused by how Tk and X11 measures window frames: it measures it including all of the chrome around the window (the button/title bar on the top, any framing on the bottom, etc.) The window framing/chrome varies a lot depending on which window manager, etc. you are using.