I was wondering how the window manager registers itself with the X server, and how it knows what process to kill when it goes about replacing the current window manager
|
X just keep waiting for the return of the process of wm/de. Suppose you have a line of | |||
|
feedback
|
dwmwould be useful to read -- the whole window manager is just over 2000 lines, although lacking replace. Metacity'ssrc/core/screen.c:322too. (I'm only suggesting as a practical example, not as documentation.) – grawity Sep 8 '11 at 21:32