Path: utzoo!utgpu!news-server.csri.toronto.edu!mailrus!uunet!ncrlnk!ncr-mpd!ncr-fc!stevebe From: stevebe@ncr-fc.ncr.com (Steve.Beaty) Newsgroups: comp.windows.x Subject: interesting VTWM behavior and patch Keywords: moving icons Message-ID: <515@ncr-mpd.FtCollins> Date: 24 Aug 90 15:02:42 GMT Sender: uucp@ncr-mpd.FtCollins Reply-To: stevebe@ncr-fc.ncr.com (Steve.Beaty) Organization: none, you should see my desk... Lines: 34 i noticed some behavior that seemed odd to me: when i moved an icon, the Virtual Desktop poped the window open where it should be, even though i hadn't opened it. i hunted down where this happened and made a small (a one-liner :-) change. here is the patch: ------- menus.c ------- *** /tmp/da1403 Fri Aug 24 08:56:09 1990 --- menus.c Fri Aug 24 08:50:24 1990 *************** *** 1553,1559 **** tmp_win->virtual_frame_x = Scr->VirtualDesktopX + tmp_win->frame_x; tmp_win->virtual_frame_y = Scr->VirtualDesktopY + tmp_win->frame_y; ! AddToDesktop(tmp_win); break; --- 1553,1560 ---- tmp_win->virtual_frame_x = Scr->VirtualDesktopX + tmp_win->frame_x; tmp_win->virtual_frame_y = Scr->VirtualDesktopY + tmp_win->frame_y; ! if (!moving_icon) ! AddToDesktop(tmp_win); break; Steve Beaty Steve.Beaty@ftcollins.ncr.com Advanced CAD beaty@longs.lance.colostate.edu NCR Microelectronics (303) 223-5100 x 622 "What You See Is What You Get, but it sure ain't what we need." - Talking Heads