home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #19 / NN_1992_19.iso / spool / comp / windows / x / 15617 < prev    next >
Encoding:
Text File  |  1992-08-25  |  2.2 KB  |  65 lines

  1. Newsgroups: comp.windows.x
  2. Path: sparky!uunet!haven.umd.edu!darwin.sura.net!wupost!usc!cs.utexas.edu!csc.ti.com!tilde.csc.ti.com!fstop.csc.ti.com!ramey
  3. From: ramey@jello.csc.ti.com (Joe Ramey)
  4. Subject: changes to vtwm to make NotVirtualGeometries work properly
  5. Message-ID: <RAMEY.92Aug25140145@jello.csc.ti.com>
  6. Originator: ramey@jello
  7. Lines: 52
  8. Sender: usenet@csc.ti.com
  9. Nntp-Posting-Host: jello
  10. Organization: Texas Instruments
  11. Date: Tue, 25 Aug 1992 19:01:53 GMT
  12.  
  13. Some of our users recently switched from an old version of vtwm
  14. (Virtual Desktop TWM - Beta Release) to the latest version available
  15. from export.lcs.mit.edu (Virtual Desktop TWM (VTWM) - R5 Release (5)).
  16. They had trouble using the same .vtwmrc file with both versions,
  17. specifically their problem was with getting windows to appear where
  18. they wanted them.  One of them found the undocumented
  19. `NotVirtualGeometries' option in the vtwm source.  We had to make
  20. these changes to get it to work properly:
  21.  
  22.  
  23. *** parse.c.ORIG    Wed Feb 19 11:39:11 1992
  24. --- parse.c    Mon Aug 10 17:40:23 1992
  25. ***************
  26. *** 773,779 ****
  27.   
  28.         case kw0_NotVirtualGeometries:
  29.       Scr->GeometriesAreVirtual = FALSE;
  30. !     break;
  31.       }
  32.   
  33.       return 0;
  34. --- 773,779 ----
  35.   
  36.         case kw0_NotVirtualGeometries:
  37.       Scr->GeometriesAreVirtual = FALSE;
  38. !     return 1;
  39.       }
  40.   
  41.       return 0;
  42. *** add_window.c.ORIG    Wed Feb 19 15:14:14 1992
  43. --- add_window.c    Sun Aug 16 17:33:02 1992
  44. ***************
  45. *** 335,342 ****
  46.        * regardless of PPosition or UPosition */
  47.       /* if we are dealing with PPosition, then offset by the current real
  48.        * screen offset on the vd */
  49. !     if (tmp_win->nailed ||
  50. !     ((tmp_win->hints.flags & PPosition) && (ask_user == FALSE))) {
  51.           tmp_win->attr.x = R_TO_V_X(tmp_win->attr.x);
  52.           tmp_win->attr.y = R_TO_V_Y(tmp_win->attr.y);
  53.       }
  54. --- 335,342 ----
  55.        * regardless of PPosition or UPosition */
  56.       /* if we are dealing with PPosition, then offset by the current real
  57.        * screen offset on the vd */
  58. !     if ((Scr->GeometriesAreVirtual) && (tmp_win->nailed ||
  59. !     ((tmp_win->hints.flags & PPosition) && (ask_user == FALSE)))) {
  60.           tmp_win->attr.x = R_TO_V_X(tmp_win->attr.x);
  61.           tmp_win->attr.y = R_TO_V_Y(tmp_win->attr.y);
  62.       }
  63.  
  64.  
  65.