1
0
mirror of https://github.com/gryf/wmaker.git synced 2025-12-21 05:18:06 +01:00

fixed problem with default visual ID for multi-screen setups by using multiple IDs for each screen

Since a single default visual ID cannot be used for multiple screens, thus
Window Maker refused to start. There is now a global function for getting the
default visual ID. The command line argument --visual-id can be a comma
separated list of visual IDs for each screen. A default value is only set for
the first screen.
This commit is contained in:
Ralf Hoffmann
2009-12-10 19:57:23 +01:00
committed by Carlos R. Mafra
parent d8ef209c9a
commit 629b118767
3 changed files with 101 additions and 9 deletions

View File

@@ -148,4 +148,6 @@ char* GetProgramNameForWindow(Window win);
Bool GetCommandForPid(int pid, char ***argv, int *argc);
int getWVisualID(int screen);
#endif