search for: windowstatechangenotify

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

2006 Oct 13
1
[PATCH] Extra Notifications
...CompWindow *window, @@ -1265,6 +1273,10 @@ typedef void (*WindowGrabNotifyProc) (Co typedef void (*WindowUngrabNotifyProc) (CompWindow *window); +typedef void (*WindowMinimizeNotifyProc) (CompWindow *window); + +typedef void (*WindowUnminimizeNotifyProc) (CompWindow *window); + typedef void (*WindowStateChangeNotifyProc) (CompWindow *window); #define COMP_SCREEN_DAMAGE_PENDING_MASK (1 << 0) @@ -1497,10 +1509,16 @@ struct _CompScreen { FocusWindowProc focusWindow; SetWindowScaleProc setWindowScale; + WindowCreateNotifyProc windowCreateNotify; + WindowDestroyNotifyProc windowDestro...
2007 Mar 29
1
replace notify functions with functions that apply changes
I've been thinking about removing all existing notification functions in favor of just having functions that apply changes. This is better as it allow each plugin to execute something both before and after the change has been applied. Example: Instead of wrapping a windowStateChangeNotify function you would wrap a changeWindowState function static void pluginChangeWindowState (CompWindow *w, int state) { int oldState = w->state; PLUGIN_SCREEN (w->screen); if ((oldState ^ state) & STATE_PLUGIN_CARE_ABOUT_MASK) { /* do something interesting */...
2007 Oct 01
4
[ANNOUNCE] compiz-0.6.0
...geometry for viewport and output Add NOTIFY_MODIFY_MASK. Add direct composited video plugin. Video plugin must be stacked above blur and water plugins. Remove whitespaces. Add changeWindowState function. Use changeWindowState instead of setWindowState. Move windowStateChangeNotify call to changeWindowState function. Bump ABI version. Avoid overflow in opacity calculations by changing range of Avoid some duplicate code. Move occlusion detection and window painting to static function. Add unredirect fullscreen windows support to paintScreenRegion....