diff options
| author | Dana Jansens <danakj@orodu.net> | 2011-10-04 17:53:54 -0400 |
|---|---|---|
| committer | Dana Jansens <danakj@orodu.net> | 2011-10-05 13:32:08 -0400 |
| commit | eea1a9fef91686a511ae0a8590dbb6df02c26470 (patch) | |
| tree | 484cb169d0ca83df745d5c366c4b52df499abfe5 /data | |
| parent | 98b02c6b60bbde2a5db026b3ee3e6e6dc44d1a92 (diff) | |
Fix focus stealing for changing desktops/Use timestamp for user input events
Change the logic for when to allow stealing focus across desktops.
- It was possible to call event_time_after() with a CurrentTime in the old code.
- It would disallow a user requested change which is crazy.
- It would change desktops on you when a new window appeared but this is
generally not desirable.
event_source_time() is supposed to give the time which the user made things
happen. we leave it at 0 for user-input events right now which means stuff like
changing desktop doesn't save any timestamp at all. we should use the
timestamp from x for user-generated events.
Diffstat (limited to 'data')
0 files changed, 0 insertions, 0 deletions
