summaryrefslogtreecommitdiff
path: root/src
Commit message (Collapse)AuthorAgeFilesLines
* add temporary hack to fix an artifact on unshading windows in wireframegnome-2-2-rhel3Havoc Pennington2004-06-161-0/+12
| | | | | | | | 2004-06-16 Havoc Pennington <hp@redhat.com> * src/window.c (meta_window_unshade): add temporary hack to fix an artifact on unshading windows in wireframe resize mode; fix from Bernd Schmidt bernds@redhat.com
* add hacky "no focus on map" pref patch (clearly labeled as a hack only inHavoc Pennington2004-06-164-6/+143
| | | | | | | 2004-06-16 Havoc Pennington <hp@redhat.com> * add hacky "no focus on map" pref patch (clearly labeled as a hack only in rhel3)
* create a RHEL3 branch to manage layering on some patches from our RPM,Havoc Pennington2004-06-1614-164/+733
| | | | | | | | 2004-06-16 Havoc Pennington <hp@redhat.com> * create a RHEL3 branch to manage layering on some patches from our RPM, this is a dead-end branch for my convenience. Initially commit all the RPM patches.
* fix this to compile (1 year later) - clearly everyone is testing GNOME 2.2GNOME_2_2_RHEL3_BRANCHPOINTgnome-2-2Havoc Pennington2004-06-141-1/+1
| | | | | | | 2004-06-14 Havoc Pennington <hp@redhat.com> * src/xprops.c (utf8_list_from_results): fix this to compile (1 year later) - clearly everyone is testing GNOME 2.2 from CVS...
* Number of strings we are processing is one more than required.Arvind Samptur2003-07-311-1/+4
| | | | | | | | | | 2003-07-29 Arvind Samptur <arvind.samptur@wipro.com> * src/xprops.c (utf8_list_from_results): Number of strings we are processing is one more than required. Also get the string count right even without a null byte at the end. Pointed out by Havoc.
* drop the mouse button grabs for the focused window; we'll see if thisHavoc Pennington2003-06-071-0/+6
| | | | | | | | 2003-06-07 Havoc Pennington <hp@pobox.com> * src/window.c (meta_window_notify_focus): drop the mouse button grabs for the focused window; we'll see if this breaks anything. It should fix #102209
* the mask display->ignored_modifier_mask wasn't being bound, due to "<"Havoc Pennington2003-05-212-4/+4
| | | | | | | | | | | | | 2003-05-20 Havoc Pennington <hp@pobox.com> * src/keybindings.c (meta_change_keygrab): the mask display->ignored_modifier_mask wasn't being bound, due to "<" instead of "<=" (most people didn't notice as display->ignored_modifier_mask included Scroll_Lock). Red Hat bugzilla #91301 reported by Youssef Makki * src/display.c (meta_change_button_grab): make corresponding change for button grabs.
* Don't cap refresh rate. Fixes problem with my last commit, where theSoeren Sandmann2003-03-281-2/+1
| | | | | | | | Fri Mar 28 15:39:35 2003 Soeren Sandmann <sandmann@daimi.au.dk> * src/window.c (update_resize): Don't cap refresh rate. Fixes problem with my last commit, where the window could get stuck with a wrong size until you released the button.
* Only cap refresh rate when not using SYNC. Remove bogusSoeren Sandmann2003-03-281-31/+2
| | | | | | | | | | Fri Mar 28 14:13:37 2003 Soeren Sandmann <sandmann@daimi.au.dk> * src/window.c (update_resize): Only cap refresh rate when not using SYNC. Remove bogus update-if-we-moved-more-than-a-delta. * src/window.c (update_move): Don't cap refresh rate during moves. Remove bogus update-if-we-moved-more-than-a-delta.
* just return if we are not verboseSoeren Sandmann2003-03-231-0/+3
| | | | | | Sun Mar 23 23:10:42 2003 Soeren Sandmann <sandmann@daimi.au.dk> * src/display.c (meta_spew_event): just return if we are not verbose
* Should fix #108108, #106217, tracked down by Owen Taylor and FredericHavoc Pennington2003-03-173-110/+175
| | | | | | | | | | | | | | | | | | 2003-03-11 Havoc Pennington <hp@pobox.com> Should fix #108108, #106217, tracked down by Owen Taylor and Frederic Crozat * src/window.c (meta_window_foreach_transient): change MetaWindowForeachFunc to return a boolean for whether to continue (meta_window_foreach_ancestor): new function (window_should_be_showing): use meta_window_foreach_ancestor (unminimize_window_and_all_transient_parents): ditto (update_sm_hints): ditto (meta_window_is_ancestor_of_transient): ditto * src/stack.c (get_maximum_layer_of_ancestor): use meta_window_foreach_ancestor
* Backport patch from Rob Adams to check that window min and max size hintsHavoc Pennington2003-03-081-0/+10
| | | | | | | | 2003-03-08 Havoc Pennington <hp@pobox.com> * src/window.c (update_size_hints): Backport patch from Rob Adams to check that window min and max size hints are at least 1. Fix for #107110.
* fix to unfocus window only when you leave the window frame, not when youHavoc Pennington2003-02-221-6/+1
| | | | | | | | 2003-02-22 Havoc Pennington <hp@pobox.com> * src/display.c (event_callback): fix to unfocus window only when you leave the window frame, not when you leave the window itself, unless window has no frame. #100248 fix from Orien Vandenbergh
* don't create constraints between windows on different screens, #106086Havoc Pennington2003-02-211-2/+6
| | | | | | | | 2003-02-20 Havoc Pennington <hp@redhat.com> * src/stack.c (create_constraints): don't create constraints between windows on different screens, #106086 tracked down by Arvind
* : Update the workspace names from gconf and set the NET_DESKTOP_NAMESArvind Samptur2003-02-141-4/+5
| | | | | | | | 2003-02-14 Arvind Samptur <arvind.samptur@wipro.com> * src/screen.c: (meta_screen_new) : Update the workspace names from gconf and set the NET_DESKTOP_NAMES atom. Renamed update_workspace_names() to set_workspace_names(). Fixes #105498
* default to Simple instead of AtlantaHavoc Pennington2003-02-053-2/+319
| | | | | | | | 2003-02-04 Havoc Pennington <hp@redhat.com> * src/metacity.schemas.in: default to Simple instead of Atlanta * src/themes/Makefile.am (THEMES): add Simple theme
* match handlers to key events using key codes, not key symsHavoc Pennington2003-02-051-1/+1
| | | | | | | 2003-01-30 Havoc Pennington <hp@redhat.com> * src/keybindings.c (process_event): match handlers to key events using key codes, not key syms
* don't create workspaces menu items if only 1 workspace. Fix for #101952Havoc Pennington2003-01-291-1/+1
| | | | | | | | 2003-01-29 Havoc Pennington <hp@pobox.com> * src/menu.c (meta_window_menu_new): don't create workspaces menu items if only 1 workspace. Fix for #101952 from Orien Vandenbergh
* (not for 2.2.0)Havoc Pennington2003-01-252-8/+29
| | | | | | | | | | | | | | | | 2003-01-25 Havoc Pennington <hp@pobox.com> (not for 2.2.0) * src/stack.c (window_is_fullscreen_size): When checking if a window is fullscreen size, only require it to be at the origin of the work area, not at the origin of the screen/xinerama. Still require it to be full screen in width x height. May fix xine in the case where the user has a top panel. * src/window.c (constrain_position): restore the ability for undecorated windows to position themselves overlapping the top panel, but don't let decorated windows do so. Oh the hacks...
* (not for 2.2.0)Havoc Pennington2003-01-231-14/+62
| | | | | | | | | 2003-01-08 Havoc Pennington <hp@pobox.com> (not for 2.2.0) * src/screen.c (meta_screen_apply_startup_properties): small code snippet to fix startup sequences that set legacy class/name
* (not for 2.2.0)METACITY_2_4_21_90Havoc Pennington2003-01-221-1/+1
| | | | | | | | | | 2003-01-22 Havoc Pennington <hp@redhat.com> (not for 2.2.0) * src/async-getprop.c (async_get_property_handler): do not read sizeof(long) off the X connection. The X protocol does not vary by architecture. Fixes longstanding hang on all 64-bit platforms.
* (not for 2.2.0)Havoc Pennington2003-01-221-2/+0
| | | | | | | | | 2003-01-22 Havoc Pennington <hp@redhat.com> (not for 2.2.0) * src/tools/Makefile.am: fix conditional so we get metacity-properties.c in the distribution #103071
* (not for 2.2.0)Havoc Pennington2003-01-221-0/+14
| | | | | | | | | | 2003-01-22 Havoc Pennington <hp@pobox.com> (not for 2.2.0) * src/window.c (update_struts): be robust against the panel's lame "set a negative number for struts" thing, even though we'll also fix the panel.
* (not for 2.2.0)Havoc Pennington2003-01-228-67/+197
| | | | | | | | | | | | | | | | | | | | | | | | | | 2003-01-21 Havoc Pennington <hp@pobox.com> (not for 2.2.0) 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> (not for 2.2.0) * 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.
* only hop window to the current workspace if the window was previouslyHavoc Pennington2003-01-212-44/+170
| | | | | | | | | | | | | | | | | | | | | | | 2003-01-21 Havoc Pennington <hp@redhat.com> * src/display.c (event_callback): only hop window to the current workspace if the window was previously minimized. Should keep mozilla from popping windows over to your current workspace. (change will not be in 2.2.0) 2003-01-20 Havoc Pennington <hp@redhat.com> Attempt to fix #85916 (change will not be in 2.2.0) * src/keybindings.c (primary_modifier_still_pressed): new function (handle_workspace_switch): handle modifier release prior to getting the grab (do_choose_window): handle modifier release prior to getting the grab * src/keybindings.c (grab_keyboard): properly return failure if the GrabKeyboard doesn't work
* ru.po: Updated Russian translation from Russian team <gnome-cyr@gnome.org>.Dmitry Mastrukov2003-01-202-337/+0
|
* Initial revisionSeth Nickell2003-01-176-0/+337
|
* recalc_window_features() after making these changes, should fix #103317Havoc Pennington2003-01-161-0/+4
| | | | | | | | | 2003-01-14 Havoc Pennington <hp@pobox.com> * src/window.c (meta_window_maximize, meta_window_unmaximize) (meta_window_make_fullscreen, meta_window_unmake_fullscreen): recalc_window_features() after making these changes, should fix #103317
* Increase the number of run_command bindings in screen_bindings from 12 toMETACITY_2_4_13_90Rob Adams2003-01-153-0/+80
| | | | | | | | | | | | | 2003-01-14 Rob Adams <robadams@ucla.edu> * src/prefs.c: Increase the number of run_command bindings in screen_bindings from 12 to 32. * src/prefs.h: Increase the number of META_KEYBINDING_COMMAND_N macros from 12 to 32. * src/keybindings.c: Increase the number of run_command handlers from 12 to 32.
* implement compression of motion events (drop all but the most recentlyHavoc Pennington2003-01-111-7/+73
| | | | | | | | 2003-01-11 Havoc Pennington <hp@pobox.com> * src/window.c (meta_window_handle_mouse_grab_op_event): implement compression of motion events (drop all but the most recently received), guessing at fixes for #103009
* add ability to --disable-shapeHavoc Pennington2003-01-111-1/+1
| | | | | | 2003-01-11 Havoc Pennington <hp@pobox.com> * configure.in: add ability to --disable-shape
* revert that change, I got the wrong .desktop file. doh.Havoc Pennington2003-01-101-2/+0
| | | | | | | 2003-01-10 Havoc Pennington <hp@redhat.com> * src/Makefile.am (desktopfiles_in_files): revert that change, I got the wrong .desktop file. doh.
* don't install .desktop file for properties dialog if we aren'tHavoc Pennington2003-01-101-2/+5
| | | | | | | | 2003-01-10 Havoc Pennington <hp@redhat.com> * src/Makefile.am (desktopfiles_DATA): don't install .desktop file for properties dialog if we aren't building/installing the properties dialog.
* Use a line for the titlebar text bg.James M. Cape2003-01-101-5/+5
| | | | | | | 2003-01-09 James M. Cape <jcape@ignore-your.tv> * src/themes/Esco/metacity-theme-1.xml: Use a line for the titlebar text bg.
* argh, we were making all dialogs skip taskbar; when did that get added.Havoc Pennington2003-01-091-1/+4
| | | | | | | | | 2003-01-09 Havoc Pennington <hp@redhat.com> * src/window.c (recalc_window_features): argh, we were making all dialogs skip taskbar; when did that get added. Fix to match libwnck, only skip taskbar when the dialog is transient for some other app window.
* change Windows+click back to Alt+click, Windows+click just surprisedHavoc Pennington2003-01-091-1/+1
| | | | | | | | | 2003-01-09 Havoc Pennington <hp@redhat.com> * src/metacity.schemas.in: change Windows+click back to Alt+click, Windows+click just surprised everybody and didn't work half the time. Maya users can configure it, and GTK DND can change its default.
* assign Alt+F12 to shade window, per #102658Havoc Pennington2003-01-091-1/+1
| | | | | | | 2003-01-08 Havoc Pennington <hp@pobox.com> * src/metacity.schemas.in: assign Alt+F12 to shade window, per #102658
* fix off-by-one, patch from readams@hmc.edu, #102806Havoc Pennington2003-01-081-1/+1
| | | | | | | 2003-01-07 Havoc Pennington <hp@pobox.com> * src/screen.c (update_num_workspaces): fix off-by-one, patch from readams@hmc.edu, #102806
* don't apply offscreen height difference. This would get the window underArvind Samptur2003-01-061-2/+0
| | | | | | | | 2003-01-06 Arvind Samptur <arvind.samptur@wipro.com> * src/window.c: (constrain_position) don't apply offscreen height difference. This would get the window under the panel on a resize or a move. Fixes #102418
* invert vertical_workspaces cases (we want to go down each column if it'sHavoc Pennington2003-01-061-40/+40
| | | | | | | | | 2003-01-05 Havoc Pennington <hp@pobox.com> * src/screen.c (meta_screen_calc_workspace_layout): invert vertical_workspaces cases (we want to go down each column if it's vertical, and across each row if horizontal). Patch from readams@hmc.edu
* put in the HAVE_GTK_MULTIHEAD conditionals so we build with GTK 2.0Havoc Pennington2003-01-051-1/+7
| | | | | | | 2003-01-05 Havoc Pennington <hp@pobox.com> * src/frames.c (meta_frames_apply_shapes): put in the HAVE_GTK_MULTIHEAD conditionals so we build with GTK 2.0
* focus new windows even in mouse focus mode, #89981, patch fromHavoc Pennington2003-01-051-5/+1
| | | | | | | 2003-01-05 Havoc Pennington <hp@pobox.com> * src/window.c (meta_window_show): focus new windows even in mouse focus mode, #89981, patch from readams@hmc.edu
* redo using new calc_workspace_layout to fix #98302Havoc Pennington2003-01-056-226/+372
| | | | | | | | | | | | | 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
* handle the client having a shape mask, fixes #101806Havoc Pennington2003-01-0515-52/+351
| | | | | | | | | | | | | | | | | | | | | 2003-01-05 Havoc Pennington <hp@pobox.com> * src/frames.c (meta_frames_apply_shapes): handle the client having a shape mask, fixes #101806 * src/core.c (meta_core_get_client_xwindow): new function * src/frame.c, src/frame.h: keep a flag for whether we need to update the frame shape * src/window.c (meta_window_new): select for ShapeNotify * src/display.h, src/display.c: actually query the shape extension, instead of just using it all over the place. * src/prefs.c (update_application_based): don't let people turn on application_based, as it just causes funky bugs. We can reenable the pref when/if it ever does something useful.
* include the Xrandr header fileHavoc Pennington2003-01-032-21/+20
| | | | | | | | | | 2003-01-03 Havoc Pennington <hp@redhat.com> * src/display.c: include the Xrandr header file * src/window.c (meta_window_fill_horizontal) (meta_window_fill_vertical): maximize to work area, not entire screen. doh.
* Reverted visual bell patch, #99886Havoc Pennington2002-12-1912-238/+6
| | | | | | 2002-12-19 Havoc Pennington <hp@pobox.com> * Reverted visual bell patch, #99886
* select ColormapChangeMask on toplevel windows, maybe a partial fix forHavoc Pennington2002-12-193-9/+9
| | | | | | | | | | | | | | | | | | | | 2002-12-18 Havoc Pennington <hp@redhat.com> * src/window.c (meta_window_new): select ColormapChangeMask on toplevel windows, maybe a partial fix for #101478 2002-12-17 Havoc Pennington <hp@pobox.com> * src/display.c (meta_display_begin_grab_op): don't use "(null)" for null pointers, use "none", so I can distinguish glibc-generated (null) which is a bug. (key_event_description): ditto (meta_display_begin_grab_op): ditto * src/window.c (update_sm_hints): ditto * src/keybindings.c (reload_modmap): ditto (meta_display_process_key_event): ditto
* select ColormapChangeMask on toplevel windows, maybe a partial fix forHavoc Pennington2002-12-181-1/+2
| | | | | | | 2002-12-18 Havoc Pennington <hp@redhat.com> * src/window.c (meta_window_new): select ColormapChangeMask on toplevel windows, maybe a partial fix for #101478
* added support for border only windows. #100984.Hidetoshi Tajima2002-12-181-1/+32
| | | | | * src/themes/AgingGorilla/metacity-theme-1.xml: added support for border only windows. #100984.
* s/focussed/focused/Havoc Pennington2002-12-171-1/+1
| | | | | | 2002-12-17 Havoc Pennington <hp@pobox.com> * src/metacity.schemas.in: s/focussed/focused/