summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* =================================================METACITY_2_19_8Thomas James Alexander Thurman2007-06-042-0/+18
| | | | | | | | | metacity-2.19.8 archives ready for distribution: metacity-2.19.8.tar.gz ================================================= svn path=/trunk/; revision=3229
* fix label layout for RTL languages. Closes #433400.Thomas Thurman2007-06-042-5/+28
| | | | | | | | | | 2007-06-04 Thomas Thurman <thomas@thurman.org.uk> * src/metaaccellabel.c (meta_accel_label_expose_event): fix label layout for RTL languages. Closes #433400. svn path=/trunk/; revision=3228
* Pango layout for titlebars should take LTR/RTL-ness from the underlyingThomas Thurman2007-06-032-0/+8
| | | | | | | | | | | | 2007-06-03 Thomas Thurman <thomas@thurman.org.uk> * src/frames.c (meta_frames_ensure_layout): Pango layout for titlebars should take LTR/RTL-ness from the underlying widget and not from sniffing the content. Closes #438944. svn path=/trunk/; revision=3227
* Add support for RTL languages so that alt-tab, etc., go the other way. InYair Hershkovitz2007-05-259-4/+70
| | | | | | | | | | | | | | | | | | | | | | | | | | | 2007-05-25 Yair Hershkovitz <yairhr@yahoo.com> * src/workspace.c (meta_workspace_get_neighbor): Add support for RTL languages so that alt-tab, etc., go the other way. * src/keybindings.c (handle_activate_menu): In RTL locales, pop up the menu on the right-hand side when the menu keystroke is pressed. * src/fixedtip.c (meta_fixed_tip_show): right-justify tooltips in RTL locales. * src/menu.c (popup_position_func): popup menus in RTL locales are flush with the right-hand side of the window where possible. * src/frames.c (show_tip_now, meta_frames_button_press_event): tooltips are aligned with the right-hand side of buttons in RTL locales. * src/ui.[ch] (meta_ui_get_direction, enum MetaUIDirection): New content. * src/window.c (meta_window_show_menu): "move left" appears above "move right" in the window menu for LTR locales, and vice versa for RTL locales. This is all to close bug #387893. svn path=/trunk/; revision=3222
* Updated Danish translationKenneth Nielsen2007-05-241-803/+1236
| | | | svn path=/trunk/; revision=3221
* Occitan translation updateYannig MARCHEGAY2007-05-231-14/+7
| | | | svn path=/trunk/; revision=3220
* Updated Thai translation.Theppitak Karoonboonyanan2007-05-182-272/+318
| | | | | | | * th.po: Updated Thai translation. svn path=/trunk/; revision=3219
* + OccitanYannig MARCHEGAY2007-05-161-0/+1
| | | | svn path=/trunk/; revision=3218
* svn path=/trunk/; revision=3217Yannig MARCHEGAY2007-05-161-0/+2956
| | | | svn path=/trunk/; revision=3217
* 2007-05-09 Jovan Naumovski <jovanna@svn.gnome.org> *mk.po: Updated ↵Jovan Naumovski2007-05-092-301/+361
| | | | | | Macedonian translation. svn path=/trunk/; revision=3216
* Updated Arabic Translation by Khaled Hosny. Djihed Afifi2007-05-022-54/+33
| | | | svn path=/trunk/; revision=3215
* Add code to configure what happens when the titlebar is right or middleLinus Torvalds2007-04-253-27/+73
| | | | | | | | | | | | | | 2007-04-24 Linus Torvalds <torvalds@woody.linux-foundation.org> * src/prefs.[ch] (init_action_meta_prefs, meta_prefs_init, action_change_titlebar, change_notify, update_action_titlebar, meta_preference_to_string): Add code to configure what happens when the titlebar is right or middle clicked as well as double clicked. svn path=/trunk/; revision=3214
* Updated Belarusian Latin translation.Ihar Hrachyshka2007-04-232-63/+76
| | | | svn path=/trunk/; revision=3212
* post-release bump to 2.19.8.Elijah Newren2007-04-232-1/+5
| | | | | | | | 2007-04-23 Elijah Newren <newren gmail com> * configure.in: post-release bump to 2.19.8. svn path=/trunk/; revision=3211
* 2.19.5 release.METACITY_2_19_5Elijah Newren2007-04-232-0/+17
| | | | | | | | 2007-04-23 Elijah Newren <newren gmail com> * NEWS: 2.19.5 release. svn path=/trunk/; revision=3209
* Fix some uninitialized memory usage errors. #427385Elijah Newren2007-04-233-3/+21
| | | | | | | | | | | | | | | 2007-04-23 Elijah Newren <newren gmail com> Fix some uninitialized memory usage errors. #427385 * src/frame.c (meta_window_ensure_frame): * src/frames.c (meta_frames_manage_window): Do not try to set the window background in meta_frames_manage_window() since the frame window is not yet created and not yet registered with the corresponding MetaWindow. Do it inside meta_window_ensure_frame() instead. svn path=/trunk/; revision=3208
* Updated British English translationDavid Lodge2007-04-232-63/+76
| | | | svn path=/trunk/; revision=3207
* Updated Galician TranslationIgnacio Casal Quinteiro2007-04-222-1214/+1522
| | | | svn path=/trunk/; revision=3206
* Updated Spanish translation.Jorge Gonzalez Gonzalez2007-04-222-330/+375
| | | | svn path=/trunk/; revision=3205
* sv.po: Updated Swedish translationDaniel Nylander2007-04-212-269/+317
| | | | svn path=/trunk/; revision=3204
* Fix some fallout from #426519; update user_rect for all position changesElijah Newren2007-04-183-39/+25
| | | | | | | | | | | | | | | | | | | | | | | 2007-04-17 Elijah Newren <newren gmail com> Fix some fallout from #426519; update user_rect for all position changes prior to the window being marked as placed. Prevents emacs in particular from flickering on start and always being shoved to the upper-left corner. * src/window.c (meta_window_move_resize_internal): Record position in user_rect if the window is not yet marked as placed too * src/window.c (struct MetaWindow, meta_window_new_with_attrs, meta_window_move_resize_internal): Remove window->user_has_move_resized; it's not needed or used anymore. * src/window.[ch] (meta_window_get_user_position): Remove this function as it is no longer needed or used. svn path=/trunk/; revision=3203
* Prevent metacity from "forgetting" which machine a window is on. #418552Elijah Newren2007-04-162-4/+14
| | | | | | | | | | | | | 2007-04-16 Elijah Newren <newren gmail com> Prevent metacity from "forgetting" which machine a window is on. #418552 * src/window.c (meta_window_new_with_attrs): reorder the property loading so that we know the wm_client_machine when we load the name of the window and can modify the window name accordingly. svn path=/trunk/; revision=3201
* post-release bump to 2.19.5.Elijah Newren2007-04-162-1/+5
| | | | | | | | 2007-04-16 Elijah Newren <newren gmail com> * configure.in: post-release bump to 2.19.5. svn path=/trunk/; revision=3200
* 2.19.3 release.METACITY_2_19_3Elijah Newren2007-04-162-1/+28
| | | | | | | | 2007-04-16 Elijah Newren <newren gmail com> * NEWS: 2.19.3 release. svn path=/trunk/; revision=3198
* Preserve stacking order across restarts.Elijah Newren2007-04-164-19/+39
| | | | | | | | | | | | | | | | | | | 2007-04-15 Elijah Newren <newren gmail com> Preserve stacking order across restarts. * src/display.c (meta_display_unmanage_windows_for_screen): unmap windows in stacking order so that stacking is preserved upon shutdown * src/display.[ch] (meta_display_stack_cmp): * src/session.c (stack_cmp, save_state): rename stack_cmp() -> meta_display_stack_cmp() and move it to a different function so that it can be used in both session.c:save_state() and meta_display_unmanage_windows_for_screen() svn path=/trunk/; revision=3197
* Remove incorrect usage of window.h from menu.c. See #426791 & #382962.Elijah Newren2007-04-168-46/+78
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2007-04-15 Elijah Newren <newren gmail com> Remove incorrect usage of window.h from menu.c. See #426791 & #382962. * src/menu.c (enum MetaMenuItemType, variable menuitems, meta_menu_item_new): cleanup: add a MENU_ITEM_RADIOBUTTON for the sticky stuff * src/menu.c (variable menuitems): * src/core.c (meta_core_get_menu_accelerator): * src/window.c (menu_callback, meta_window_show_menu): * src/common.h (enum MetaMenuOp): reinstate META_MENU_OP_UNABOVE * src/menu.c (meta_window_menu_new): remove hacks (using inappropriate data) for STICK/UNSTICK/ABOVE and clean it up while just setting STICK/UNSTICK activeness as necessary * src/menu.[ch] (meta_window_menu_new): * src/ui.[ch] (meta_ui_window_menu_new): make the active_workspace parameter an unsigned long 2007-04-15 Bruno Boaventura <brunobol@gnome.org> * src/menu.c (meta_window_menu_new): don't show the current workspace as a possible workspace to switch to. Fixes #426791. svn path=/trunk/; revision=3196
* Updated Arabic Translation by Khaled Hosny. Djihed Afifi2007-04-142-611/+1613
| | | | svn path=/trunk/; revision=3195
* do not auto-maximize windows larger than the workarea in only a singleElijah Newren2007-04-122-5/+14
| | | | | | | | | | 2007-04-12 Elijah Newren <newren gmail com> * src/place.c (meta_window_place): do not auto-maximize windows larger than the workarea in only a single direction. Fixes #419810. svn path=/trunk/; revision=3194
* Make sure apps have correct info about their coordinates, even on unmap.Elijah Newren2007-04-123-6/+41
| | | | | | | | | | | | | | | | | | | | | 2007-04-11 Elijah Newren <newren gmail com> Make sure apps have correct info about their coordinates, even on unmap. Fixes temporary hang with libXt (XtVaSetValues setting x & y coordinates). #399552. * src/frame.c (meta_window_destroy_frame): Add a comment noting that the current choice causes the need for a ConfigureNotify event * src/window.c (meta_window_free): Send a configure notify event due to our XReparentWindow coordinate choices on withdrawal, (unmaximize_window_before_freeing): no need to send a configure notify from here since it is always done in meta_window_free new, (send_configure_notify): have to special case the coordinates used when withdrawing the window svn path=/trunk/; revision=3192
* Workaround for a gdk bug which dies with BadAlloc if you try to allocateThomas Thurman2007-04-122-32/+93
| | | | | | | | | | | | 2007-04-11 Thomas Thurman <thomas@thurman.org.uk> Workaround for a gdk bug which dies with BadAlloc if you try to allocate an insanely huge rectangle for an insanely huge window. Fixes #399529. svn path=/trunk/; revision=3191
* Advertise support of Above and Below operations (assuming the proposedElijah Newren2007-04-115-3/+31
| | | | | | | | | | | | | | | | | | 2007-04-11 Elijah Newren <newren gmail com> Advertise support of Above and Below operations (assuming the proposed EWMH additions of _NET_WM_ACTION_(ABOVE|BELOW) will be accepted, otherwise these changes will have to be modified). Part of #115247. * src/display.[ch] (meta_display_open, struct MetaDisplay): * src/screen.c (set_wm_check_hint): Add support for _NET_WM_ACTION_ABOVE and _NET_WM_ACTION_BELOW * src/window.c (set_allowed_actions_hints): add active_above and action_below svn path=/trunk/; revision=3190
* make sure to set _NET_WM_ALLOWED_ACTIONS so that libwnck menus don't haveElijah Newren2007-04-112-1/+10
| | | | | | | | | | | | 2007-04-10 Elijah Newren <newren gmail com> * src/window.c (recalc_window_features): make sure to set _NET_WM_ALLOWED_ACTIONS so that libwnck menus don't have sensitive but ineffective menu items. The "On Top" item is now buggy, but due to the fact that _NET_WM_ACTION_ABOVE is not yet defined in the EWMH. Fixes #115247. svn path=/trunk/; revision=3189
* Updated Norwegian bokmål translation.Kjartan Maraas2007-04-092-260/+310
| | | | | | | | 2007-04-10 Kjartan Maraas <kmaraas@gnome.org> * nb.po: Updated Norwegian bokmål translation. svn path=/trunk/; revision=3187
* Add support for _NET_MOVERESIZE_WINDOW. #344521.Elijah Newren2007-04-095-142/+144
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2007-04-09 Elijah Newren <newren gmail com> Add support for _NET_MOVERESIZE_WINDOW. #344521. * src/display.c (handle_net_moveresize_window, event_callback): Remove handle_net_moveresize_window() and the call to it; this code was highly buggy, though to be fair it was never tested and had simply been put into the code in commented out form. * src/screen.c (set_supported_hint): add atom_net_moveresize_window * src/window.[ch]: (meta_window_configure_request, meta_window_move_resize_request): Split out the moving/resize part of the configure request and put it into meta_window_move_resize_request (meta_window_client_message): check for NET_MOVERESIZE_WINDOW messages and call meta_window_move_resize_request() with the appropriate parameters to handle them (meta_window_move_resize_internal): fix some of the big comment at this function -- it wasn't quite right, use the passed in gravity instead of window->size_hints.win_gravity when calling adjust_for_gravity() to make sure the correct adjustments are used. (meta_window_get_gravity_position, meta_window_get_geometry, meta_window_move_resize_request): add a gravity parameter to meta_window_get_gravity_position and have it use that gravity instead of window->size_hints.win_gravity svn path=/trunk/; revision=3186
* post-release bump to 2.19.3.Elijah Newren2007-04-092-1/+5
| | | | | | | | 2007-04-09 Elijah Newren <newren gmail com> * configure.in: post-release bump to 2.19.3. svn path=/trunk/; revision=3185
* 2.19.2 release.METACITY_2_19_2Elijah Newren2007-04-092-0/+29
| | | | | | | | 2007-04-09 Elijah Newren <newren gmail com> * NEWS: 2.19.2 release. svn path=/trunk/; revision=3183
* Remove grab_start_serial, which we expect to be an ancient attempt toElijah Newren2007-04-099-57/+28
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2007-04-08 Elijah Newren <newren gmail com> Remove grab_start_serial, which we expect to be an ancient attempt to workaround sloppy/mouse focus bugs that have since been correctly fixed. May fix some race conditions. May cause nasty bugs in sloppy/mouse focus modes. We'll find out soon enough... See #304430. * src/display.c (event_callback): remove event->xany.serial >= display->grab_start_serial in several event callback handlers * src/display.[ch] (struct _MetaDisplay, meta_display_begin_grab_op): * src/keybindings.c (do_choose_window, handle_workspace_switch): * src/frames.c (meta_frames_button_press_event): * src/core.[ch] (meta_core_begin_grab_op): * src/window.c (meta_window_client_message, meta_window_begin_grab_op): don't require an event_serial to be passed to meta_display_begin_grab_op () and don't record it anymore. * src/ui.c (struct _EventFunc, filter_func, meta_ui_get_last_event_serial) * src/core.h (meta_ui_get_last_event_serial): remove meta_ui_get_last_event_serial() function (don't ask me why it was declared in core.h) and the last_even_serial field of _EventFunc svn path=/trunk/; revision=3182
* Fix move/resize events in relation to combinations of ConfigureRequest andElijah Newren2007-04-095-80/+103
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2007-04-08 Elijah Newren <newren gmail com> Fix move/resize events in relation to combinations of ConfigureRequest and WM_NORMAL_HINTS change notifications (plus a few code cleanups). Fixes #426519. * src/window.c (meta_window_move_resize_now): move to the user_rect position, not some weird combination of rect and user_rect * src/window.c (meta_window_configure_request): set user_rect in response to ConfigureRequest events (after the ConfigureRequest values have been constrained) and add a big comment explaining this change, remove unused only_resize variable and irrelevant huge FIXME comment about it * src/window.[ch] (meta_window_get_client_root_coords): new function * src/display.c (meta_display_begin_grab_op): * src/keybindings.c (process_keyboard_move_grab): * src/window.c (meta_window_unmaximize, meta_window_move_resize_internal, meta_window_begin_wireframe, update_move, meta_window_refresh_resize_popup, warp_grab_pointer) combine multi-step client rect root coord setting into a single function call to meta_window_get_client_root_coords() svn path=/trunk/; revision=3181
* removed conflict line.Thomas Thurman2007-04-081-1/+4
| | | | | | | | | | 2007-04-08 Thomas Thurman <thomas@thurman.org.uk> * ChangeLog: removed conflict line. svn path=/trunk/; revision=3175
* Add an (unbound by default) keybinding for setting spew marks in verboseElijah Newren2007-04-075-3/+21
| | | | | | | | | | | | | | | | 2007-04-07 Elijah Newren <newren gmail com> * src/prefs.[ch] (screen_bindings array, META_KEYBINDING_SET_SPEW_MARK definition): * src/keybindings.c (handle_spew_mark, screen_handlers array): Add an (unbound by default) keybinding for setting spew marks in verbose debugging logs. I'm not sure why this was ever removed; I've wanted it so many times. * HACKING: valgrind wants --log-file not --logfile. svn path=/trunk/; revision=3174
* Fix memory bug (invalid free) introduced in 2007-04-02 strut cleanupElijah Newren2007-04-072-1/+6
| | | | | | | | | 2007-04-07 Elijah Newren <newren gmail com> * src/window.c (meta_window_free): Fix memory bug (invalid free) introduced in 2007-04-02 strut cleanup commit. Part of #427385. svn path=/trunk/; revision=3173
* if theme is invalid and therefore got freed, don't attempt to read fromThomas Thurman2007-04-052-1/+8
| | | | | | | | | | | 2007-04-05 Thomas Thurman <thomas@thurman.org.uk> * src/theme_parser.c: if theme is invalid and therefore got freed, don't attempt to read from it. Closes #423855. svn path=/trunk/; revision=3172
* Add new control-center key bindings definitions (Closes: #420145)Bastien Nocera2007-04-056-1/+308
| | | | | | | | | | | | | | | | 2007-04-05 Bastien Nocera <hadess@hadess.net> * src/50-metacity-desktop-key.xml.in: * src/50-metacity-key.xml.in: * src/Makefile.am: Add new control-center key bindings definitions (Closes: #420145) 2007-04-05 Bastien Nocera <hadess@hadess.net> * POTFILES.in: add the XML keys definitions to the list svn path=/trunk/; revision=3170
* Updated Latvian Translation.Raivis Dejus2007-04-051-6/+6
| | | | | | | | 2007-04-05 Raivis Dejus <orvils@gmail.com> * lv.po: Updated Latvian Translation. svn path=/trunk/; revision=3169
* Updated Latvian Translation.Raivis Dejus2007-04-052-327/+373
| | | | | | | | 2007-04-05 Raivis Dejus <orvils@gmail.com> * lv.po: Updated Latvian Translation. svn path=/trunk/; revision=3168
* post-release bump to 2.19.2Elijah Newren2007-04-052-1/+5
| | | | | | | | 2007-04-04 Elijah Newren <newren gmail com> * configure.in: post-release bump to 2.19.2 svn path=/trunk/; revision=3167
* 2.19.1 release.METACITY_2_19_1Elijah Newren2007-04-052-7/+61
| | | | | | | | 2007-04-04 Elijah Newren <newren gmail com> * NEWS: 2.19.1 release. svn path=/trunk/; revision=3165
* send synthetic configurenotify events also in response to MapRequestElijah Newren2007-04-042-1/+21
| | | | | | | | | | | | 2007-04-04 Elijah Newren <newren gmail com> * src/window.c (meta_window_move_resize_internal): send synthetic configurenotify events also in response to MapRequest events when the window has a frame and the application specifies PPosition or UPosition hints. I believe they are already sent for all other cases. Should fix #322840. Fixes the testcase at least. :) svn path=/trunk/; revision=3156
* Fix lots of little issues with min/max constraints and size incrementElijah Newren2007-04-045-93/+311
| | | | | | | | | | | | | | | | | | | | | | | | | | | | 2004-04-04 Elijah Newren <newren gmail com> Fix lots of little issues with min/max constraints and size increment constraints. Fixes #329152, #418395, and possibly others. * src/window-props.c (meta_set_normal_hints): Do more checking to make sure application specified constraints are self-consistent, modifying the size_hints as necessary to achieve self-consistency. * src/constraints.c (setup_constraint_info): remove ugly copy-pasto, (constrain_size_increments): be careful that fixing violation of the constraints doesn't cause a violation of the minimum size constraints. * src/window.c (ensure_size_hints_satisfied): new function, (meta_window_unmaximize, meta_window_unmake_fullscreen): the saved_rect may no longer be valid (as in the case of #329152) so call ensure_size_hints_satisfied to fix it up. * doc/how-to-get-focus-right.txt: Some minor spacing and wording fixes completely unrelated to the rest of this commit svn path=/trunk/; revision=3155
* Only use saved_rect for determining the position to unmaximize to for theElijah Newren2007-04-042-6/+30
| | | | | | | | | | 2007-04-03 Elijah Newren <newren gmail com> * src/window.c (meta_window_unmaximize): Only use saved_rect for determining the position to unmaximize to for the previously-maximized direction(s). Fixes #355497. svn path=/trunk/; revision=3154