Mercurial > hg > xemacs-beta
comparison src/event-msw.c @ 430:a5df635868b2 r21-2-23
Import from CVS: tag r21-2-23
author | cvs |
---|---|
date | Mon, 13 Aug 2007 11:29:08 +0200 |
parents | 3ecd8885ac67 |
children | 9d177e8d4150 |
comparison
equal
deleted
inserted
replaced
429:8305706cbb93 | 430:a5df635868b2 |
---|---|
54 #include "buffer.h" | 54 #include "buffer.h" |
55 #include "faces.h" | 55 #include "faces.h" |
56 #include "lstream.h" | 56 #include "lstream.h" |
57 #include "process.h" | 57 #include "process.h" |
58 #include "redisplay.h" | 58 #include "redisplay.h" |
59 #include "select.h" | |
59 #include "sysproc.h" | 60 #include "sysproc.h" |
60 #include "syswait.h" | 61 #include "syswait.h" |
61 #include "systime.h" | 62 #include "systime.h" |
62 #include "sysdep.h" | 63 #include "sysdep.h" |
63 #include "objects-msw.h" | 64 #include "objects-msw.h" |
1612 struct frame *frame; | 1613 struct frame *frame; |
1613 struct mswindows_frame* msframe; | 1614 struct mswindows_frame* msframe; |
1614 | 1615 |
1615 switch (message) | 1616 switch (message) |
1616 { | 1617 { |
1618 case WM_DESTROYCLIPBOARD: | |
1619 /* We own the clipboard and someone else wants it. Delete our | |
1620 cached copy of the clipboard contents so we'll ask for it from | |
1621 Windows again when someone does a paste. */ | |
1622 handle_selection_clear(QCLIPBOARD); | |
1623 break; | |
1624 | |
1617 case WM_ERASEBKGND: | 1625 case WM_ERASEBKGND: |
1618 /* Erase background only during non-dynamic sizing */ | 1626 /* Erase background only during non-dynamic sizing */ |
1619 msframe = FRAME_MSWINDOWS_DATA (XFRAME (mswindows_find_frame (hwnd))); | 1627 msframe = FRAME_MSWINDOWS_DATA (XFRAME (mswindows_find_frame (hwnd))); |
1620 if (msframe->sizing && !mswindows_dynamic_frame_resize) | 1628 if (msframe->sizing && !mswindows_dynamic_frame_resize) |
1621 goto defproc; | 1629 goto defproc; |