1. 27 Jan, 2002 1 commit
  2. 22 Jan, 2002 1 commit
  3. 19 Jan, 2002 2 commits
    • Havoc Pennington's avatar
      cheesy client with static bit gravity, used to test the below change. · 5fdb8463
      Havoc Pennington authored
      2002-01-19  Havoc Pennington  <hp@pobox.com>
      
      	* src/wm-tester/test-resizing.c: cheesy client with static
      	bit gravity, used to test the below change.
      
      	* src/window.c (meta_window_move_resize_internal): implement
      	Owen's proposal for window resizing.
      	http://mail.gnome.org/archives/wm-spec-list/1999-November/msg00088.html
      
      	Currently you have to do METACITY_USE_STATIC_GRAVITY=1 in order to
      	use it, because some GDK bug is screwing up exposes on my frames
      	when it's enabled.
      
      	* src/display.c (meta_display_create_x_cursor): fix glyph for
      	NE/NW cursors
      
      	* src/frames.c (get_control): add ability to resize from top
      
      	* src/frame.c (meta_frame_get_flags): can't resize shaded windows
      	(meta_frame_sync_to_window): add gravity arg
      
      	* src/common.h (MetaWindowType): move here from window.h so
      	it can be used in themes stuff.
      	(MetaFrameFlags): remove META_FRAME_TRANSIENT since it
      	overlaps with window type and was unused.
      5fdb8463
    • Havoc Pennington's avatar
      give priority to keeping NW corner onscreen rather than SE, if we need to · 19d2e8c7
      Havoc Pennington authored
      2002-01-18  Havoc Pennington  <hp@pobox.com>
      
      	* src/window.c (constrain_position): give priority to keeping NW
      	corner onscreen rather than SE, if we need to shift the window
      	to fit inside constraints
      
      	* src/frames.c (meta_frames_get_geometry): don't depend on the
      	current window size
      
      	* src/theme.c: move geometry stuff in here, to be calculated as
      	part of the theme
      
      	* src/core.c (meta_core_get_client_size): new function to replace
      	meta_core_get_frame_size() so we don't have weird cycles
      	in the geometry calculation
      19d2e8c7
  4. 15 Jan, 2002 1 commit
  5. 12 Jan, 2002 1 commit
  6. 11 Jan, 2002 1 commit
    • Havoc Pennington's avatar
      only bump unmaps_pending if the window was mapped · 22958961
      Havoc Pennington authored
      2002-01-10  Havoc Pennington  <hp@pobox.com>
      
      	* src/frame.c (meta_window_destroy_frame): only bump
      	unmaps_pending if the window was mapped
      	(meta_window_ensure_frame): ditto
      
      	* src/keybindings.c: change arrow key bindings to use Ctrl+Alt not
      	just Alt, and add debug mode key bindings
      
      	* src/stack.c (meta_stack_get_default_focus_window): don't choose
      	a default focus window with unmaps pending, since we probably just
      	unmapped it.
      
      	* src/display.c (event_callback): move notify_focus on UnmapNotify
      	after the window_free check, so we can move focus to another
      	window when we unmanage
      
      	* src/window.c (meta_window_hide): invalidate work areas when
      	hiding a window with struts
      	(meta_window_free): invalidate work areas when unmanaging a window
      	with struts
      22958961
  7. 10 Jan, 2002 1 commit
    • Havoc Pennington's avatar
      store strut information, update it on property changes, etc. etc. so we · b2bbb306
      Havoc Pennington authored
      2002-01-09  Havoc Pennington  <hp@pobox.com>
      
      	* src/window.c, src/window.h: store strut information,
      	update it on property changes, etc. etc. so we avoid panel
      	on maximize.
      
      	* src/workspace.c (meta_workspace_get_work_area): add accessor for
      	work area so we can compute it lazily
      
      	* src/display.h, src/display.c: add _NET_WM_STRUT atom
      	and _WIN_HINTS atom
      b2bbb306
  8. 09 Jan, 2002 1 commit
  9. 08 Jan, 2002 2 commits
    • Duarte Loreto's avatar
      Updated Portuguese translation. · 884dcec7
      Duarte Loreto authored
      2002-01-08  Duarte Loreto <happyguy_pt@hotmail.com>
      
              * pt.po: Updated Portuguese translation.
      884dcec7
    • Havoc Pennington's avatar
      add code to save ACLOCAL_FLAGS · 402c0b50
      Havoc Pennington authored
      2002-01-08  Havoc Pennington  <hp@pobox.com>
      
      	* configure.in (ACLOCAL): add code to save ACLOCAL_FLAGS
      
      	* src/frames.c (meta_frames_expose_event): max dither
      
      	* src/testgradient.c (render_simple): change dither mode to MAX
      	to avoid banding
      
      	* src/theme.c: lose the gradient cache, and put in some initial
      	data types for the theme format
      402c0b50
  10. 07 Jan, 2002 2 commits
    • Havoc Pennington's avatar
      make gradient a bit more subtle (don't go to the full background, but to a · 9ed27d3d
      Havoc Pennington authored
      2002-01-07  Havoc Pennington  <hp@redhat.com>
      
      	* src/frames.c (meta_frames_expose_event): make gradient a bit
      	more subtle (don't go to the full background, but to a blend of
      	selection and background; put lighter color on top)
      9ed27d3d
    • Havoc Pennington's avatar
      put in attempted fix for the GTK 1.2 plug/socket screwup, now that my · f36ba880
      Havoc Pennington authored
      2002-01-06  Havoc Pennington  <hp@pobox.com>
      
      	* src/window.c (meta_window_notify_focus): put in attempted fix
      	for the GTK 1.2 plug/socket screwup, now that my fixed debug spew
      	reveals what's actually happening. ;-)
      
      	* src/gradient.c (meta_gradient_description_new): object
      	to store gradient descriptions
      
      	* src/window.c (meta_window_notify_focus): fix the debug spew
      	that was confusing me
      
      	* src/wm-tester/focus-window.c: add little program to focus
      	a window ID
      f36ba880
  11. 06 Jan, 2002 4 commits
    • Havoc Pennington's avatar
      change to use spiffy gradient code. · ac85e1e2
      Havoc Pennington authored
      2002-01-06  Havoc Pennington  <hp@pobox.com>
      
      	* src/theme.c (meta_theme_get_gradient): change to use spiffy
      	gradient code.
      
      	* src/gradient.c: copy lovely gradient code from WindowMaker,
      	as usual Dan and Alfredo have very nice code
      ac85e1e2
    • Fatih Demir's avatar
      Added Turkish translation by Gorkem. · d9934a2d
      Fatih Demir authored
      d9934a2d
    • Havoc Pennington's avatar
      draw titlebar highlight with snazzy gradient that needs some tweaking to · 8b680dfd
      Havoc Pennington authored
      2002-01-05  Havoc Pennington  <hp@pobox.com>
      
      	* src/frames.c (meta_frames_expose_event): draw titlebar highlight
      	with snazzy gradient that needs some tweaking to be less
      	dumb-looking
      
      	* src/theme.c: replace old theme.[hc] contents with newer stuff
      	that doesn't do anything
      8b680dfd
    • Havoc Pennington's avatar
      GTK 1.2 plug/socket clients still broken, don't know why. · 3d1d70b7
      Havoc Pennington authored
      2002-01-05  Havoc Pennington  <hp@pobox.com>
      
              GTK 1.2 plug/socket clients still broken, don't know why.
      
      	* src/screen.c (meta_screen_new): select focus change on root
      	window, for debugging
      
      	* src/display.c (event_callback): when unfocusing, use
      	no_focus_window to hold the focus
      
      	* src/display.h (struct _MetaDisplay): have a no_focus_window to
      	hold the focus when we don't want to have anything focused.
      	Then we can avoid confusing focusing-the-frame stuff.
      
      	* src/window.c (meta_window_notify_focus): improve some debug spew
      	(meta_window_notify_focus): add hack from WindowMaker to ignore
      	focus in events with detail > NotifyNonlinearVirtual
      3d1d70b7
  12. 05 Jan, 2002 1 commit
  13. 04 Jan, 2002 4 commits
    • Havoc Pennington's avatar
      don't lower docks when a grab causes them to get LeaveNotify · 06ec2b94
      Havoc Pennington authored
      2002-01-04  Havoc Pennington  <hp@pobox.com>
      
      	* src/display.c (event_callback): don't lower docks when a grab
      	causes them to get LeaveNotify
      06ec2b94
    • Havoc Pennington's avatar
      set event mask on root window to 0 so other window managers (such as · 60f48e44
      Havoc Pennington authored
      2002-01-04  Havoc Pennington  <hp@pobox.com>
      
      	* src/screen.c (meta_screen_free): set event mask on root window
      	to 0 so other window managers (such as ourselves restarting) can
      	start up; addresses race condition on restart where the old WM
      	still had RedirectMask when the new WM was trying to start up.
      
      	* src/display.c (meta_display_close): free each screen
      
      	* src/window.c (meta_window_show): always focus new windows in
      	click-to-focus mode
      60f48e44
    • Havoc Pennington's avatar
      use meta_XFree not XFree · 501a60ab
      Havoc Pennington authored
      2002-01-03  Havoc Pennington  <hp@pobox.com>
      
      	* src/window.c: use meta_XFree not XFree
      
      	* src/display.h (meta_XFree): add null-safe XFree
      
      	* src/util.c (meta_warning): have message prefix indicate that
      	it's a warning
      	(meta_fatal): indicate it's an error
      
      	* src/window.c (update_sm_hints): clean up using
      	meta_prop_get_latin1_string
      	(update_role): ditto
      	(read_client_leader): clean up using meta_prop_get_window
      	(update_net_wm_type): clean up using meta_prop_get_cardinal
      	(update_initial_workspace): ditto
      	(update_net_wm_type): clean up using meta_prop_get_atom_list
      	(read_rgb_icon): get result from XGetWindowProperty return value
      	not from error trap
      	(update_kwm_icon): ditto
      	(meta_window_new): fix to read WM_STATE correctly
      501a60ab
    • Havoc Pennington's avatar
      clean up using meta_prop_get_atom_list (update_mwm_hints): clean up using · b9701454
      Havoc Pennington authored
      2002-01-03  Havoc Pennington  <hp@pobox.com>
      
      	* src/window.c (update_net_wm_state): clean up using
      	meta_prop_get_atom_list
      	(update_mwm_hints): clean up using meta_prop_get_motif_hints
      
      	* src/Makefile.am (metacity_SOURCES): add xprops.[hc]
      
      	* src/xprops.c: new file with convenience functions for X
      	properties
      b9701454
  14. 03 Jan, 2002 1 commit
    • Havoc Pennington's avatar
      focus top window when switching to a new workspace · ee1361fb
      Havoc Pennington authored
      2002-01-03  Havoc Pennington  <hp@pobox.com>
      
      	* src/workspace.c (meta_workspace_activate): focus top window when
      	switching to a new workspace
      
      	* src/util.c (meta_topic): start putting verbose output in
      	categories
      
      	* src/window.c (meta_window_shade): focus frame after we queue
      	the calc_showing so the maps/unmaps have already happened.
      
      	* src/display.c (meta_display_get_current_time): add the "get time
      	of current event" function and call it occasionally.
      
      	* src/window.c (meta_window_free): if we have focus, call
      	meta_screen_focus_top_window().
      	(meta_window_minimize): ditto
      	(meta_window_delete): ditto
      
      	* src/screen.c (meta_screen_ensure_tab_popup): fix memory leak -
      	didn't free tab list
      	(meta_screen_focus_top_window): new function to use when we unmap
      	or unmanage a focused window
      
      	* src/stack.c (meta_stack_get_default_focus_window): function used
      	in meta_screen_focus_top_window
      ee1361fb
  15. 02 Jan, 2002 1 commit
  16. 27 Dec, 2001 1 commit
  17. 26 Dec, 2001 2 commits
  18. 20 Dec, 2001 1 commit
  19. 18 Dec, 2001 1 commit
  20. 16 Dec, 2001 3 commits
  21. 15 Dec, 2001 1 commit
  22. 13 Dec, 2001 1 commit
  23. 11 Dec, 2001 4 commits
    • Stanislav Visnovsky's avatar
      Adde "sk" to ALL_LINGUAS. · ae659e1c
      Stanislav Visnovsky authored
      2001-12-11  Stanislav Visnovsky  <visnovsky@nenya.ms.mff.cuni.cz>
      
              * configure.in: Adde "sk" to ALL_LINGUAS.
      ae659e1c
    • Stanislav Visnovsky's avatar
      Added Slovak translation. · 946a2dc4
      Stanislav Visnovsky authored
      2001-12-11  Stanislav Visnovsky  <visnovsky@nenya.ms.mff.cuni.cz>
      
              * sk.po: Added Slovak translation.
      946a2dc4
    • Havoc Pennington's avatar
      Rework the click-client-area-to-focus support to use synchronous grabs, · 69dae32c
      Havoc Pennington authored
      2001-12-10  Havoc Pennington  <hp@pobox.com>
      
              Rework the click-client-area-to-focus support to use synchronous
      	grabs, avoids a big mess, lets us pass through click when
      	required (for dock/desktop). Disadvantage is all left-button
      	clicks now require window manager approval. ;-)
      
      	* src/display.c (event_callback): don't focus dock/desktop when
      	the mouse enters them; require a click.
      	(meta_change_button_grab): allow sync grabs
      	(meta_display_grab_unfocused_window_buttons): establish a
      	synchronous grab and maintain it all the time, rename to
      	meta_display_grab_focus_window_button
      
      	* src/window.c: change to reflect display.c
      69dae32c
    • Havoc Pennington's avatar
      oops, unbreak this _again_ - reported by Josh Barrow · ac752450
      Havoc Pennington authored
      2001-12-10  Havoc Pennington  <hp@pobox.com>
      
      	* src/window.c (meta_window_update_unfocused_button_grabs): oops,
      	unbreak this _again_ - reported by Josh Barrow
      ac752450
  24. 10 Dec, 2001 2 commits
    • Havoc Pennington's avatar
      don't allow grab on docks/desktop for now; needs fixing later to do the · 4af0425d
      Havoc Pennington authored
      2001-12-10  Havoc Pennington  <hp@pobox.com>
      
      	* src/window.c (meta_window_update_unfocused_button_grabs): don't
      	allow grab on docks/desktop for now; needs fixing later to
      	do the grab, but pass thru click, so we can focus those windows.
      	And in fact we need to do that even in sloppy mode.
      4af0425d
    • Havoc Pennington's avatar
      fix broken "tmp = tmp->data" · fa803fd8
      Havoc Pennington authored
      2001-12-10  Havoc Pennington  <hp@pobox.com>
      
      	* src/screen.c (meta_screen_foreach_window): fix broken
      	"tmp = tmp->data"
      
      	Implement do-not-pass-thru-click for click-to-focus mode.
      
      	* src/screen.c (update_focus_mode): when focus mode changes,
      	update all the window grabs
      
      	* src/display.c (meta_display_grab_unfocused_window_buttons):
      	implement grabbing button 1 on client area of unfocused
      	click-to-focus windows
      
      	* src/window.c (meta_window_update_unfocused_button_grabs): update
      	whether we're grabbing unmodified button 1 on client area
      	according to focus state and focus mode
      	(meta_window_new): start out with proper grab state
      fa803fd8