mirror of
https://github.com/brl/mutter.git
synced 2024-12-23 19:42:05 +00:00
Fix meta_window_set_user_time: assertion `!window->override_redirect' failed error messages
This patch adds a check in event_callback () to check whether the window is override-redirect or not, and avoids unnecessarily calling meta_window_set_user_time () if it is. https://bugzilla.gnome.org/show_bug.cgi?id=606158
This commit is contained in:
parent
c9ebc0ea25
commit
63f81ed027
@ -1735,7 +1735,8 @@ event_callback (XEvent *event,
|
||||
}
|
||||
#endif /* HAVE_SHAPE */
|
||||
|
||||
if (window && ((event->type == KeyPress) || (event->type == ButtonPress)))
|
||||
if (window && !window->override_redirect &&
|
||||
((event->type == KeyPress) || (event->type == ButtonPress)))
|
||||
{
|
||||
if (CurrentTime == display->current_time)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user