search for: focuswindow

Displaying 3 results from an estimated 3 matches for "focuswindow".

2006 Oct 13
1
[PATCH] Extra Notifications
...e notifications that can be easilly used in plugins. -------------- next part -------------- diff --git a/include/compiz.h b/include/compiz.h index 61a9de5..ccce7c3 100644 --- a/include/compiz.h +++ b/include/compiz.h @@ -1245,6 +1245,14 @@ typedef void (*SetWindowScaleProc) (Comp typedef Bool (*FocusWindowProc) (CompWindow *window); +typedef void (*WindowCreateNotifyProc) (CompWindow *window); + +typedef void (*WindowDestroyNotifyProc) (CompWindow *window); + +typedef void (*WindowMapNotifyProc) (CompWindow *window); + +typedef void (*WindowUnmapNotifyProc) (CompWindow *window); + typedef void (*W...
2007 Apr 19
0
[PATCH] Make focusDefaultWindow () take a CompScreen as argument
...d->screens; s; s = s->next) + for (w = s->reverseWindows; w; w = w->prev) { - for (w = s->reverseWindows; w; w = w->prev) - { - if (w->type & CompWindowTypeDockMask) - continue; + if (w->type & CompWindowTypeDockMask) + continue; - if ((*s->focusWindow) (w)) + if ((*s->focusWindow) (w)) + { + if (focus) { - if (focus) + if (w->type & (CompWindowTypeNormalMask | + CompWindowTypeDialogMask | + CompWindowTypeModalDialogMask)) { - if (w->type & (CompWindowTypeNormalMask | - CompWindowTypeDi...
2009 Feb 20
0
[ANNOUNCE] compiz-0.8.0
...sure that bindings of other plugins are not trigger accidentially. The scenario for that is e.g. Scale being bound to Ctrl +Shift+Up and some other binding being bound to Ctrl+Shift+Left/Right. Added options for making scale's key and button bindings adding as toggle switches. Check focusWindow function before focussing a window due to click or enter event. Drop type check in resize validation function. Don't set demands_attention state if the window explicitly requested not to get focus. Also check focusWindow function when processing focus request client messages....