mirror of
https://github.com/brl/mutter.git
synced 2024-11-22 16:10:41 -05:00
Revert "Add StructureNotifyMask windows the compositor is interested in."
This reverts commit f76f4dc898c435d9a15bc96a9aad89526f69fcb2.
This commit is contained in:
parent
c283fbe9b3
commit
8f8a193c7e
@ -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
|
||||
* won't have been set on the window
|
||||
*/
|
||||
events_needed = PropertyChangeMask |
|
||||
SubstructureNotifyMask |
|
||||
StructureNotifyMask;
|
||||
events_needed = PropertyChangeMask | SubstructureNotifyMask;
|
||||
|
||||
if (!(attrs.your_event_mask & PropertyChangeMask) ||
|
||||
!(attrs.your_event_mask & StructureNotifyMask) ||
|
||||
if (!(attrs.your_event_mask & PropertyChangeMask) ||
|
||||
!(attrs.your_event_mask & SubstructureNotifyMask))
|
||||
{
|
||||
gulong event_mask;
|
||||
@ -1379,11 +1376,6 @@ add_win (MetaScreen *screen, MetaWindow *window, Window xwindow)
|
||||
|
||||
clutter_actor_set_position (CLUTTER_ACTOR (cw),
|
||||
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_ACTOR (cw));
|
||||
clutter_actor_hide (CLUTTER_ACTOR (cw));
|
||||
@ -2077,7 +2069,7 @@ clutter_cmp_manage_screen (MetaCompositor *compositor,
|
||||
|
||||
{
|
||||
ClutterActor *foo;
|
||||
foo = clutter_label_new_with_text ("Sans Bold 48px",
|
||||
foo = clutter_label_new_with_text ("Sans Bold 48px",
|
||||
"Yessir. The compositor is running.");
|
||||
clutter_actor_set_opacity (foo, 100);
|
||||
clutter_actor_set_position (foo, 20, height - 50);
|
||||
|
Loading…
Reference in New Issue
Block a user