164 |
#endif |
#endif |
165 |
|
|
166 |
progname = argv[0]; |
progname = argv[0]; |
167 |
|
progname = strrchr(progname, '/') + sizeof(char); |
168 |
|
|
169 |
decode_switches (argc, argv); |
decode_switches (argc, argv); |
170 |
|
|
189 |
exit (1); |
exit (1); |
190 |
} |
} |
191 |
|
|
192 |
session_init (argv[0], sm_client_id); |
session_init (progname, sm_client_id); |
193 |
act.sa_handler = handleSignal; |
act.sa_handler = handleSignal; |
194 |
act.sa_flags = 0; |
act.sa_flags = 0; |
195 |
if (sigaction (SIGINT, &act, NULL)) |
if (sigaction (SIGINT, &act, NULL)) |
227 |
setGnomeHint (gnome_win, win_supporting_wm_check, gnome_win); |
setGnomeHint (gnome_win, win_supporting_wm_check, gnome_win); |
228 |
setSupportingWmCheck (root, gnome_win); |
setSupportingWmCheck (root, gnome_win); |
229 |
setSupportingWmCheck (gnome_win, gnome_win); |
setSupportingWmCheck (gnome_win, gnome_win); |
230 |
|
setNetWmName(gnome_win, net_atoms[NET_WM_NAME],"oroborus"); |
231 |
setGnomeHint (root, win_desktop_button_proxy, gnome_win); |
setGnomeHint (root, win_desktop_button_proxy, gnome_win); |
232 |
setGnomeHint (gnome_win, win_desktop_button_proxy, gnome_win); |
setGnomeHint (gnome_win, win_desktop_button_proxy, gnome_win); |
233 |
getGnomeHint (root, win_workspace, &workspace); |
getGnomeHint (root, win_workspace, &workspace); |