1. 06 Jul, 2002 1 commit
    • Havoc Pennington's avatar
      put _NET_DESKTOP_NAMES in the array of atom names, so desktop names might · 8c3437fd
      Havoc Pennington authored
      2002-07-06  Havoc Pennington  <hp@pobox.com>
      
      	* src/display.c (meta_display_open): put _NET_DESKTOP_NAMES in the
      	array of atom names, so desktop names might work and we don't read
      	uninitialized memory.
      
      	* src/main.c (main): add VERSION/timestamp verbose message.
      
      	* src/keybindings.c: implement cycle_windows cycle_panels
      
      	* src/metacity.schemas.in: add the cycle_windows cycle_panels
      	keybindings
      
      	* src/prefs.h (META_KEYBINDING_FOCUS_PREVIOUS): replace
      	FOCUS_PREVIOUS key binding with CYCLE_WINDOWS and CYCLE_PANELS
      	(not good names really, but I don't have ideas).
      
      	* src/common.h: add a grab op for alt+esc window cycling
      8c3437fd
  2. 05 Jul, 2002 2 commits
  3. 03 Jul, 2002 1 commit
    • Havoc Pennington's avatar
      use new macros to get whether we allow move/resize correct · d826e620
      Havoc Pennington authored
      2002-07-02  Havoc Pennington  <hp@pobox.com>
      
      	* src/window.c (meta_window_show_menu): use new macros to get
      	whether we allow move/resize correct
      
      	* src/frame.c (meta_frame_get_flags): use new macros to get
      	whether we can move/resize correct, considering
      	maximized/fullscreen for the move case.
      
      	* src/window.h (META_WINDOW_ALLOWS_RESIZE,
      	META_WINDOW_ALLOWS_MOVE): new macros
      
      	* src/keybindings.c (process_keyboard_resize_grab): finish the
      	right/left resize, patch from Jayaraj #78179.
      
      	Has the same old move/resize bug, if it hits a constraint it
      	starts to break because we move without resizing.
      d826e620
  4. 02 Jul, 2002 2 commits
    • Stanislav Visnovsky's avatar
      Updated Slovak translation. · 1db28d3b
      Stanislav Visnovsky authored
      2002-07-02  Stanislav Visnovsky <visnovsky@nenya.ms.mff.cuni.cz>
      
      	* sk.po: Updated Slovak translation.
      1db28d3b
    • Mark McLoughlin's avatar
      rename from {un}grab_all_keys_and_keyboard and only do an XKeyboardGrab, · b6177f74
      Mark McLoughlin authored
      2002-07-02  Mark McLoughlin  <mark@skynet.ie>
      
              * src/keybindings.c:
              (grab_keyboard), (ungrab_keyboard): rename from
              {un}grab_all_keys_and_keyboard and only do an XKeyboardGrab,
              the XKeyGrab isn't neccessary.
              (meta_screen_grab_all_keys), (meta_screen_ungrab_all_keys),
              (meta_window_grab_all_keys), (meta_window_ungrab_all_keys):
              update for above change.
              (handle_workspace_switch): don't use a MetaWindow when
              workspace switching, use the root window instead.
      b6177f74
  5. 01 Jul, 2002 1 commit
    • Mark McLoughlin's avatar
      Fix broken workspace switching from my previous commit. · 086f3d80
      Mark McLoughlin authored
      2002-07-01  Mark McLoughlin  <mark@skynet.ie>
      
              Fix broken workspace switching from my previous commit.
      
              * src/display.c: (meta_display_begin_grab_op): don't
              leak a pointer grab if we fail to grab the keyboard.
      
              * src/keybindings.c: (meta_screen_grab_keys): check
              screen->all_keys_grabbed.
              (meta_screen_grab_all_keys): regrab our standard
              bindings if we fail.
              (handle_workspace_switch): revert to our previous
              behaviour of using the last focused window to do
              the grab upon. Only use the RootWindow if there
              isn't anything else to use.
      
              * src/screen.c: (meta_screen_new): initialise
              all_keys_grabbed.
      086f3d80
  6. 27 Jun, 2002 1 commit
    • Mark McLoughlin's avatar
      Fixes not being able to tab out of a workspace which contains no windows. · 6b72d622
      Mark McLoughlin authored
      2002-06-26  Mark McLoughlin  <mark@skynet.ie>
      
              Fixes not being able to tab out of a
              workspace which contains no windows.
      
              * src/core.c: (meta_core_begin_grab_op): upd
              for meta_display_begin_grab_op change.
              (meta_core_get_grab_frame): allow for
              grab_window == NULL.
      
              * src/display.[ch]:
              (meta_display_screen_for_xwindow): implement.
              (meta_display_begin_grab_op): grab on the root window
              if window == NULL.
              (meta_display_end_grab_op): use grab_screen instead of
              grab_window.
      
              * src/keybindings.c:
              (grab_all_keys_and_keyboard): split out from
              meta_window_grab_all_keys.
              (ungrab_all_keys_and_keyboard): split out from
              meta_window_ungrab_all_keys.
              (meta_screen_grab_all_keys), (meta_screen_ungrab_all_keys):
              implement grabbing and ungrabbing on the root window.
              (meta_display_process_key_event): if window == NULL,
              check the event is from the same screen and process. Only
              happens with workspace switching.
              (process_workspace_switch_grab): kill window param and
              don't use grab_window.
              (handle_tab_forward), (handle_begin_move): upd for
              meta_display_begin_grab_op change.
              (handle_workspace_switch): remove brokeness. Always do
              the grab op on the root window.
      
              * src/keybindings.h: add meta_screen_{un}grab_all_keys.
      
              * src/window.c: (meta_window_client_message), (menu_callback):
              update for meta_display_begin_grab_op change.
      6b72d622
  7. 25 Jun, 2002 5 commits
    • Mark McLoughlin's avatar
      s/gdk_get_default_display/gdk_display_get_default/ · f0a81142
      Mark McLoughlin authored
      2002-06-25  Mark McLoughlin  <mark@skynet.ie>
      
              * src/fixedtip.c: (meta_fixed_tip_show):
              * src/frames.c: (meta_frames_new):
              * src/tabpopup.c: (meta_ui_tab_popup_new):
              s/gdk_get_default_display/gdk_display_get_default/
              s/gdk_get_default_screen/gdk_screen_get_default/
      f0a81142
    • Mark McLoughlin's avatar
      added support for border only windows. · b3a72a61
      Mark McLoughlin authored
      2002-06-25  Mark McLoughlin  <mark@skynet.ie>
      
              * src/themes/Crux/active-border-top-left-border.png:
              * src/themes/Crux/active-border-top-right-border.png:
              * src/themes/Crux/active-top-left-corner.png:
              * src/themes/Crux/active-top-mid-left-border.png:
              * src/themes/Crux/active-top-mid-right-border.png:
              * src/themes/Crux/active-top-right-corner.png:
              * src/themes/Crux/inactive-border-top-left-border.png:
              * src/themes/Crux/inactive-border-top-right-border.png:
              * src/themes/Crux/inactive-top-left-corner.png:
              * src/themes/Crux/inactive-top-mid-border.png:
              * src/themes/Crux/inactive-top-right-corner.png:
              * src/themes/Crux/metacity-theme-1.xml: added support
              for border only windows.
      b3a72a61
    • James M. Cape's avatar
      Added some stuff to the window buttons, so they use the ACTIVE bg/fg. · f94a3d08
      James M. Cape authored
      2002-06-24  James M. Cape  <jcape@ignore-your.tv>
      
      	* src/themes/Esco/metacity-theme-1.xml: Added some stuff to
      	the window buttons, so they use the ACTIVE bg/fg.
      f94a3d08
    • Pablo Gonzalo del Campo's avatar
      Updated Spanish translation. · d9102673
      Pablo Gonzalo del Campo authored
      2002-06-24 Pablo Gonzalo del Campo <pablodc@bigfoot.com>
      
      	* es.po: Updated Spanish translation.
      d9102673
    • Mark McLoughlin's avatar
      src/screen.c: (set_supported_hint), (set_work_area_hint): Its · d7b4eec7
      Mark McLoughlin authored
      2002-06-25  Mark McLoughlin  <mark@skynet.ie>
      
              * src/display.[ch]: (meta_display_open):
                src/screen.c: (set_supported_hint), (set_work_area_hint):
              Its _NET_WORKAREA, not _NET_WM_WORKAREA silly :-)
      
      2002-06-25  Mark McLoughlin  <mark@skynet.ie>
      
              * src/screen.[ch]:
              (update_num_workspaces), recalc workarea hint when
              new workspaces created. Fixes bug that workarea
              not calculated until first non-dock window is
              mapped.
              (set_work_area_hint), (set_work_area_idle_func),
              (meta_screen_queue_workarea_recalc): move all this
              stuff from workspace.c.
      
              * src/workspace.c: (meta_workspace_invalidate_work_area):
              use meta_screen_queue_workarea_recalc.
      d7b4eec7
  8. 24 Jun, 2002 2 commits
  9. 23 Jun, 2002 4 commits
  10. 22 Jun, 2002 4 commits
    • Christian Rose's avatar
      Updated Swedish translation. · 5eca441b
      Christian Rose authored
      2002-06-23  Christian Rose  <menthos@menthos.com>
      
      	* sv.po: Updated Swedish translation.
      5eca441b
    • Havoc Pennington's avatar
      do nothing if screen is being unmanaged, we don't want to blow away state, · 8a8171eb
      Havoc Pennington authored
      2002-06-22  Havoc Pennington  <hp@pobox.com>
      
      	* src/workspace.c (set_number_of_spaces_hint): do nothing if
      	screen is being unmanaged, we don't want to blow away state,
      	we want to remember it for the next window manager.
      
      2002-06-22  Havoc Pennington  <hp@pobox.com>
      
      	* src/workspace.c (meta_screen_ensure_workspace_popup): rename
      	from meta_workspace_ensure_tab_popup, and use workspace->name
      	instead of a hardcoded name
      8a8171eb
    • Havoc Pennington's avatar
      new utility function · 0243071f
      Havoc Pennington authored
      2002-06-22  Havoc Pennington  <hp@pobox.com>
      
      	* src/xprops.c (meta_prop_get_utf8_list): new utility function
      
      	* src/display.c (meta_display_open): _NET_DESKTOP_NAMES atom
      	(event_callback): update workspace names when the property changes
      
      	* src/screen.c (set_supported_hint): "support" _NET_DESKTOP_NAMES
      	(nothing to do really)
      0243071f
    • Havoc Pennington's avatar
      Theme breakage! Themes have to implement "border" frames now, see Atlanta · de42a62f
      Havoc Pennington authored
      2002-06-21  Havoc Pennington  <hp@pobox.com>
      
              Theme breakage! Themes have to implement "border" frames
      	now, see Atlanta for an example. Fixes #84285
      
      	* src/tools/metacity-window-demo.c (do_appwindow): add a
      	border-only window
      
      	* src/window.c (update_mwm_hints): read border only from the MWM
      	hints
      
      	* src/window.h (struct _MetaWindow): add border_only flag
      
      	* src/core.c (meta_core_get_frame_type): report border type if
      	required
      
      	* src/common.h (enum): add META_FRAME_TYPE_BORDER
      de42a62f
  11. 20 Jun, 2002 1 commit
  12. 19 Jun, 2002 2 commits
    • Ole Laursen's avatar
      Updated Danish translation. · fb49dabc
      Ole Laursen authored
      2002-06-19  Ole Laursen  <olau@hardworking.dk>
      
      	* da.po: Updated Danish translation.
      fb49dabc
    • Havoc Pennington's avatar
      handle UNKNOWN keyboard resizing state · b0d3660c
      Havoc Pennington authored
      2002-06-19  Havoc Pennington  <hp@pobox.com>
      
      	* src/display.c (meta_resize_gravity_from_grab_op): handle UNKNOWN
      	keyboard resizing state
      
      	* src/keybindings.c (process_keyboard_resize_grab): implement
      	keyboard resize key handling somewhat (only vertical resize works,
      	left/right arrow not implemented, and visual feedback of the
      	edge we're resizing isn't implemented)
      
      	* src/window.c (menu_callback): start keyboard resize grab when
      	it's chosen from the menu
      b0d3660c
  13. 18 Jun, 2002 3 commits
  14. 17 Jun, 2002 2 commits
  15. 16 Jun, 2002 3 commits
    • Christian Rose's avatar
      Added missing file. Updated Swedish translation. · 3e3bbe0e
      Christian Rose authored
      2002-06-16  Christian Rose  <menthos@menthos.com>
      
      	* POTFILES.in: Added missing file.
      	* sv.po: Updated Swedish translation.
      3e3bbe0e
    • Havoc Pennington's avatar
      fix spelling error, #85452 · 82a6ba02
      Havoc Pennington authored
      2002-06-16  Havoc Pennington  <hp@pobox.com>
      
      	* src/main.c (main): fix spelling error, #85452
      82a6ba02
    • Havoc Pennington's avatar
      don't pass a null string to printf · 82a43d88
      Havoc Pennington authored
      2002-06-15  Havoc Pennington  <hp@pobox.com>
      
      	* src/keybindings.c (meta_display_process_key_event): don't pass a
      	null string to printf
      
      	* src/display.c (key_event_description): don't pass a null string
      	to printf
      
      	* src/keybindings.c (meta_set_keybindings_disabled): allow
      	enable/disable keybindings regardless of debug mode.
      82a43d88
  16. 15 Jun, 2002 4 commits
  17. 14 Jun, 2002 2 commits