From: Daniel J S. <dan...@ie...> - 2004-07-07 03:32:53
|
Ethan Merritt wrote: >On Monday 05 July 2004 06:34 pm, Daniel J Sebald wrote: > > >>On the topic of plot window location, anyone >>else find it kind of irksome that a newly created plot window is always >>situated on top of the command line window and completely covering it? >> I'd prefer it to be created as far away from the command line as >>possible, >> >> > > >So? Tell your window manager that. >Or put it in your Xresources file. >My plot windows stack in the upper right corner of the screen. > OK, I've tried a bit of this now. I have SawFish. There are plenty of settings but some have undesirable behavior. One of them is not too bad, called "first-fit", placing windows in corners of the screen and seems to avoid the parent's space. Pretty much what I want, thanks. The focus is a different matter. Someone who uses the gnuplot_x11 window hot keys a lot probably doesn't mind the created plot grabbing the focus. Changing the window manager settings so that "focus on display" is not active helps in gnuplot... but it alters all other window behavior too. The thing is, in most applications you want to grab focus upon display. Say one creates an editor window with "xemacs junk &"; well you're going to type in the editor right away so, yes, "grab focus". But in gnuplot, one isn't going to type in the plot window (unless hot key user) so, no, don't grab focus. I tried creating a patch with XGetInputFocus() and XSetInputFocus() to restore the focus to the parent, i.e., gnuplot command line. But I couldn't get it to work... Not that important. Dan |