## gva-wnck gva-wnck — Game Window Management |

## Synopsis

    void                gva_wnck_listen_for_new_window      (GvaProcess *process,
                                                             const gchar *game);

## Description

XXX Long description here.

## Details

### gva_wnck_listen_for_new_window ()

    void                gva_wnck_listen_for_new_window      (GvaProcess *process,
                                                             const gchar *game);

Implements spatial MAME windows.

This function gets called immediately after a game is started. It uses libwnck to listen for a new window, and does its best to verify whether it's a MAME window. If it identifies the window, it restores the size, position and maximize state of that particular game from the previous session and records any further window geometry changes. The game database is used as the storage medium for window geometries.

`process` : | a GvaProcess
`game` : | the game that `process` is running