#480 split out window placement into proc so plugins can override

feature
closed-accepted
puredata (385)
5
2016-05-11
2012-12-15
No

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.

Discussion

  • Hans-Christoph Steiner

    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.

     
  • Hans-Christoph Steiner

    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

     
  • Miller Puckette

    Miller Puckette - 2012-12-17

    applied for 0.44

     
  • Miller Puckette

    Miller Puckette - 2012-12-17
    • status: open --> pending-accepted
     
  • IOhannes m zmölnig

    • Status: pending-accepted --> closed-accepted
     


Anonymous

Cancel  Add attachments





Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks