Hello community,
here is the log from the commit of package compiz for openSUSE:Factory
checked in at Fri Feb 27 05:13:41 CET 2009.
--------
--- compiz/compiz.changes 2009-02-26 23:29:49.000000000 +0100
+++ compiz/compiz.changes 2009-02-27 01:41:45.000000000 +0100
@@ -1,0 +2,5 @@
+Thu Feb 26 19:29:19 EST 2009 - davidr(a)novell.com
+
+- Fix remote WM detection. (bnc#480181)
+
+-------------------------------------------------------------------
calling whatdependson for head-i586
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ compiz.spec ++++++
--- /var/tmp/diff_new_pack.KX2314/_old 2009-02-27 05:12:52.000000000 +0100
+++ /var/tmp/diff_new_pack.KX2314/_new 2009-02-27 05:12:52.000000000 +0100
@@ -44,7 +44,7 @@
%endif
AutoReqProv: on
Version: 0.7.8
-Release: 34
+Release: 35
Requires: compiz-decorator = %{version} compiz-branding = %{version}
Provides: windowmanager
Summary: OpenGL window and compositing manager.
@@ -437,6 +437,8 @@
%changelog
* Thu Feb 26 2009 davidr(a)novell.com
+- Fix remote WM detection. (bnc#480181)
+* Thu Feb 26 2009 davidr(a)novell.com
- Improve bug-475349-moveInputFocusToOtherWindow.diff. (bnc#480088)
* Thu Feb 26 2009 davidr(a)novell.com
- Have dbus plugin register plugin options properly. (bnc#480007)
++++++ compiz-0.7.8-NOMAD.diff ++++++
--- /var/tmp/diff_new_pack.KX2314/_old 2009-02-27 05:12:52.000000000 +0100
+++ /var/tmp/diff_new_pack.KX2314/_new 2009-02-27 05:12:53.000000000 +0100
@@ -10982,7 +10982,7 @@
+ s->root.viewportOffsetY = -y;
}
diff --git a/src/window.c b/src/window.c
-index 881bbd5..4ef55d9 100644
+index 881bbd5..f252a36 100644
--- a/src/window.c
+++ b/src/window.c
@@ -53,18 +53,18 @@ static int
@@ -11475,22 +11475,32 @@
recalcWindowType (w);
getMwmHints (d, w->id, &w->mwmFunc, &w->mwmDecor);
-@@ -2175,28 +2357,32 @@ addWindow (CompScreen *screen,
+@@ -2168,35 +2350,41 @@ addWindow (CompScreen *screen,
+ else
+ w->paint.saturation = getWindowProp32 (d, w->id,
+ d->winSaturationAtom, COLOR);
+-
++
++ getSupportingWmCheck (w);
++
+ if (w->attrib.map_state == IsViewable)
+ {
+ w->placed = TRUE;
if (!w->attrib.override_redirect)
{
- w->managed = TRUE;
-
- if (getWmState (d, w->id) == IconicState)
-+ if (w->parent->substructureRedirect)
- {
+- {
- if (w->state & CompWindowStateShadedMask)
- w->shaded = TRUE;
- else
- w->minimized = TRUE;
- }
- else
-- {
++ if (w->parent->substructureRedirect)
+ {
- if (w->wmType & (CompWindowTypeDockMask |
- CompWindowTypeDesktopMask))
+ w->managed = TRUE;
@@ -11524,7 +11534,7 @@
}
}
}
-@@ -2239,7 +2425,7 @@ addWindow (CompScreen *screen,
+@@ -2239,7 +2427,7 @@ addWindow (CompScreen *screen,
/* TODO: bailout properly when objectInitPlugins fails */
assert (objectInitPlugins (&w->base));
@@ -11533,7 +11543,7 @@
recalcWindowActions (w);
updateIconGeometry (w);
-@@ -2254,7 +2440,10 @@ addWindow (CompScreen *screen,
+@@ -2254,7 +2442,10 @@ addWindow (CompScreen *screen,
void
removeWindow (CompWindow *w)
{
@@ -11545,7 +11555,7 @@
if (!w->destroyed)
{
-@@ -2276,7 +2465,7 @@ removeWindow (CompWindow *w)
+@@ -2276,7 +2467,7 @@ removeWindow (CompWindow *w)
if (w->damage)
XDamageDestroy (d->display, w->damage);
@@ -11554,7 +11564,7 @@
XShapeSelectInput (d->display, w->id, NoEventMask);
XSelectInput (d->display, w->id, NoEventMask);
-@@ -2287,7 +2476,7 @@ removeWindow (CompWindow *w)
+@@ -2287,7 +2478,7 @@ removeWindow (CompWindow *w)
if (w->attrib.map_state == IsViewable && w->damaged)
{
if (w->type == CompWindowTypeDesktopMask)
@@ -11563,7 +11573,7 @@
if (w->destroyed && w->struts)
updateWorkareaForScreen (w->screen);
-@@ -2296,7 +2485,7 @@ removeWindow (CompWindow *w)
+@@ -2296,7 +2487,7 @@ removeWindow (CompWindow *w)
if (w->destroyed)
updateClientListForScreen (w->screen);
@@ -11572,7 +11582,7 @@
{
w->screen->overlayWindowCount--;
-@@ -2304,7 +2493,7 @@ removeWindow (CompWindow *w)
+@@ -2304,7 +2495,7 @@ removeWindow (CompWindow *w)
showOutputWindow (w->screen);
}
@@ -11581,7 +11591,7 @@
objectFiniPlugins (&w->base);
-@@ -2384,9 +2573,17 @@ sendConfigureNotify (CompWindow *w)
+@@ -2384,9 +2575,17 @@ sendConfigureNotify (CompWindow *w)
void
mapWindow (CompWindow *w)
{
@@ -11599,7 +11609,7 @@
if (w->pendingMaps > 0)
w->pendingMaps--;
-@@ -2402,7 +2599,7 @@ mapWindow (CompWindow *w)
+@@ -2402,7 +2601,7 @@ mapWindow (CompWindow *w)
w->attrib.map_state = IsViewable;
@@ -11608,7 +11618,7 @@
setWmState (w->screen->display, NormalState, w->id);
w->invisible = TRUE;
-@@ -2415,21 +2612,28 @@ mapWindow (CompWindow *w)
+@@ -2415,21 +2614,28 @@ mapWindow (CompWindow *w)
updateWindowRegion (w);
updateWindowSize (w);
@@ -11643,7 +11653,7 @@
{
/* been shaded */
if (!w->height)
-@@ -2438,35 +2642,31 @@ mapWindow (CompWindow *w)
+@@ -2438,35 +2644,31 @@ mapWindow (CompWindow *w)
w->attrib.width, ++w->attrib.height - 1,
w->attrib.border_width);
}
@@ -11692,7 +11702,7 @@
w->invisible = TRUE;
-@@ -2482,6 +2682,31 @@ unmapWindow (CompWindow *w)
+@@ -2482,6 +2684,31 @@ unmapWindow (CompWindow *w)
if (!w->redirected)
redirectWindow (w);
@@ -11724,7 +11734,7 @@
}
static int
-@@ -2496,8 +2721,8 @@ restackWindow (CompWindow *w,
+@@ -2496,8 +2723,8 @@ restackWindow (CompWindow *w,
else if (aboveId == None && !w->next)
return 0;
@@ -11735,7 +11745,7 @@
updateClientListForScreen (w->screen);
-@@ -2575,7 +2800,8 @@ resizeWindow (CompWindow *w,
+@@ -2575,7 +2802,8 @@ resizeWindow (CompWindow *w,
w->invisible = WINDOW_INVISIBLE (w);
@@ -11745,7 +11755,7 @@
}
else if (w->attrib.x != x || w->attrib.y != y)
{
-@@ -2586,7 +2812,7 @@ resizeWindow (CompWindow *w,
+@@ -2586,7 +2814,7 @@ resizeWindow (CompWindow *w,
moveWindow (w, dx, dy, TRUE, TRUE);
@@ -11754,7 +11764,7 @@
XMoveWindow (w->screen->display->display, w->frame,
w->attrib.x - w->input.left,
w->attrib.y - w->input.top);
-@@ -2614,6 +2840,9 @@ initializeSyncCounter (CompWindow *w)
+@@ -2614,6 +2842,9 @@ initializeSyncCounter (CompWindow *w)
unsigned long n, left;
unsigned char *data;
@@ -11764,7 +11774,7 @@
if (w->syncCounter)
return w->syncAlarm != None;
-@@ -2633,7 +2862,6 @@ initializeSyncCounter (CompWindow *w)
+@@ -2633,7 +2864,6 @@ initializeSyncCounter (CompWindow *w)
XFree (data);
@@ -11772,7 +11782,7 @@
XSyncSetCounter (w->screen->display->display,
w->syncCounter,
w->syncValue);
-@@ -2689,6 +2917,20 @@ syncWaitTimeout (void *closure)
+@@ -2689,6 +2919,20 @@ syncWaitTimeout (void *closure)
}
void
@@ -11793,7 +11803,7 @@
sendSyncRequest (CompWindow *w)
{
XClientMessageEvent xev;
-@@ -2697,7 +2939,10 @@ sendSyncRequest (CompWindow *w)
+@@ -2697,7 +2941,10 @@ sendSyncRequest (CompWindow *w)
return;
if (!initializeSyncCounter (w))
@@ -11804,7 +11814,7 @@
xev.type = ClientMessage;
xev.window = w->id;
-@@ -2711,23 +2956,26 @@ sendSyncRequest (CompWindow *w)
+@@ -2711,23 +2958,26 @@ sendSyncRequest (CompWindow *w)
syncValueIncrement (&w->syncValue);
@@ -11840,7 +11850,7 @@
if (w->syncWait)
{
w->syncX = ce->x;
-@@ -2738,15 +2986,6 @@ configureWindow (CompWindow *w,
+@@ -2738,15 +2988,6 @@ configureWindow (CompWindow *w,
}
else
{
@@ -11856,7 +11866,7 @@
resizeWindow (w, ce->x, ce->y, ce->width, ce->height,
ce->border_width);
}
-@@ -2755,6 +2994,9 @@ configureWindow (CompWindow *w,
+@@ -2755,6 +2996,9 @@ configureWindow (CompWindow *w,
if (restackWindow (w, ce->above))
addWindowDamage (w);
@@ -11866,7 +11876,7 @@
}
void
-@@ -2764,7 +3006,7 @@ circulateWindow (CompWindow *w,
+@@ -2764,7 +3008,7 @@ circulateWindow (CompWindow *w,
Window newAboveId;
if (ce->place == PlaceOnTop)
@@ -11875,7 +11885,7 @@
else
newAboveId = 0;
-@@ -2800,29 +3042,12 @@ moveWindow (CompWindow *w,
+@@ -2800,29 +3044,12 @@ moveWindow (CompWindow *w,
}
}
@@ -11905,7 +11915,7 @@
if (!onCurrentDesktop (w))
return FALSE;
-@@ -2902,7 +3127,8 @@ isGroupTransient (CompWindow *w,
+@@ -2902,7 +3129,8 @@ isGroupTransient (CompWindow *w,
if (!clientLeader)
return FALSE;
@@ -11915,7 +11925,7 @@
{
if (w->type & (CompWindowTypeDialogMask |
CompWindowTypeModalDialogMask))
-@@ -2922,7 +3148,7 @@ getModalTransient (CompWindow *window)
+@@ -2922,7 +3150,7 @@ getModalTransient (CompWindow *window)
modalTransient = window;
@@ -11924,7 +11934,7 @@
{
if (w == modalTransient || w->mapNum == 0)
continue;
-@@ -2932,7 +3158,7 @@ getModalTransient (CompWindow *window)
+@@ -2932,7 +3160,7 @@ getModalTransient (CompWindow *window)
if (w->state & CompWindowStateModalMask)
{
modalTransient = w;
@@ -11933,7 +11943,7 @@
}
}
}
-@@ -2944,7 +3170,7 @@ getModalTransient (CompWindow *window)
+@@ -2944,7 +3172,7 @@ getModalTransient (CompWindow *window)
if (window->state & CompWindowStateModalMask)
return NULL;
@@ -11942,7 +11952,7 @@
{
if (w == modalTransient || w->mapNum == 0)
continue;
-@@ -2980,14 +3206,18 @@ moveInputFocusToWindow (CompWindow *w)
+@@ -2980,14 +3208,18 @@ moveInputFocusToWindow (CompWindow *w)
CompDisplay *d = s->display;
CompWindow *modalTransient;
@@ -11963,7 +11973,7 @@
XA_WINDOW, 32, PropModeReplace,
(unsigned char *) &w->id, 1);
}
-@@ -3027,7 +3257,9 @@ moveInputFocusToWindow (CompWindow *w)
+@@ -3027,7 +3259,9 @@ moveInputFocusToWindow (CompWindow *w)
CompWindow *ancestor;
/* move input to closest ancestor */
@@ -11974,7 +11984,7 @@
{
if (isAncestorTo (w, ancestor))
{
-@@ -3111,7 +3343,7 @@ findSiblingBelow (CompWindow *w,
+@@ -3111,7 +3345,7 @@ findSiblingBelow (CompWindow *w,
if (w->transientFor || isGroupTransient (w, clientLeader))
clientLeader = None;
@@ -11983,7 +11993,7 @@
{
if (below == w || avoidStackingRelativeTo (below))
continue;
-@@ -3157,7 +3389,7 @@ findSiblingBelow (CompWindow *w,
+@@ -3157,7 +3391,7 @@ findSiblingBelow (CompWindow *w,
static CompWindow *
findLowestSiblingBelow (CompWindow *w)
{
@@ -11992,7 +12002,7 @@
Window clientLeader = w->clientLeader;
unsigned int type = w->type;
-@@ -3169,7 +3401,7 @@ findLowestSiblingBelow (CompWindow *w)
+@@ -3169,7 +3403,7 @@ findLowestSiblingBelow (CompWindow *w)
if (w->transientFor || isGroupTransient (w, clientLeader))
clientLeader = None;
@@ -12001,7 +12011,7 @@
{
if (below == w || avoidStackingRelativeTo (below))
continue;
-@@ -3351,6 +3583,55 @@ reconfigureXWindow (CompWindow *w,
+@@ -3351,6 +3585,55 @@ reconfigureXWindow (CompWindow *w,
unsigned int valueMask,
XWindowChanges *xwc)
{
@@ -12057,7 +12067,7 @@
if (valueMask & CWX)
w->serverX = xwc->x;
-@@ -3368,9 +3649,31 @@ reconfigureXWindow (CompWindow *w,
+@@ -3368,9 +3651,31 @@ reconfigureXWindow (CompWindow *w,
XConfigureWindow (w->screen->display->display, w->id, valueMask, xwc);
@@ -12091,7 +12101,7 @@
}
static Bool
-@@ -3384,7 +3687,7 @@ stackTransients (CompWindow *w,
+@@ -3384,7 +3689,7 @@ stackTransients (CompWindow *w,
if (w->transientFor || isGroupTransient (w, clientLeader))
clientLeader = None;
@@ -12100,7 +12110,7 @@
{
if (t == w || t == avoid)
continue;
-@@ -3417,7 +3720,7 @@ stackAncestors (CompWindow *w,
+@@ -3417,7 +3722,7 @@ stackAncestors (CompWindow *w,
{
CompWindow *ancestor;
@@ -12109,7 +12119,7 @@
if (ancestor)
{
if (!stackTransients (ancestor, w, xwc))
-@@ -3442,7 +3745,7 @@ stackAncestors (CompWindow *w,
+@@ -3442,7 +3747,7 @@ stackAncestors (CompWindow *w,
{
CompWindow *a;
@@ -12118,7 +12128,7 @@
{
if (a->clientLeader == w->clientLeader &&
a->transientFor == None &&
-@@ -3709,7 +4012,8 @@ unsigned int
+@@ -3709,7 +4014,8 @@ unsigned int
adjustConfigureRequestForGravity (CompWindow *w,
XWindowChanges *xwc,
unsigned int xwcm,
@@ -12128,7 +12138,7 @@
{
int newX, newY;
unsigned int mask = 0;
-@@ -3724,23 +4028,23 @@ adjustConfigureRequestForGravity (CompWindow *w,
+@@ -3724,23 +4030,23 @@ adjustConfigureRequestForGravity (CompWindow *w,
case WestGravity:
case SouthWestGravity:
if (xwcm & CWX)
@@ -12156,7 +12166,7 @@
break;
case StaticGravity:
-@@ -3756,23 +4060,23 @@ adjustConfigureRequestForGravity (CompWindow *w,
+@@ -3756,23 +4062,23 @@ adjustConfigureRequestForGravity (CompWindow *w,
case NorthGravity:
case NorthEastGravity:
if (xwcm & CWY)
@@ -12184,7 +12194,7 @@
break;
case StaticGravity:
-@@ -3838,7 +4142,7 @@ moveResizeWindow (CompWindow *w,
+@@ -3838,7 +4144,7 @@ moveResizeWindow (CompWindow *w,
}
}
@@ -12193,7 +12203,7 @@
if (!(w->type & (CompWindowTypeDockMask |
CompWindowTypeFullscreenMask |
-@@ -3864,7 +4168,7 @@ moveResizeWindow (CompWindow *w,
+@@ -3864,7 +4170,7 @@ moveResizeWindow (CompWindow *w,
{
int min, max;
@@ -12202,7 +12212,7 @@
max = w->screen->workArea.x + w->screen->workArea.width;
min -= w->screen->x * w->screen->width;
-@@ -3975,7 +4279,7 @@ addWindowStackChanges (CompWindow *w,
+@@ -3975,7 +4281,7 @@ addWindowStackChanges (CompWindow *w,
if (!sibling)
{
XLowerWindow (w->screen->display->display, w->id);
@@ -12211,7 +12221,7 @@
XLowerWindow (w->screen->display->display, w->frame);
}
else if (sibling->id != w->prev->id)
-@@ -4008,7 +4312,7 @@ addWindowStackChanges (CompWindow *w,
+@@ -4008,7 +4314,7 @@ addWindowStackChanges (CompWindow *w,
{
CompWindow *dw;
@@ -12220,7 +12230,7 @@
if (dw == sibling)
break;
-@@ -4073,7 +4377,7 @@ findValidStackSiblingBelow (CompWindow *w,
+@@ -4073,7 +4379,7 @@ findValidStackSiblingBelow (CompWindow *w,
lowest = last = findLowestSiblingBelow (w);
/* walk from bottom up */
@@ -12229,7 +12239,7 @@
{
/* stop walking when we reach the sibling we should try to stack
below */
-@@ -4122,7 +4426,7 @@ updateWindowAttributes (CompWindow *w,
+@@ -4122,7 +4428,7 @@ updateWindowAttributes (CompWindow *w,
XWindowChanges xwc;
int mask = 0;
@@ -12238,7 +12248,7 @@
return;
if (w->state & CompWindowStateShadedMask)
-@@ -4200,7 +4504,7 @@ ensureWindowVisibility (CompWindow *w)
+@@ -4200,7 +4506,7 @@ ensureWindowVisibility (CompWindow *w)
int dx = 0;
int dy = 0;
@@ -12247,7 +12257,7 @@
return;
if (w->type & (CompWindowTypeDockMask |
-@@ -4259,6 +4563,34 @@ revealAncestors (CompWindow *w,
+@@ -4259,6 +4565,34 @@ revealAncestors (CompWindow *w,
void
activateWindow (CompWindow *w)
{
@@ -12282,7 +12292,7 @@
setCurrentDesktop (w->screen, w->desktop);
forEachWindowOnScreen (w->screen, revealAncestors, (void *) w);
-@@ -4511,7 +4843,8 @@ hideWindow (CompWindow *w)
+@@ -4511,7 +4845,8 @@ hideWindow (CompWindow *w)
w->shaded = FALSE;
@@ -12292,7 +12302,7 @@
XUnmapWindow (w->screen->display->display, w->frame);
}
-@@ -4551,7 +4884,7 @@ showWindow (CompWindow *w)
+@@ -4551,7 +4886,7 @@ showWindow (CompWindow *w)
{
w->shaded = TRUE;
@@ -12301,7 +12311,7 @@
XMapWindow (w->screen->display->display, w->frame);
if (w->height)
-@@ -4633,7 +4966,7 @@ void
+@@ -4633,7 +4968,7 @@ void
maximizeWindow (CompWindow *w,
int state)
{
@@ -12310,7 +12320,7 @@
return;
state = constrainWindowState (state, w->actions);
-@@ -4770,7 +5103,7 @@ isWindowFocusAllowed (CompWindow *w,
+@@ -4770,7 +5105,7 @@ isWindowFocusAllowed (CompWindow *w,
{
CompWindow *parent;
@@ -12319,7 +12329,7 @@
if (parent)
gotTimestamp = getUsageTimestampForWindow (parent, &wUserTime);
}
-@@ -4880,7 +5213,7 @@ unredirectWindow (CompWindow *w)
+@@ -4880,7 +5215,7 @@ unredirectWindow (CompWindow *w)
void
redirectWindow (CompWindow *w)
{
@@ -12328,7 +12338,7 @@
return;
XCompositeRedirectWindow (w->screen->display->display, w->id,
-@@ -5199,3 +5532,151 @@ getWindowMovementForOffset (CompWindow *w,
+@@ -5199,3 +5534,151 @@ getWindowMovementForOffset (CompWindow *w,
}
}
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Remember to have fun...
--
To unsubscribe, e-mail: opensuse-commit+unsubscribe(a)opensuse.org
For additional commands, e-mail: opensuse-commit+help(a)opensuse.org