1
0
Fork 0

Revert "Add StructureNotifyMask windows the compositor is interested in."

This reverts commit f76f4dc898c435d9a15bc96a9aad89526f69fcb2.
This commit is contained in:
Tomas Frydrych 2008-10-28 12:27:30 +00:00
parent c283fbe9b3
commit 8f8a193c7e

View file

@ -1353,12 +1353,9 @@ add_win (MetaScreen *screen, MetaWindow *window, Window xwindow)
* If Metacity has decided not to manage this window then the input events * If Metacity has decided not to manage this window then the input events
* won't have been set on the window * won't have been set on the window
*/ */
events_needed = PropertyChangeMask | events_needed = PropertyChangeMask | SubstructureNotifyMask;
SubstructureNotifyMask |
StructureNotifyMask;
if (!(attrs.your_event_mask & PropertyChangeMask) || if (!(attrs.your_event_mask & PropertyChangeMask) ||
!(attrs.your_event_mask & StructureNotifyMask) ||
!(attrs.your_event_mask & SubstructureNotifyMask)) !(attrs.your_event_mask & SubstructureNotifyMask))
{ {
gulong event_mask; gulong event_mask;
@ -1379,11 +1376,6 @@ add_win (MetaScreen *screen, MetaWindow *window, Window xwindow)
clutter_actor_set_position (CLUTTER_ACTOR (cw), clutter_actor_set_position (CLUTTER_ACTOR (cw),
priv->attrs.x, priv->attrs.y); priv->attrs.x, priv->attrs.y);
if (!window)
printf ("!!! override 0x%x at %d, %d\n",
(guint)xwindow, priv->attrs.x, priv->attrs.y);
clutter_container_add_actor (CLUTTER_CONTAINER (info->window_group), clutter_container_add_actor (CLUTTER_CONTAINER (info->window_group),
CLUTTER_ACTOR (cw)); CLUTTER_ACTOR (cw));
clutter_actor_hide (CLUTTER_ACTOR (cw)); clutter_actor_hide (CLUTTER_ACTOR (cw));