search for: updateworkareaforscreen

Displaying 2 results from an estimated 2 matches for "updateworkareaforscreen".

2006 Nov 07
1
Set workarea per output (instead of screen)?
Hey, I'm thinking about the addition of the getWorkareaForOutput method, and I'm wondering if it wouldn't make sense to define the workarea as part of the CompOutput struct and set it up as part of (or replacing?) the updateWorkareaForScreen call. Either that or make the call to getWorkareaForOutput redo the extents calculation on the windows within only that output. Which do you think makes more sense? A key issue as I see it is that panels, etc., may only be on a given output and not necessarily on the outer edges, so for a window...
2006 Oct 13
1
[PATCH] Extra Notifications
...+ w->id = 1; w->mapNum = 0; @@ -1943,6 +1947,8 @@ mapWindow (CompWindow *w) w->attrib.width, ++w->attrib.height - 1, w->attrib.border_width); } + + (*w->screen->windowMapNotify) (w); } void @@ -1984,6 +1990,8 @@ unmapWindow (CompWindow *w) updateWorkareaForScreen (w->screen); updateClientListForScreen (w->screen); + + (*w->screen->windowUnmapNotify) (w); } static int @@ -2355,6 +2363,26 @@ focusWindow (CompWindow *w) } void +windowCreateNotify (CompWindow *w) +{ +} + +void +windowDestroyNotify (CompWindow *w) +{ +} + +void +win...