1. 17 Nov, 2003 1 commit
    • Rob Adams's avatar
      Create COMPLIANCE document describing metacity specification compliance. · 9378a4fb
      Rob Adams authored
      2003-11-16  Rob Adams  <readams@readams.net>
      
      	Create COMPLIANCE document describing metacity specification
      	compliance.  Right now gives detailed EWMH compliance; still need
      	to add ICCCM compliance information.  Also some minor fixes to
      	bring metacity into compliance on some points.
      
      	* COMPLIANCE: new file
      
      	* src/display.h, src/display.c (meta_display_open),
      	src/screen.c (set_supported_hint): add
      	atom_net_wm_action_fullscreen and atom_net_wm_action_minimize
      
      	* src/window.c (set_allowed_actions_hint): some fixes to which
      	hints to set and add fullscreen and minimize.
      9378a4fb
  2. 12 Oct, 2003 1 commit
    • Havoc Pennington's avatar
      Merge reduced_resources mode patch from the branch. Offers wireframe and · e98fad3e
      Havoc Pennington authored
      2003-10-12  Havoc Pennington  <hp@redhat.com>
      
              Merge reduced_resources mode patch from the branch. Offers
      	wireframe and no-animations.
      
      	* src/window.c (implement_showing): no animation if we are
      	in reduced resources mode
      
      	* src/prefs.c: add REDUCED_RESOURCES pref
      
      	* src/window.c (meta_window_update_keyboard_resize): fix to
      	modify grab_anchor_window_pos to grab_wireframe_rect if
      	appropriate instead of window->rect
      
      	* src/display.h (struct _MetaDisplay): add grab_start_serial used
      	to avoid responding to events that occurred prior to the grab
      	initialization.
      
      	Still broken in various ways, specifically EnterNotify that
      	occurred prior to XGrabPointer is processed as if it occurred
      	after.
      
      	* src/window.c (meta_window_update_keyboard_move): add this
      	instead of meta_window_warp_pointer() crack
      
      	* src/effects.c (meta_effects_update_wireframe): draw a kind of
      	grid for the wireframe, instead of just a rectangle, like tw...
      e98fad3e
  3. 15 Aug, 2003 1 commit
    • Ray Strode's avatar
      Changed MRU list to be per workspace instead of per display, so sticky · 2fc880db
      Ray Strode authored
      2003-08-15  Ray Strode  <halfline@hawaii.rr.com>
      
      	Changed MRU list to be per workspace instead of per display, so
      	sticky windows don't hijack the window focus after workspace
      	switching (Bug #97635).
      
      	* src/delete.c (meta_window_delete): Use
      	meta_workspace_focus_top_window instead of
      	meta_screen_focus_top_window.
      
      	* src/display.c (meta_display_open): Stop using display->mru_list.
      	(find_tab_forward):
      	(find_tab_backward):
      	(meta_display_get_tab_list): Use workspace->mru_list instead of
      	display->mru_list and remove unneeded calls to
      	meta_window_visible_on_workspace
      
      	* src/display.h: Remove mru_list from MetaDisplay
      
      	* src/keybindings.c (handle_toggle_desktop): Use
      	meta_workspace_focus_top_window instead of
      	meta_screen_focus_top_window.
      
      	* src/screen.c (meta_screen_focus_top_window):
      	(meta_screen_focus_default_window): Remove functions.
      	(meta_screen_show_desktop): Use meta_workspace_focus_top_window
      	instead of meta_screen...
      2fc880db
  4. 10 Aug, 2003 1 commit
  5. 26 Jun, 2003 1 commit
    • Rob Adams's avatar
      Update constraints code to support the new _NET_WM_STRUT_PARTIAL EWMH · 971f3f12
      Rob Adams authored
      2003-06-10  Rob Adams  <robadams@ucla.edu>
      
      	Update constraints code to support the new _NET_WM_STRUT_PARTIAL
      	EWMH draft specification.  See #86682.  Also, fix a bug involving
      	work area invalidation on metacity startup.  Fix for #108497.
      	Finally, some minor fixes for full screen windows.
      
      	* src/window.h: Add new MetaStruts structure to store strut rects
      	for a window.  Remove has_struts and do_not_cover flag, and
      	support new MetaStruts instead of the four ints.
      
      	* src/window.c (meta_window_new): change initialization to work
      	with new struts.  Also, move meta_window_update_struts call to
      	after the workspaces are initialized to fix #108497.  Remove
      	do_not_cover and related code.
      	(process_property_notify): add strut_partial
      	(update_struts): change function name to meta_window_update_struts
      	and expose in external MetaWindow API.  Support partial width
      	struts and the new strut rects.
      
      	* src/workspace.h: add new GSLists containing pointers to all
      	relevant struts for this workspace.
      
      	* src/workspace.c (meta_workspace_new): initialize the list of
      	strut rects for this workspace.
      	(meta_workspace_free): free the strut rect lists
      	(ensure_work_areas_validated): support new struts and new strut
      	rect lists.  Unleash the per-xinerama work areas.
      
      	* src/constraints.c (get_outermost_onscreen_positions): Use the
      	current window position along with the new per-workspace strut
      	rects to compute the constraints that apply to a particular
      	window.
      	(constraint_hint_applies_func): don't do hints constraints on
      	fullscreen windows
      	(update_position_limits): for maximized windows use the work areas
      	to set the position limits; for other windows rely on the struts
      	constraints to be computed later in
      	get_outermost_onscreen_positions
      	(meta_window_constrain): don't apply aspect ratio hints to full
      	screen windows
      
      	* src/display.c (meta_display_open): add _NET_WM_STRUT_PARTIAL atom
      	(meta_rectangle_equal): new helper function for MetaRectangles
      	(event_queue_callback): #ifndef out if USE_GDK_DISPLAY not set to
      	avoid compiler warning
      
      	* src/display.h: add atom_net_wm_strut_partial, and add
      	meta_rectangle_equal.
      
      	* src/screen.c (meta_screen_rect_intersects_xinerama): change
      	_window_intersects_ to _rect_intersects_ which is more useful now.
      	(meta_screen_resize_func): update struts on windows with struts
      	since struts are relative to the screen size, and this function is
      	called when the screen size updates.
      
      	* src/screen.h (meta_screen_rect_intersects_xinerama): change
      	_window_intersects_ to _rect_intersects_ which is more useful now.
      
      	* src/window-props.c (meta_display_init_window_prop_hooks): add
      	hook for strut_partial
      
      	* src/tools/metacity-window-demo.c: Support partial-width struts
      	on the dock window tests for metacity testing purposes.
      971f3f12
  6. 12 Jun, 2003 1 commit
    • Rob Adams's avatar
      Remove legacy support for Gnome 1 hints, since we deem it unlikely that · 85826d0d
      Rob Adams authored
      2003-06-12  Rob Adams  <robadams@ucla.edu>
      
      	Remove legacy support for Gnome 1 hints, since we deem it unlikely
      	that anyone is running a current metacity with Gnome 1.  The
      	removed hints are _WIN_WORKSPACE, _WIN_LAYER, _WIN_PROTOCOLS,
      	_WIN_SUPPORTING_WM_CHECK, and _WIN_HINTS.
      
      	* display.c (meta_display_open): remove hints
      
      	* display.h: remove atoms for hints
      
      	* screen.c (set_wm_check_hint): don't set legacy hint
      	(set_supported_hint): don't set legacy hint
      
      	* window-props.c (init_win_workspace): removed
      	(reload_win_workspace): removed
      	(meta_display_init_window_prop_hooks): remove hints
      
      	* window.h: remove do_not_cover flag
      
      	* window.c: remove GnomeWinHints enum
      	(recalc_do_not_cover_struts): removed
      	(meta_window_new): don't initialize removed flags or compute
      	legacy struts
      	(move_resize_cmp): removed
      	(idle_move_resize): Don't bother sorting the idle queue
      	(meta_window_client_message): don't set legacy hint
      	(process_property_notify): remove hints
      	(update_net_wm_type): don't fall back to WIN_LAYER hint
      	(update_struts): remove legacy struts
      85826d0d
  7. 16 May, 2003 1 commit
    • Havoc Pennington's avatar
      fill in window->desc sooner since we use it sooner now. · 4b02b0dd
      Havoc Pennington authored
      2003-05-16  Havoc Pennington  <hp@redhat.com>
      
      	* src/window.c (meta_window_new): fill in window->desc sooner
      	since we use it sooner now.
      
      	* src/display.c (meta_display_open): init
      	display->grab_update_alarm
      
      	* src/window.c (meta_window_new): initialize the always_sticky
      	field
      	(meta_window_new): initialize the update_icon_queued field
      
              Patch from Julien Olivier bug #92335 for converting "show desktop
      	mode" to "all windows are minimized" when you open a new window,
      	instead of just mapping all the windows again.
      
      	* src/window.c (meta_window_activate): minimize all windows before
      	coming out of show desktop mode.
      	(meta_window_unminimize): don't toggle show desktop mode here
      
      	* src/screen.c (meta_screen_minimize_all_except): new function
      4b02b0dd
  8. 06 Apr, 2003 1 commit
    • Rob Adams's avatar
      Update placement policy for screen with multiple xineramas. Windows will · 9bd17f4f
      Rob Adams authored
      2003-04-05  Rob Adams  <robadams@ucla.edu>
      
      	Update placement policy for screen with multiple xineramas.
      	Windows will be placed preferentially on the xinerama with the
      	pointer, and progressively further away as needed to find a place
      	where the window does not overlap other windows.
      
      	* src/place.c (rect_fits_in_work_area): function
      	fit_rect_in_xinerama greatly simplified to work with new placement
      	policy.
      	(find_first_fit): implement new first first placement scheme
      
      	* src/screen.c (meta_screen_get_xinerama_neighbor): look for an
      	xinerama in the xinerama list that is adjacent to the specified
      	xinerama.
      	(meta_screen_get_natural_xinerama_list): return a list of
      	xineramas in the order to be preferred by the placement algorithm
      	as determined by the current location of the pointer.
      
      	* src/screen.h: add function prototypes and an enum used by
      	meta_screen_get_xinerama_neighbor.
      9bd17f4f
  9. 15 Mar, 2003 1 commit
    • Rob Adams's avatar
      Make it so that the alt-tabbing won't try to go to a minimized window by · 67cbbeb6
      Rob Adams authored
      2003-03-13  Rob Adams <robadams@ucla.edu>
      
              Make it so that the alt-tabbing won't try to go to a minimized
      	window by default.  Fix for #107071.
      
      	* display.c (meta_display_get_tab_list): use a GList instead of a
      	GSList
      	(meta_display_get_tab_next): use meta_display_get_tab_list to
      	decide what the next/previous tab window should be.
      
      	* display.h (meta_display_get_tab_list): update function prototype
      	to return GList instead of GSList.
      
      	* screen.c (meta_screen_ensure_tab_popup): update function to deal
      	with GList returned by meta_display_get_tab_list instead of GSList.
      67cbbeb6
  10. 23 Feb, 2003 1 commit
    • Havoc Pennington's avatar
      Patch from Rob Adams addresses #95014 (placement issues), makes first fit · c27d8921
      Havoc Pennington authored
      2003-02-23  Havoc Pennington  <hp@pobox.com>
      
      	Patch from Rob Adams addresses #95014 (placement issues),
      	makes first fit algorithm "center tile", adds most code
      	for per-xinerama workspaces (#86682) but disables it for now.
      
      	* src/workspace.c (meta_workspace_get_work_area_for_xinerama)
      	(meta_workspace_get_work_area_all_xineramas): new xinerama
      	functions, maintain workspace->work_areas with a different
      	work area for each xinerama. However for now all the work
      	areas are the same, because haven't quite figured out how
      	_NET_WM_STRUT is supposed to work
      
      	* src/window.c: adapt to new meta_window_* xinerama APIs
      	(meta_window_get_work_area_current_xinerama): new xinerama
      	API
      	(meta_window_get_work_area_for_xinerama): new xinerama API
      	(constrain_position): be a bit more clever about which xinerama's
      	work area we choose to use.
      
      	* src/stack.c: adapt to new Xinerama API
      
      	* src/screen.c (reload_xinerama_infos): invalidate all work areas
      	(meta_screen_get_xinerama_for_rect): new function
      	(meta_screen_window_intersects_xinerama): new function
      
      	* src/place.c (find_first_fit): change to use
      	"center tiling" (center a screen full of tiled windows,
      	rather than aligning them top left). Adapt to new
      	xinerama functions.
      c27d8921
  11. 14 Feb, 2003 1 commit
  12. 28 Jan, 2003 1 commit
  13. 23 Jan, 2003 1 commit
  14. 22 Jan, 2003 1 commit
    • Havoc Pennington's avatar
      Fix for the "mangles focus window when switching workspaces and using · 82bd2091
      Havoc Pennington authored
      2003-01-21  Havoc Pennington  <hp@pobox.com>
      
              Fix for the "mangles focus window when switching workspaces
      	and using mouse focus" bug
      
      	* src/stack.c (meta_stack_get_default_focus_window_at_point): new
      	function
      
      	* src/screen.c (meta_screen_focus_mouse_window): new function
      	(meta_screen_focus_default_window): new function
      
      	* src/workspace.c (meta_workspace_activate): use the
      	new meta_screen_focus_default_window()
      
      2003-01-17  Havoc Pennington  <hp@pobox.com>
      
      	* src/window.c (meta_window_handle_mouse_grab_op_event): fix event
      	compression code to use GDK algorithm suggested by Owen, should be
      	more efficient.
      82bd2091
  15. 08 Jan, 2003 1 commit
  16. 06 Jan, 2003 1 commit
  17. 05 Jan, 2003 1 commit
    • Havoc Pennington's avatar
      redo using new calc_workspace_layout to fix #98302 · 90748385
      Havoc Pennington authored
      2003-01-05  Havoc Pennington  <hp@pobox.com>
      
      	* src/workspace.c (meta_workspace_get_neighbor): redo using new
      	calc_workspace_layout to fix #98302
      
      	* src/util.c (topic_name): shorten default prefix
      
      	* src/screen.c (meta_screen_calc_workspace_layout): enhance this
      	to handle all the funky layouts and calculate more information
      	than before
      90748385
  18. 19 Dec, 2002 1 commit
  19. 17 Dec, 2002 1 commit
  20. 01 Dec, 2002 1 commit
    • Havoc Pennington's avatar
      lengthen to 15 seconds · 5e1439f8
      Havoc Pennington authored
      2002-11-30  Havoc Pennington  <hp@pobox.com>
      
      	* src/screen.c (STARTUP_TIMEOUT): lengthen to 15 seconds
      
      	* src/util.c (utf8_fputs): hmm, return a value
      
      	* src/screen.c (meta_screen_apply_startup_properties): new
      	function to apply initial workspace based on startup sequence.
      
      	* src/window.c (meta_window_new): load _NET_STARTUP_ID
      	(meta_window_get_startup_id): new function
      
      	* src/window-props.c (meta_display_init_window_prop_hooks): add
      	hooks for _NET_STARTUP_ID
      
      	* src/display.c (event_callback): send property events to
      	groups.
      
      	* src/xprops.c (meta_prop_get_values): make a type of INVALID
      	mean to ignore that property (don't fetch its value).
      
      	* src/group.c (meta_group_property_notify): new function
      
      	* src/screen.c (set_supported_hint): support _NET_STARTUP_ID
      
      	* src/display.c (meta_display_open): add _NET_STARTUP_ID to atoms
      	we initialize
      
      	* src/group-private.h: private header shared between
      	group-props.c, group.c
      
      	* src/group-props.h, src/group-props.c: new files t...
      5e1439f8
  21. 21 Nov, 2002 1 commit
    • Havoc Pennington's avatar
      remove unused variable · 6557627d
      Havoc Pennington authored
      2002-11-20  Havoc Pennington  <hp@pobox.com>
      
      	* src/window-props.c (set_icon_title): remove unused variable
      
      	* src/screen.c (meta_screen_new): read an existing
      	_NET_CURRENT_DESKTOP and restore it if set. Makes a restart even
      	less visible.
      
      	* src/workspace.c (set_active_space_hint): don't set the hint
      	during the process of unmanaging a screen
      6557627d
  22. 20 Nov, 2002 1 commit
    • Havoc Pennington's avatar
      Fix #98303 and assorted cleanup · 2541da1d
      Havoc Pennington authored
      2002-11-19  Havoc Pennington  <hp@pobox.com>
      
              Fix #98303 and assorted cleanup
      
      	* src/prefs.c (meta_preference_to_string): handle
      	META_PREF_WORKSPACE_NAMES
      
      	* src/menu.c (get_workspace_name_with_accel): assert that the
      	workspace has a name
      
      	* src/screen.c (meta_screen_ensure_workspace_popup): assert that
      	we got a workspace name
      	(meta_screen_ensure_workspace_popup): assert that we got a
      	workspace name
      
      	* src/prefs.c (update_workspace_name): fix screwiness (strcmp with
      	a freed string, assorted bad logic)
      	(init_workspace_names): assert that we filled in a default
      	workspace name
      	(meta_prefs_get_workspace_name): assert non-NULL workspace name
      2541da1d
  23. 03 Nov, 2002 1 commit
    • Havoc Pennington's avatar
      new function, and remove workspace->name field, instead just get the name · 6a1abc74
      Havoc Pennington authored
      2002-11-03  Havoc Pennington  <hp@pobox.com>
      
      	* src/workspace.c (meta_workspace_get_name): new function,
      	and remove workspace->name field, instead just get the
      	name from prefs each time
      
      	* src/screen.c (meta_screen_update_workspace_names): update the
      	gconf key to persist workspace names here, instead of changing
      	the names we use
      
      	* src/util.c (topic_name): add META_DEBUG_PREFS
      
      	* src/prefs.c: change NUM_COMMANDS to 32 to allow more custom
      	commands, implement workspace names
      
      	* src/metacity.schemas.in: add workspace_names/name_NN gconf keys.
      6a1abc74
  24. 25 Oct, 2002 1 commit
    • Havoc Pennington's avatar
      Add "busy cursor on app startup" support, conditionally - works only if · cb27f0c4
      Havoc Pennington authored
      2002-10-25  Havoc Pennington  <hp@pobox.com>
      
              Add "busy cursor on app startup" support, conditionally - works
      	only if libstartup-notification is found, and in practice requires
      	a GTK patch that's not in yet.
      
      	* src/screen.c: monitor startup events and set busy cursor if
      	appropriate
      
      	* src/display.c (meta_display_open): create SnDisplay
      
      	* configure.in: check for startup notification,
      	and add the cute "configure summary" at the end
      cb27f0c4
  25. 24 Oct, 2002 1 commit
    • Havoc Pennington's avatar
      make public · 97029033
      Havoc Pennington authored
      2002-10-24  Havoc Pennington  <hp@pobox.com>
      
      	* src/window.c (meta_window_get_icon_geometry): make public
      
      	* src/screen.c (meta_screen_ensure_tab_popup): put the alt+tab
      	highlight-window indicator on the icon, not the window itself,
      	if the window is minimized.
      97029033
  26. 21 Oct, 2002 1 commit
    • Havoc Pennington's avatar
      Optimizations for managing new windows (do not all take effect if · c6b475b2
      Havoc Pennington authored
      2002-10-21  Havoc Pennington  <hp@redhat.com>
      
      	Optimizations for managing new windows (do not all take effect if
      	METACITY_DEBUG=1). Bug #96404
      
      	* src/keybindings.c (meta_change_keygrab): use error trap nesting
      	and conditionalize on meta_is_verbose() to avoid a ton of XSync
      
      	* src/display.c (meta_change_button_grab): ditto
      
      	Throughout: move to new error trap setup to save on XSync calls,
      	new setup is:
      
      	* src/errors.c (meta_error_trap_push_with_return): new function,
      	an error trap that needs to care about return value and thus
      	sync even if an outer trap still exists
      	(meta_error_trap_pop_with_return): new function
      	(meta_error_trap_pop): add "last_request_was_roundtrip"
      	argument allowing us to avoid XSync() if we just did
      	a GetProperty or whatever.
      
      	* src/util.c (meta_warning): flush the warning file descriptor
      
      	* src/Makefile.am (INCLUDES): define G_LOG_DOMAIN
      c6b475b2
  27. 16 Oct, 2002 1 commit
    • Havoc Pennington's avatar
      workspaces are all per-screen now, fix accordingly · 337812d5
      Havoc Pennington authored
      2002-10-16  Havoc Pennington  <hp@redhat.com>
      
      	* src/workspace.c: workspaces are all per-screen now, fix
      	accordingly
      
      	* src/core.c: fix multihead workspace stuff
      
      	* src/keybindings.c: multihead-rama
      
      	* src/screen.c (meta_screen_show_desktop): new functions to
      	replace display equivalents
      
      	* src/display.c (meta_display_get_workspace_by_screen_index): get
      	rid of this
      	(meta_display_get_workspace_by_index): get rid of this
      	(event_callback): handle _NET_SHOWING_DESKTOP message per-screen
      
      	* src/screen.c (meta_screen_get_workspace_by_index): new function
      
      	* src/screen.h (struct _MetaScreen): move workspace list, and
      	showing_desktop flag, to be per-screen
      
      	* src/window.c (window_query_root_pointer): return whether pointer
      	is on window's screen
      	(meta_window_handle_mouse_grab_op_event): don't use coordinates
      	from other screens when updating a window operation on the current
      	screen. I can't believe no one has reported this...
      337812d5
  28. 02 Oct, 2002 1 commit
    • Havoc Pennington's avatar
      make it static · 94b6dde6
      Havoc Pennington authored
      2002-10-01  Havoc Pennington  <hp@pobox.com>
      
      	* src/screen.c (meta_screen_resize_func): make it static
      
      	* src/stack.c (get_standalone_layer): put above/below windows
      	in an appropriate layer.
      
      	* src/screen.c (set_supported_hint): say we support above/below
      
      	* src/display.h (struct _MetaDisplay): add _NET_WM_STATE_ABOVE,
      	_NET_WM_STATE_BELOW atoms
      
      	* src/window.c (meta_window_client_message): handle above/below
      	state messages
      	(set_net_wm_state): handler above/below state
      	(update_net_wm_state): handle above/below states
      94b6dde6
  29. 01 Oct, 2002 1 commit
  30. 30 Sep, 2002 1 commit
  31. 29 Sep, 2002 1 commit
    • Havoc Pennington's avatar
      Patch from Keith Packard to handle root window resizes. · 43a726ef
      Havoc Pennington authored
      2002-09-28  Havoc Pennington  <hp@pobox.com>
      
              Patch from Keith Packard to handle root window resizes.
      
      	* src/screen.c (reload_xinerama_infos): factor out Xinerama code
      	(meta_screen_resize): implement this, to be called from display.c
      	on screen resize
      
      	* src/display.c (event_callback): handle ConfigureNotify on root
      	windows
      43a726ef
  32. 28 Sep, 2002 1 commit
    • Havoc Pennington's avatar
      raise the focused window, since it may not be the window on top, given the · 6c325e90
      Havoc Pennington authored
      2002-09-27  Havoc Pennington  <hp@pobox.com>
      
      	* src/screen.c (meta_screen_focus_top_window): raise the focused
      	window, since it may not be the window on top, given the below
      	change.
      
      	* src/stack.c (meta_stack_get_default_focus_window): make this
      	more complex to prefer to focus the transient parent, followed by
      	other windows in group, followed by topmost non-dock, followed by
      	dock. Previously was just topmost non-dock followed by dock
      	ignoring groups and transiency.
      6c325e90
  33. 27 Sep, 2002 1 commit
    • Havoc Pennington's avatar
      Try to handle Solaris Xinerama, all coded blind, someone on Solaris will · 74b3bca9
      Havoc Pennington authored
      2002-09-27  Havoc Pennington  <hp@redhat.com>
      
              Try to handle Solaris Xinerama, all coded blind, someone
      	on Solaris will need to debug the typos.
      
      	* src/display.c: updates for Solaris Xinerama
      
      	* src/screen.c: updates for Solaris Xinerama
      
      	* configure.in: make Xinerama check more complicated to catch
      	Solaris Xinerama
      74b3bca9
  34. 24 Sep, 2002 1 commit
  35. 14 Aug, 2002 1 commit
  36. 10 Aug, 2002 1 commit
    • Havoc Pennington's avatar
      be sure window is mapped if we unmanage it and it's not withdrawn; bug · c540438b
      Havoc Pennington authored
      2002-08-10  Havoc Pennington  <hp@pobox.com>
      
      	* src/window.c (meta_window_free): be sure window is
      	mapped if we unmanage it and it's not withdrawn;
      	bug #90369
      
      	* src/screen.c (meta_screen_new): change string
      	s/override/replace/ bug #89077
      
      	* src/theme.c (scale_and_alpha_pixbuf): dump the
      	sometimes-use-NEAREST-instead-of-BILINEAR optimization,
      	bug #87489
      c540438b
  37. 06 Aug, 2002 1 commit
    • Havoc Pennington's avatar
      disable animation when shading windows, just doesn't really convey the · 00dcef82
      Havoc Pennington authored
      2002-07-28  Havoc Pennington  <hp@pobox.com>
      
      	* src/window.c (meta_window_shade): disable animation when shading
      	windows, just doesn't really convey the idea anyway.
      
      	* src/effects.c: Move to using a shaped window instead of
      	IncludeInferiors to do the animations, looks a lot better
      	because we don't have to grab the server.
      
      	* src/window.c (meta_window_change_workspace): remove bogus
      	assertion that was causing a crash
      	(meta_window_new): auto-fullscreen huge undecorated windows.
      
      	* src/keybindings.c (switch_to_workspace): use
      	meta_window_change_workspace() to avoid same bug in cut-and-paste
      	code from there
      00dcef82
  38. 04 Aug, 2002 1 commit
    • Mark McLoughlin's avatar
      set active_workspace to NULL. Also actually activate the first workspace · 8984fd35
      Mark McLoughlin authored
      2002-08-02  Mark McLoughlin  <mark@skynet.ie>
      
              * src/screen.c: (meta_screen_new): set active_workspace
              to NULL. Also actually activate the first workspace instead
              of just setting active_workspace. Fixes #87367.
              (meta_screen_ensure_workspace_popup): don't re-use our
              iterator for setting the entries list, stop iterating
              when we've gone beyond the last workspace (there may
              be empty spaces in the last row).
      
              * src/workspace.c: (meta_workspace_activate): if no workspace
              was previously activated, return.
      8984fd35
  39. 01 Aug, 2002 1 commit
    • Mark McLoughlin's avatar
      Implements support for _NET_WM_ALLOWED_ACTIONS. Fixes #84282. · 95e4c6ac
      Mark McLoughlin authored
      2002-08-01  Mark McLoughlin  <mark@skynet.ie>
      
              Implements support for _NET_WM_ALLOWED_ACTIONS.
              Fixes #84282.
      
              * src/display.[ch]: (meta_display_open): add
              _NET_WM_ALLOWED_ACTIONS atoms.
      
              * src/screen.c: (set_supported_hint): set them
              as being supported.
      
              * src/window.c:
              (set_allowed_actions_hint): impl setting
              _NET_WM_ALLOWED_ACTIONS.
              (recalc_window_features): use it here, but only
              if things have changed.
      95e4c6ac
  40. 10 Jul, 2002 1 commit