Displaying 5 results from an estimated 5 matches for "compactionstatetermbutton".
2006 Oct 16
2
Edge + Mouse button draft patches
...t --------------
diff --git a/plugins/scale.c b/plugins/scale.c
index 7095c2d..94e4258 100644
--- a/plugins/scale.c
+++ b/plugins/scale.c
@@ -1075,11 +1075,14 @@ scaleInitiate (CompDisplay *d,
damageScreen (s);
}
- if (state & CompActionStateInitButton)
- action->state |= CompActionStateTermButton;
+ if (!(action->edgeMask & d->mouseOnEdge))
+ {
+ if (state & CompActionStateInitButton)
+ action->state |= CompActionStateTermButton;
- if (state & CompActionStateInitKey)
- action->state |= CompActionStateTermKey;
+ if (state & Comp...
2006 Oct 25
2
[PATCH] Edge buttons
...t --------------
diff --git a/plugins/scale.c b/plugins/scale.c
index 7095c2d..31864be 100644
--- a/plugins/scale.c
+++ b/plugins/scale.c
@@ -1075,11 +1075,14 @@ scaleInitiate (CompDisplay *d,
damageScreen (s);
}
- if (state & CompActionStateInitButton)
- action->state |= CompActionStateTermButton;
+ if (!(action->edgeMask & d->mouseOnEdge))
+ {
+ if (state & CompActionStateInitButton)
+ action->state |= CompActionStateTermButton;
- if (state & CompActionStateInitKey)
- action->state |= CompActionStateTermKey;
+ if (state & Comp...
2006 Nov 08
2
bug in today's git snapshot with maximizing windows
...> index 7095c2d..31864be 100644
> --- a/plugins/scale.c
> +++ b/plugins/scale.c
> @@ -1075,11 +1075,14 @@ scaleInitiate (CompDisplay *d,
> damageScreen (s);
> }
>
> - if (state & CompActionStateInitButton)
> - action->state |= CompActionStateTermButton;
> + if (!(action->edgeMask & d->mouseOnEdge))
> + {
> + if (state & CompActionStateInitButton)
> + action->state |= CompActionStateTermButton;
>
> - if (state & CompActionStateInitKey)
> - action->stat...
2007 Jun 19
1
[PATCH] Added screen edge trigger delay setting.
---
include/compiz.h | 17 ++++++-
metadata/core.xml.in | 7 +++
src/display.c | 5 ++-
src/event.c | 130 +++++++++++++++++++++++++++++++++++++++++++++-----
4 files changed, 143 insertions(+), 16 deletions(-)
diff --git a/include/compiz.h b/include/compiz.h
index dd34f00..abb1169 100644
--- a/include/compiz.h
+++ b/include/compiz.h
@@ -26,7 +26,7 @@
#ifndef
2006 Nov 12
1
[PATCH] Annotate shapes, text and dbus support
...+
+ annoDrawLine (s, as->startX, as->startY,
+ pointerX, pointerY,
+ lineWidth, fillColor);
+
+ }
+ }
+ }
+
+ removeScreenGrab (s, as->grabIndex, NULL);
+ as->grabIndex = 0;
+ }
+ }
+
+ action->state &= ~(CompActionStateTermKey | CompActionStateTermButton);
+
+ return FALSE;
+}
+
+static Bool
+annoEraseTerminate (CompDisplay *d,
+ CompAction *action,
+ CompActionState state,
+ CompOption *option,
+ int nOption)
+{
CompScreen *s;
Window xid;
@@ -267,6 +720,7 @@
cr = annoCairoContex...