Displaying 10 results from an estimated 10 matches for "activewindow".
2007 Jun 25
1
Focus problem for shaded windows
...ndow
- Press Ctrl+Alt+S
Expected behaviour would be that the shaded window is unshaded. What
happens is that the last active window is shaded.
I investigated this a bit and found the cause for this behaviour, but
wasn't able to work out a proper fix for that:
- The function shade() uses d->activeWindow to determine the window to
(un)shade via the "window" option.
- d->activeWindow is set from the FocusIn event handler, but only if
w->managed is set for the window which is hovered or whose frame is
hovered
- As w->managed is unset in the UnmapNotify handler (and so after a
windo...
2007 Aug 06
1
Focus problem for shaded windows
...ould be that the shaded window is unshaded. What
>> happens is that the last active window is shaded.
>>
>> I investigated this a bit and found the cause for this behaviour, but
>> wasn't able to work out a proper fix for that:
>> - The function shade() uses d->activeWindow to determine the window to
>> (un)shade via the "window" option.
>> - d->activeWindow is set from the FocusIn event handler, but only if
>> w->managed is set for the window which is hovered or whose frame is
>> hovered
>> - As w->managed is unset in...
2007 Apr 19
0
[PATCH] Make focusDefaultWindow () take a CompScreen as argument
...mpWindowTypeModalDialogMask))
- {
- if (compareWindowActiveness (focus, w) < 0)
+ if (compareWindowActiveness (focus, w) < 0)
focus = w;
- }
}
- else
- focus = w;
}
+ else
+ focus = w;
}
}
if (focus)
{
- if (focus->id != d->activeWindow)
+ if (focus->id != s->display->activeWindow)
moveInputFocusToWindow (focus);
}
else
{
- XSetInputFocus (d->display, d->screens->root, RevertToPointerRoot,
+ XSetInputFocus (s->display->display, s->display->screens->root, RevertToPointerRoot,...
2007 Apr 09
2
Paint chanegs block dbus and fuse plugins
...*transform,
Region region,
unsigned int mask)
{
Bool status;
INACTIVE_SCREEN (w->screen);
INACTIVE_WINDOW (w);
WindowPaintAttrib fAttrib = *attrib;
if (iw->managed
&& w->mapNum
&& (w->screen->display->activeWindow != w->id))
{
Bool painted = FALSE;
if (fAttrib.opacity != iw->inactiveOpacity)
{
fAttrib.opacity = iw->inactiveOpacity;
painted = TRUE;
}
if (fAttrib.brightness != iw->inactiveBrightness)
{
fAttrib.brightness = iw->inactiveBrightnes...
2007 Apr 11
5
WIN32OLE MS Word Help
Hi all,
I am trying to create word document in ruby using WIN32OLE.
as..
require ''win32ole''
word = WIN32OLE.new("Word.Application")
word.visible = true
word.documents.add
selection = word.selection
word.Selection.TypeText "This is some text."
...
..
.
Can we set header and footer to document? I want to generate a
document such that its header contains an
2010 Aug 13
1
RDCOMClient interface - problems setting a variable
...t shows that there are two item() functions - a getter and a setter, but have the same name.
names(getFuncs(shape1$Adjustments()))
str(getFuncs(shape1$Adjustments())[[12]]) # getter
str(getFuncs(shape1$Adjustments())[[13]]) # setter
In VBA it works like this, supposing the shape is selected:
ActiveWindow.Selection.ShapeRange.Adjustments.Item(1) = 2
Here getting and setting is done by appointing a value or not.
I have no clue how to use the setter via R. Can anyone help?
A lot of thanks in advance!!
Mark
???????????????????????????????????????
Mark Heckmann
Dipl. Wirt.-Ing. cand. Psych.
Vorstra?...
2007 Jun 19
1
[PATCH] Added screen edge trigger delay setting.
...delayedSettings = malloc (sizeof (CompDelayedEdgeSettings));
+ if (delayedSettings)
+ {
+ delayedSettings->d = d;
+ delayedSettings->edge = edge;
+ delayedSettings->state = state;
+ }
+ }
+
o[0].value.i = event->xcrossing.window;
o[1].value.i = d->activeWindow;
o[2].value.i = event->xcrossing.state;
@@ -918,21 +1023,20 @@ handleActionEvent (CompDisplay *d,
o[6].name = "time";
o[6].value.i = event->xcrossing.time;
- for (p = getPlugins (); p; p = p->next)
+ if (delayedSettings)
{
- if (p->vTable->getDisplay...
2007 Mar 03
1
sticky windows and rotate focus
...3b3 100644
--- a/src/display.c
+++ b/src/display.c
@@ -3135,7 +3135,12 @@ focusDefaultWindow (CompDisplay *d)
}
}
else
- focus = w;
+ {
+ /* only focus sticky window if it already had focus */
+ if (!(w->state & CompWindowStateStickyMask) ||
+ w->id == d->activeWindow)
+ focus = w;
+ }
}
}
}
2007 May 19
2
Crash in blur.c (SIGSEGV)
...1
nd = (NEGDisplay *) 0xc36550
#20 0x00002aaaae30a3b2 in zoomHandleEvent (d=0x633f00, event=0x7fff0f24ad30) at zoom.c:537
s = (CompScreen *) 0x7fff0f24ad30
zd = (ZoomDisplay *) 0xc732e0
#21 0x00002aaaae5135f5 in blurHandleEvent (d=0x1e67540, event=0x0) at blur.c:2210
activeWindow = 20971530
bd = (BlurDisplay *) 0xc80dc0
#22 0x00002aaaae9495ed in decorHandleEvent (d=0x633f00, event=0x7fff0f24ad30) at decoration.c:910
activeWindow = 20971530
w = <value optimized out>
dd = (DecorDisplay *) 0xce2470
#23 0x00002aaaaeb4c593 in regexHandleEven...
2014 Nov 24
1
Contributor Contributions
...c8395b
Author: Scott Moreau <oreaus at gmail.com>
Date: Fri Mar 18 19:02:46 2011 -0600
Remove unused macro.
commit 00a508cd491e834b802980174e7c0c8cec8acdac
Author: Scott Moreau <oreaus at gmail.com>
Date: Fri Mar 18 13:08:36 2011 +0800
If the root window gets focus, unset activeWindow before calling
focusDefaultWindow to make sure the latter really focusses another window.
Forward port 33f695e7c6e4fb8ac627df0978fea7771fe1b3d5 to master
commit 1fb701594b78e950c031974d83c3566d1d648156
Author: Scott Moreau <oreaus at gmail.com>
Date: Fri Mar 18 13:06:13 2011 +0800...