mirror of
https://github.com/brl/mutter.git
synced 2025-02-17 05:44:08 +00: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
|
* 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));
|
||||||
@ -2077,7 +2069,7 @@ clutter_cmp_manage_screen (MetaCompositor *compositor,
|
|||||||
|
|
||||||
{
|
{
|
||||||
ClutterActor *foo;
|
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.");
|
"Yessir. The compositor is running.");
|
||||||
clutter_actor_set_opacity (foo, 100);
|
clutter_actor_set_opacity (foo, 100);
|
||||||
clutter_actor_set_position (foo, 20, height - 50);
|
clutter_actor_set_position (foo, 20, height - 50);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user