[CinCV TNG] [PATCH] Rewrite of BC_DisplayInfo::test_window

Einar R√ľnkaru einarrunkaru at gmail.com
Thu Apr 23 19:46:28 CEST 2015


The function test_window attempts to determine what direction and how
much window manager moves window when drawing decorations around
the window.

This change simplifies the function: drawing only
one window in some distance from screen borders, giving explictly
some time to WM for finishing drawing and then detecting the maximum
of coordinate change.

The funcion gives name guicast_test to the created window.
This makes possible to configure WM to treat the window
specifically if needed.

Patch attached.

Einar
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-Rewrite-of-BC_DisplayInfo-test_window.patch
Type: text/x-patch
Size: 5833 bytes
Desc: not available
URL: <http://lists.cinelerra-cv.org/pipermail/cinelerra/attachments/20150423/6c299d4e/attachment.bin>


More information about the Cinelerra mailing list