Thread View: gnu.epoch.misc
1 messages
1 total messages
Started by Bob Doolittle
Wed, 10 Apr 1991 15:50
Re: Making X window-focus select screens
Author: Bob Doolittle
Date: Wed, 10 Apr 1991 15:50
Date: Wed, 10 Apr 1991 15:50
38 lines
2091 bytes
2091 bytes
> > The second thing which seems "un-X-like" is the window focus. I happen to > dislike "click-to-type". So far, I've not found an easy way to make X > window-focus map to Epoch screen-focus. One byproduct of this seems to be > that when I move my cursor out of Epoch entirely (say to an xterm), I have > two solid cursors on my screen The behaviour you want should be the default behaviour. I run an Epoch under GWM, not click-to-type, and moving the mouse from one screen to another switches the current screen, and moving the mouse out of any screen causes the text cursor to switch to a hollow block. Try running an Epoch with the -q flag to test it. On the other hand, there is a bug involving passive grabs on Epoch screens, where Epoch thinks it has the focus until another FocusOut event. This happens when the WM traps a keystroke on an Epoch screen. It seems to be fixed with the following patch to x11term.c, around line 1596. case FocusOut: /* start of change */ if ( (event.type == FocusOut || event.type == FocusIn) && event.xfocus.mode != NotifyNormal ) break; /* end of change */ You are exactly right. Focus worked as expected until I iconified an epoch screen with my window manager. Then it started to behave like "click-to-type". Your change corrected the behavior. Thanks! -------- Bob Doolittle Thinking Machines Corporation rad@think.com
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads