diff options
| author | Christoph Lohmann <20h@r-36.net> | 2012-09-05 22:39:09 +0200 |
|---|---|---|
| committer | Christoph Lohmann <20h@r-36.net> | 2012-09-05 22:39:09 +0200 |
| commit | 4a4ae19158a6d18d63b8e9fce92e6e5e45543746 (patch) | |
| tree | a83cef43f8c728e59612685fa5d83b97e37849b8 | |
| parent | If the selection is cleared, draw() and do it on button press too. (diff) | |
| download | st-4a4ae19158a6d18d63b8e9fce92e6e5e45543746.tar.gz st-4a4ae19158a6d18d63b8e9fce92e6e5e45543746.zip | |
Removing masks for unhandled enter and leaving events.
Diffstat (limited to '')
| -rw-r--r-- | st.c | 4 |
1 files changed, 1 insertions, 3 deletions
| @@ -1960,8 +1960,7 @@ xinit(void) { | |||
| 1960 | attrs.bit_gravity = NorthWestGravity; | 1960 | attrs.bit_gravity = NorthWestGravity; |
| 1961 | attrs.event_mask = FocusChangeMask | KeyPressMask | 1961 | attrs.event_mask = FocusChangeMask | KeyPressMask |
| 1962 | | ExposureMask | VisibilityChangeMask | StructureNotifyMask | 1962 | | ExposureMask | VisibilityChangeMask | StructureNotifyMask |
| 1963 | | ButtonMotionMask | ButtonPressMask | ButtonReleaseMask | 1963 | | ButtonMotionMask | ButtonPressMask | ButtonReleaseMask; |
| 1964 | | EnterWindowMask | LeaveWindowMask; | ||
| 1965 | attrs.colormap = xw.cmap; | 1964 | attrs.colormap = xw.cmap; |
| 1966 | 1965 | ||
| 1967 | parent = opt_embed ? strtol(opt_embed, NULL, 0) : XRootWindow(xw.dpy, xw.scr); | 1966 | parent = opt_embed ? strtol(opt_embed, NULL, 0) : XRootWindow(xw.dpy, xw.scr); |
| @@ -2047,7 +2046,6 @@ void | |||
| 2047 | xcopy() { | 2046 | xcopy() { |
| 2048 | XdbeSwapInfo swpinfo[1] = {{xw.win, XdbeCopied}}; | 2047 | XdbeSwapInfo swpinfo[1] = {{xw.win, XdbeCopied}}; |
| 2049 | XdbeSwapBuffers(xw.dpy, swpinfo, 1); | 2048 | XdbeSwapBuffers(xw.dpy, swpinfo, 1); |
| 2050 | |||
| 2051 | } | 2049 | } |
| 2052 | 2050 | ||
| 2053 | void | 2051 | void |
