Mercurial > hg > xemacs-beta
comparison src/glyphs-msw.c @ 5474:4dee0387b9de
Merged with trunk.
author | Mats Lidell <matsl@xemacs.org> |
---|---|
date | Tue, 29 Mar 2011 00:02:47 +0200 |
parents | 308d34e9f07d 3889ef128488 |
children | 56144c8593a8 |
comparison
equal
deleted
inserted
replaced
5473:ac37a5f7e5be | 5474:4dee0387b9de |
---|---|
1958 | SWP_SHOWWINDOW | SWP_NOCOPYBITS | SWP_NOACTIVATE); | 1958 | SWP_SHOWWINDOW | SWP_NOCOPYBITS | SWP_NOACTIVATE); |
1959 | 1959 |
1960 /* Doing this once does not seem to be enough, for instance when | 1960 /* Doing this once does not seem to be enough, for instance when |
1961 mapping the search dialog this gets called four times. If we | 1961 mapping the search dialog this gets called four times. If we |
1962 only set on the first time through then the subwindow never | 1962 only set on the first time through then the subwindow never |
1963 gets focus as intended. However, doing this everytime doesn't | 1963 gets focus as intended. However, doing this every time doesn't |
1964 seem so bad, after all we only need to redo this after the | 1964 seem so bad, after all we only need to redo this after the |
1965 focus changes - and if that happens resetting the initial | 1965 focus changes - and if that happens resetting the initial |
1966 focus doesn't seem so bad. */ | 1966 focus doesn't seem so bad. */ |
1967 if (IMAGE_INSTANCE_WANTS_INITIAL_FOCUS (p)) | 1967 if (IMAGE_INSTANCE_WANTS_INITIAL_FOCUS (p)) |
1968 SetFocus (WIDGET_INSTANCE_MSWINDOWS_HANDLE (p)); | 1968 SetFocus (WIDGET_INSTANCE_MSWINDOWS_HANDLE (p)); |