Commits on Source (3)
-
Keith Packard authored
Allows constant strings to be passed to these functions without generating a compiler warning. Signed-off-by:
Keith Packard <keithp@keithp.com>
-
Keith Packard authored
Output scaling: * Changes to mivaltree to reset window clip to owner window size instead of server window size when compositing * Allocate owner window size pixmap for composite pixmap * Paint scaled image for automatic compositing * Report owner window size in events to the window owner. * Scale exposure damage in compSetRedirectBorderClip from current size to owner size to make sure the correct parts of the window are repainted. Input scaling: * Change miSpriteTrace to scale cursor coordinates when transiting an owner-sized window. Do all computations in double to handle multiple such transitions without losing bits * Add ScaleRootCoordinate in events.c. This function takes a window and a root x/y and walks up the tree scaling each time there is an owner size set. * Use ScaleRootCoordinate in FixUpEventFromWindow. * Wrap event delivery in DeliverEvent in new SaveEventRootCoord/RestoreEventRootCoord functions so that different windows receiving the same event will all receive the correct coordinates. Composite events: * Deliver CompositePixmapNotify events from compSetPixmapVisitWindow so that applications will be notified each time the pixmap changes. * Deliver CompositeOwnerWindowSizeNotify events when owner window size is set. Signed-off-by:
Keith Packard <keithp@keithp.com>
-
Keith Packard authored
This ensures that present clients generate output suitable for the size of the presented area. Signed-off-by:
Keith Packard <keithp@keithp.com>
Showing
- composite/Makefile.am 1 addition, 0 deletionscomposite/Makefile.am
- composite/compalloc.c 2 additions, 2 deletionscomposite/compalloc.c
- composite/compevent.c 171 additions, 0 deletionscomposite/compevent.c
- composite/compext.c 176 additions, 9 deletionscomposite/compext.c
- composite/compinit.c 3 additions, 0 deletionscomposite/compinit.c
- composite/compint.h 42 additions, 0 deletionscomposite/compint.h
- composite/compwindow.c 197 additions, 1 deletioncomposite/compwindow.c
- composite/meson.build 1 addition, 0 deletionscomposite/meson.build
- dix/dispatch.c 5 additions, 0 deletionsdix/dispatch.c
- dix/events.c 98 additions, 3 deletionsdix/events.c
- dix/window.c 43 additions, 6 deletionsdix/window.c
- include/dix.h 4 additions, 0 deletionsinclude/dix.h
- include/input.h 2 additions, 0 deletionsinclude/input.h
- include/windowstr.h 23 additions, 0 deletionsinclude/windowstr.h
- mi/mivaltree.c 25 additions, 4 deletionsmi/mivaltree.c
- mi/miwindow.c 14 additions, 7 deletionsmi/miwindow.c
- miext/damage/damage.c 3 additions, 1 deletionmiext/damage/damage.c
- present/present_screen.c 7 additions, 1 deletionpresent/present_screen.c
- render/filter.c 2 additions, 2 deletionsrender/filter.c
- render/picturestr.h 2 additions, 2 deletionsrender/picturestr.h
composite/compevent.c
0 → 100644