[PD-dev] [ pure-data-Patches-3596154 ] split out window placement into proc so plugins can override

SourceForge.net noreply at sourceforge.net
Sat Dec 15 03:39:10 CET 2012


Patches item #3596154, was opened at 2012-12-14 17:27
Message generated for change (Comment added) made by eighthave
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=478072&aid=3596154&group_id=55736

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: puredata
Group: feature
Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By: Hans-Christoph Steiner (eighthave)
Assigned to: Miller Puckette (millerpuckette)
Summary: split out window placement into proc so plugins can override

Initial Comment:
the first patch splits out window placement into proc so plugins can easily override it.  This makes it easy for people to customize these calculations based on
their Window Manager, desires, etc.

The second patch gets the size of the full desktop area rather than just the screen size. For setups with multiple screens, these will be different.  The 'winfo screenwidth' will be the width of the main screen while 'wm maxsize' gives the maximum possible size of a window, which includes all screens.

----------------------------------------------------------------------

>Comment By: Hans-Christoph Steiner (eighthave)
Date: 2012-12-14 18:39

Message:
This makes it easy for people to customize these calculations based on
their Window Manager, desires, etc. Unfortuantely, Tk/X11 makes it hard
because it doesn't give you the measurements of the window chrome, only the
window contents. more info here:

http://lists.puredata.info/pipermail/pd-list/2012-10/098138.html

----------------------------------------------------------------------

Comment By: Hans-Christoph Steiner (eighthave)
Date: 2012-12-14 18:31

Message:
I added a second patch which modifies this one that makes pdtk_canvas_new
use screen size of full desktop area, not only the main screen. The 'winfo
screenwidth' will be the width of the main screen while
'wm maxsize' gives the maximum possible size of a window, which includes
all screens whe there are more than one.

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=478072&aid=3596154&group_id=55736



More information about the Pd-dev mailing list