GNOME Bugzilla – Bug 606158
"Always on top" triggers Window manager warning: Log level 8: meta_window_set_user_time: assertion `!window->override_redirect' failed
Last modified: 2010-08-18 21:23:09 UTC
Probably just need to check if (!meta_window_is_override_redirect ())
Created attachment 166680 [details] [review] fix !window->override_redirect errors This patch adds a simple check to event_callback () to check whether the window is override-redirect or not, and avoids unnecessarily calling meta_window_set_user_time () if it is. This seems to fix all occurrences of this error, at least as triggered within the window menu, ie from clicking "Always on top," "Move to workspace left," etc. I do wonder though, would it not be better to attach event_callback () to each individual window that needs to be managed as it is created to avoid having these checks in the first place? Thanks, Nick
Created attachment 166731 [details] [review] Fix !window->override_redirect errors bah, uploaded the wrong patch. This is the right one
Pushed with two trivial changes: - Line-wrapped the body of the commit message - Fixed the line-breaking in the code to match the structure of the if statement