summaryrefslogtreecommitdiff
path: root/src/session.c
AgeCommit message (Collapse)AuthorFilesLines
2002-08-01send a SaveYourselfDone if we're skipping this global save.Mark McLoughlin1-1/+17
2002-08-01 Mark McLoughlin <mark@skynet.ie> * src/session.c: (save_yourself_possibly_done): send a SaveYourselfDone if we're skipping this global save. (save_yourself_callback): don't not save session state if the save style is Global. Fixes #89390. * theme-format.txt: update.
2002-07-13don't display the dialog if all the apps were session managed.Havoc Pennington1-0/+7
2002-07-12 Havoc Pennington <hp@pobox.com> * src/session.c (warn_about_lame_clients_and_finish_interact): don't display the dialog if all the apps were session managed.
2002-07-13don't send SmInteractDone until the warning dialog about crappy clientsHavoc Pennington1-12/+64
2002-07-12 Havoc Pennington <hp@pobox.com> * src/session.c: don't send SmInteractDone until the warning dialog about crappy clients has been closed.
2002-06-23Partially fix Jacob's SM bugs.Havoc Pennington1-5/+57
2002-06-22 Havoc Pennington <hp@pobox.com> Partially fix Jacob's SM bugs. * src/window.c (meta_window_apply_session_info): restore the extra stuff we're saving, except stack position I didn't figure out yet. * src/session.c: save stack position, minimized, maximized, in the session file.
2002-06-08call meta_session_shutdown when exiting cleanlyHavoc Pennington1-1/+32
2002-06-08 Havoc Pennington <hp@pobox.com> * src/main.c (main): call meta_session_shutdown when exiting cleanly * src/session.c (meta_session_shutdown): function to change use to RestartIfRunning (meta_session_init): change normal restart hint to RestartImmediately
2002-06-01add some missing \n (meta_session_init): remove the #if 0 interactHavoc Pennington1-9/+3
2002-06-01 Havoc Pennington <hp@pobox.com> * src/session.c: add some missing \n (meta_session_init): remove the #if 0 interact callback from our initial SmcOpenConnection call, this arg to SmcOpenConnection doesn't exist.
2002-06-01put in more debug spew about the sessionHavoc Pennington1-0/+21
2002-06-01 Havoc Pennington <hp@pobox.com> * src/session.c: put in more debug spew about the session
2002-05-30improve error about failing to open session manager.Havoc Pennington1-4/+149
2002-05-29 Havoc Pennington <hp@pobox.com> * src/session.c (meta_session_init): improve error about failing to open session manager. (shutdown_cancelled_callback): send SmcSaveYourselfDone when we get cancelled (interact_callback): implement an interact callback that complains about lame clients that can't be saved. Still somewhat buggy in that it sends InteractDone before the user has closed the dialog.
2002-04-25g_file_get_contents() takes a gsize not int (fixes bus error on 64-bitjacob berkman1-1/+1
2002-04-25 jacob berkman <jacob@ximian.com> * src/session.c (load_state): g_file_get_contents() takes a gsize not int (fixes bus error on 64-bit platforms)
2002-03-17use proper property name for SmDiscardCommand (instead of setting theHavoc Pennington1-3/+5
2002-03-17 Havoc Pennington <hp@pobox.com> * src/session.c (set_clone_restart_commands): use proper property name for SmDiscardCommand (instead of setting the clone command to "rm"). Also fix typo that iterated over clonev not discardv to fill in prop list, and NULL-terminate discardv. #74584 from Kang Jeong-Hee.
2002-03-14put back --sm-client-id argument, needed for including us in a defaultHavoc Pennington1-23/+32
2002-03-13 Havoc Pennington <hp@pobox.com> * src/main.c (main): put back --sm-client-id argument, needed for including us in a default session
2002-03-14don't save a file here, only in response to SaveYourself. Change the codeHavoc Pennington1-64/+121
2002-03-13 Havoc Pennington <hp@pobox.com> * src/session.c (meta_session_init): don't save a file here, only in response to SaveYourself. Change the code to properly use a unique state file for each SaveYourself. Totally, totally untested.
2002-02-09put in some kind of distinctive frame for UTILITY, though it's ugly. AlsoHavoc Pennington1-0/+10
2002-02-09 Havoc Pennington <hp@pobox.com> * src/themes/Atlanta/metacity-theme-1.xml: put in some kind of distinctive frame for UTILITY, though it's ugly. Also put in the borderless look for maximized windows. * src/stack.c (compute_layer): put splash screen in the splash layer * src/stack.h (enum): create a splash screen layer * src/place.c (meta_window_place): center splashscreen, and fix a typo in the centering code * src/window.c (recalc_window_features): disable most features on splash screens * src/screen.c (set_supported_hint): add UTILITY and SPLASHSCREEN hints * src/window.c: add UTILITY, SPLASHSCREEN implementation * src/window.h (enum): add UTILITY, SPLASHSCREEN types * src/theme-parser.c (parse_toplevel_element): parser support for has_title attribute * src/theme.c (meta_frame_layout_get_borders): handle a has_title field in the layout, for utility windows that don't display a title (would be better to be able to shrink the title text, but that's kind of tricky to implement :-/)
2002-02-08Throughout: move to meta_topic rather than meta_verbose so metacity.logHavoc Pennington1-48/+50
2002-02-07 Havoc Pennington <hp@pobox.com> Throughout: move to meta_topic rather than meta_verbose so metacity.log can start being more useful * src/util.h (enum): add more debug topics * src/frames.c: clean up some cruft that caused warnings
2001-12-09move SM init a bit later in the process, and init prefsHavoc Pennington1-0/+14
2001-12-09 Havoc Pennington <hp@pobox.com> * src/main.c (main): move SM init a bit later in the process, and init prefs * src/session.c: fix no SM case (though I hardly know why I'm bothering) * src/main.c (main): call bindtextdomain * src/util.h (_): actually call gettext * configure.in: put in AM_GLIB_GNU_GETTEXT and gconf stuff * src/prefs.c: Preferences - this marks the beginning of our doom. None of them are actually implemented yet, but we monitor some stuff from gconf.
2001-10-14take a window mapped at fullscreen size/pos to desire maximization; once IHavoc Pennington1-5/+0
2001-10-14 Havoc Pennington <hp@pobox.com> * src/window.c (meta_window_new): take a window mapped at fullscreen size/pos to desire maximization; once I add a fullscreen state, will change to copy kwin and take this mapping as a desire for fullscreen, but for now testing with maximization. * src/window.h: remove fullscreen window type, now proposing it as a window state instead. 2001-10-14 Havoc Pennington <hp@pobox.com> * src/window.c (meta_window_maximize): always raise windows on maximize (meta_window_client_message): when activating a window, move it to current workspace, instead of moving user to the window's workspace.
2001-10-13hmm, fix buildHavoc Pennington1-1/+1
2001-10-13 Havoc Pennington <hp@pobox.com> * src/session.c (meta_session_init): hmm, fix build
2001-10-12set the session manager priority so we start up before other apps.Havoc Pennington1-3/+12
2001-10-12 Havoc Pennington <hp@pobox.com> * src/session.c (meta_session_init): set the session manager priority so we start up before other apps.
2001-10-05add code to grab all modifier combinations, so keybindings work withHavoc Pennington1-7/+11
2001-10-04 Havoc Pennington <hp@pobox.com> * src/keybindings.c (meta_change_keygrab): add code to grab all modifier combinations, so keybindings work with NumLock etc. * src/menu.c (meta_window_menu_new): remove newlines from menu items 2001-09-27 Havoc Pennington <hp@pobox.com> * src/session.c (save_state): when encoding text for session file, escape XML entities
2001-09-17disconnect this callback on errorHavoc Pennington1-1/+3
2001-09-16 Havoc Pennington <hp@pobox.com> * src/session.c (process_ice_messages): disconnect this callback on error
2001-09-16add support for a mini icon in the titlebar (update_icon): re-enableHavoc Pennington1-9/+15
2001-09-15 Havoc Pennington <hp@pobox.com> * src/window.c: add support for a mini icon in the titlebar (update_icon): re-enable support for _NET_WM_ICON * src/session.c (save_state): add an ferror check when writing session file
2001-08-29add crackrock window-outlining featureHavoc Pennington1-0/+5
2001-08-29 Havoc Pennington <hp@pobox.com> * src/tabpopup.c: add crackrock window-outlining feature * src/session.c (window_type_to_string): handle fullscreen
2001-07-28...rhp1-0/+4
2001-07-28...rhp1-15/+222
2001-07-27...rhp1-12/+52
2001-07-27...rhp1-9/+492
2001-07-26...rhp1-4/+223
2001-07-12...rhp1-0/+4
2001-06-22...rhp1-3/+453
2001-06-09...rhp1-0/+27