mirror of
https://github.com/brl/mutter.git
synced 2024-11-25 01:20:42 -05:00
If we're not passed a timestamp, make sure to manually get one. Fixes
2005-02-08 Elijah Newren <newren@gmail.com> * src/window.c: (meta_window_activate): If we're not passed a timestamp, make sure to manually get one. Fixes #166728.
This commit is contained in:
parent
50596a6f97
commit
454e595ef8
@ -1,3 +1,8 @@
|
||||
2005-02-08 Elijah Newren <newren@gmail.com>
|
||||
|
||||
* src/window.c: (meta_window_activate): If we're not passed a
|
||||
timestamp, make sure to manually get one. Fixes #166728.
|
||||
|
||||
2005-02-07 Elijah Newren <newren@gmail.com>
|
||||
|
||||
* configure.in: post-release version bump to 2.9.21
|
||||
|
@ -2169,7 +2169,9 @@ meta_window_activate (MetaWindow *window,
|
||||
return;
|
||||
}
|
||||
|
||||
if (timestamp != 0)
|
||||
if (timestamp == 0)
|
||||
timestamp = meta_display_get_current_time_roundtrip (window->display);
|
||||
|
||||
window->net_wm_user_time = timestamp;
|
||||
|
||||
/* disable show desktop mode unless we're a desktop component */
|
||||
|
Loading…
Reference in New Issue
Block a user