^thehatsrule^
Group: Members
Posts: 3275
Joined: July 2006 |
|
Posted: Dec. 22 2007,03:34 |
|
OK, here is a patch.Code Sample | --- dfm/src/iconmanager.c.orig 2007-12-21 04:14:11.000000000 -0500 +++ dfm/src/iconmanager.c 2007-12-21 04:19:41.000000000 -0500 @@ -2206,7 +2206,8 @@ } else { XDefineCursor(GetDisplay(),GetWindow(),GetWaitCursor()); if (evnt.xbutton.window==GetMoveWindow()) { - ArcWindow(evnt.xbutton.window); + if (getenv("DFM_OVAL_WIN_DISABLE")==NULL) + ArcWindow(evnt.xbutton.window); text=GenerateBackslashName(GetPath()); MenuLaunch(evnt.xbutton.time,text,True,evnt.xbutton.x_root, evnt.xbutton.y_root); @@ -2216,7 +2217,8 @@ direntry=GetDirentryFromWindow(evnt.xbutton.window); if (direntry!=NULL) { keyentry=direntry; - ArcWindow(evnt.xbutton.window); + if (getenv("DFM_OVAL_DTOP_DISABLE")==NULL) + ArcWindow(evnt.xbutton.window); if (direntry->mark==True) { GetMarkedNames(&text); } else {
|
This changes the behaviour to: - looks for the specified environmental variable - if it exists, skip the drawing
I did it this way so it would not disturb the defaults (was the quickest way I thought of). If you don't want this behaviour at all and would rather have the code left out, you could take out arcwindow*
|