On Mittwoch 13 Februar 2008, Divan Burger wrote:
What is the problem without the patch? is the caption bar drawn too high 1 pixel?
I ask because i have a patch that restores the 1 pixel high line between the caption bar and the client area (and at the same time decreases the height of the caption bar) see it attached
for the NC_DrawXXXButton functions: you also need to update hittest calculation else the wrong buttons are activated. For example when you press the mouse down on the left side of the close button, but maximize gets activated
case SM_CYCAPTION: if (!spi_loaded[SPI_NONCLIENTMETRICS_IDX]) load_nonclient_metrics();
- return nonclient_metrics.iCaptionHeight + 1;
- return nonclient_metrics.iCaptionHeight;
this breaks a test in sysparams.c:2416 ok_gsm( SM_CYCAPTION, ncm.iCaptionHeight+1); and 5 other tests
Greetings Peter