summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Another very big commit...multiple_pointer_xPaulo Zanoni2007-08-2720-935/+1145
| | | | | | | | | Now it is possible to do "multiple operations" at the same time: dragging/resizing windows with multiple mice, for example. Some bugs corrected. Some other still need to be corrected... svn path=/branches/multiple_pointer_x/; revision=3310
* - Fixed a memory leakPaulo Zanoni2007-08-197-66/+111
| | | | | | | | | | | | | | | | | - Fixed bugs that happened when the number of keyboards was different than the number of mice - Fixed a bug with key events - Changed the way we store paired devices - More debug info... - Discovered that reason we're not getting the button events when someone clicks a window (not window frame). This only happens with applications that have implicit grabs on the mouse: happens with xterm, doesn't happen with xeyes. It is not a problem with metacity: it is a "feature" of mpx. Won't be solved for now... - Added useless code that will be used in the next commit, when we'll allow multiple operations at the same time. svn path=/branches/multiple_pointer_x/; revision=3306
* Changed all the input handling code:Paulo Zanoni2007-08-1728-1221/+3062
| | | | | | | | | | | | | | | | | | | | | | | | | - Make use of MPX's XInput instead of core input protocol. - Enables multiple focus. - Enables meta_operations for any devices. Now you MUST use "--enable-mpx" or metacity will refuse to compile. This will be corrected soon. Now you MUST ust my gtk+ patch to compile it. See http://live.gnome.org/Metacity/MpxHowto. The code is not good yet. There are a lot of broken layers and bad variable names. They will be fixed. Known bugs: - Focus only works if you click window frames. - Keyboard shorcuts not working yet. I know I should have commited this earlier, but it would ONLY work with all these changes together. svn path=/branches/multiple_pointer_x/; revision=3302
* Corrected RadioButtons.Paulo Zanoni2007-07-107-59/+247
| | | | | | | Adds option to enable/disable device access to windows. Corrects a few bugs. svn path=/branches/multiple_pointer_x/; revision=3265
* Initial commit. Added the structures to enable compiling. Added an initialPaulo Zanoni2007-07-0413-4/+427
| | | | | | | | | Initial commit. Added the structures to enable compiling. Added an initial infrastructure to work with multiple devices. Added the SetClientPointer option. svn path=/branches/multiple_pointer_x/; revision=3263
* Updated Vietnamese translation.Clytie Siddall2007-06-272-676/+749
| | | | svn path=/trunk/; revision=3260
* Updated Spanish translationJorge Gonzalez Gonzalez2007-06-252-2/+11
| | | | svn path=/trunk/; revision=3259
* Add src/core.c Updated Norwegian bokmål translation.Kjartan Maraas2007-06-243-150/+176
| | | | | | | | | 2007-06-24 Kjartan Maraas <kmaraas@gnome.org> * POTFILES.in: Add src/core.c * nb.po: Updated Norwegian bokmål translation. svn path=/trunk/; revision=3258
* Put all bitfields together to help with optimisation. Closes #450271.Thomas Thurman2007-06-231-0/+5
| | | | | | | | | | 2007-06-23 Thomas Thurman <thomas@thurman.org.uk> * src/window.c (MetaWindow): Put all bitfields together to help with optimisation. Closes #450271. svn path=/trunk/; revision=3257
* Updated Spanish translationJorge Gonzalez Gonzalez2007-06-192-10/+33
| | | | svn path=/trunk/; revision=3256
* I don't actually know what year it is most daysThomas James Alexander Thurman2007-06-181-1/+1
| | | | svn path=/trunk/; revision=3255
* Update copyright year because it was five years out of date.Thomas Thurman2007-06-182-1/+6
| | | | | | | | | | 2007-06-18 Thomas Thurman <thomas@thurman.org.uk> * src/main.c (version): Update copyright year because it was five years out of date. svn path=/trunk/; revision=3254
* post-release bump to 2.19.34.Thomas Thurman2007-06-182-1/+5
| | | | | | | | | 2007-06-18 Thomas Thurman <thomas@thurman.org.uk> * configure.in: post-release bump to 2.19.34. svn path=/trunk/; revision=3250
* 2.19.21 release.GNOME_PANEL_2_19_21Thomas Thurman2007-06-182-0/+20
| | | | | | | | | 2007-06-18 Thomas Thurman <thomas@thurman.org.uk> * NEWS: 2.19.21 release. svn path=/trunk/; revision=3248
* Only open new windows on the current xinerama. Closes #145503, for now.Thomas Thurman2007-06-182-142/+83
| | | | | | | | | | 2007-06-18 Thomas Thurman <thomas@thurman.org.uk> * src/place.c (find_first_fit, meta_window_place): Only open new windows on the current xinerama. Closes #145503, for now. svn path=/trunk/; revision=3247
* return a boolean instead a void, to show whether startup properties wereThomas Thurman2007-06-184-14/+45
| | | | | | | | | | | | | 2007-06-17 Thomas Thurman <thomas@thurman.org.uk> * src/screen.[ch] (meta_screen_apply_startup_properties): return a boolean instead a void, to show whether startup properties were applied. Also some commenting. * src/window-props.c: (reload_net_startup_id): Only activate the window if the startup_id was actually changed. Closes #400167. svn path=/trunk/; revision=3245
* MetaCloseEffect and MetaFocusEffect, which were empty structs, #ifdeffedDamien Carbery2007-06-172-0/+12
| | | | | | | | | | | | 2007-06-16 Damien Carbery <damien.carbery@sun.com> * effects.h: MetaCloseEffect and MetaFocusEffect, which were empty structs, #ifdeffed out because they broke the build on Solaris. Closes #397296. svn path=/trunk/; revision=3244
* make prototype of meta_window_unqueue match implementation. ClosesDamien Carbery2007-06-172-1/+6
| | | | | | | | | | | 2007-06-16 Damien Carbery <damien.carbery@sun.com> * window.h: make prototype of meta_window_unqueue match implementation. Closes #446535. svn path=/trunk/; revision=3243
* Updated metacity zh_CN translationFunda Wang2007-06-162-296/+345
| | | | svn path=/trunk/; revision=3242
* Updated Spanish translationJorge Gonzalez Gonzalez2007-06-152-149/+159
| | | | svn path=/trunk/; revision=3241
* updated dzongkha translationPema Geyleg2007-06-132-284/+312
| | | | svn path=/trunk/; revision=3240
* post-release bump to 2.19.21.Thomas Thurman2007-06-112-2/+6
| | | | | | | | | 2007-06-10 Thomas Thurman <thomas@thurman.org.uk> * configure.in: post-release bump to 2.19.21. svn path=/trunk/; revision=3239
* 2.19.13 releaseMETACITY_2_19_13Thomas James Alexander Thurman2007-06-112-0/+16
| | | | svn path=/trunk/; revision=3237
* Refactor thrice-duplicated queue code in window.c. Closes #376760.Thomas Thurman2007-06-119-224/+211
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2007-06-10 Thomas Thurman <thomas@thurman.org.uk> Refactor thrice-duplicated queue code in window.c. Closes #376760. * src/window.c (meta_window_queue, meta_window_unqueue): New functions. * src/window.[ch] (meta_window_unqueue_*, meta_window_queue_*): Removed functions. * src/window.c (meta_window_new_with_attrs, meta_window_free, meta_window_flush_calc_showing, queue_calc_showing_func, meta_window_minimize, meta_window_unminimize, meta_window_maximize, meta_window_make_fullscreen, meta_window_shade, meta_window_unshade, meta_window_move_resize_internal, window_stick_impl, window_unstick_impl, meta_window_client_message, process_property_notify): Modified to use new queueing functions. * src/window.c (idle_move_resize, idle_update_icon, idle_calc_showing): update to receive queue number from pointer. * src/window.h (MetaQueueType): new enum. * src/window.h (MetaWindow): *_queued replaced with is_in_queue bitfield. * src/core.c (meta_core_queue_frame_resize): * src/display.c (event_callback, meta_display_queue_retheme_all_windows): Using new queueing functions. * src/frame.c (meta_window_destroy_frame): Using new queueing functions. * src/screen.c (queue_resize, meta_screen_resize_func, queue_windows_showing): Using new queueing functions. * src/window-props.c (reload_mwm_hints, reload_wm_hints, reload_transient_for): Using new queueing functions. * src/workspace.c (meta_workspace_add_window, meta_workspace_remove_window, meta_workspace_queue_calc_showing, meta_workspace_invalidate_work_area): Using new queueing functions. svn path=/trunk/; revision=3236
* added switch_group; closes #444879.Thomas Thuramn2007-06-092-0/+7
| | | | | | | | | 2007-06-09 Thomas Thuramn <thomas@thurman.org.uk> * src/50-metacity-key.xml.in: added switch_group; closes #444879. svn path=/trunk/; revision=3235
* Update the raise_on_click description to try to prevent misuses, toElijah Newren2007-06-082-3/+25
| | | | | | | | | | | 2007-06-08 Elijah Newren <newren gmail com> * src/metacity.schemas.in: Update the raise_on_click description to try to prevent misuses, to appropriately warn users, and to stop wasting the time of application developers. #445447, #389923 svn path=/trunk/; revision=3234
* changed all tabs to spaces. Removed and replaced with meta_core_get(). NewThomas Thurman2007-06-074-330/+352
| | | | | | | | | | | | | | | | | | | | | | | | | | 2007-06-06 Thomas Thurman <thomas@thurman.org.uk> * frames.c, core.[ch]: changed all tabs to spaces. * core.[ch] (meta_core_get_client_size, meta_core_window_has_frame, meta_core_titlebar_is_onscreen, meta_core_get_client_xwindow, meta_core_get_frame_flags, meta_core_get_frame_type, meta_core_get_mini_icon, meta_core_get_icon, meta_core_get_position, meta_core_get_size, meta_core_get_frame_workspace, meta_core_get_frame_extents, meta_core_get_screen_size): Removed and replaced with meta_core_get(). * core.[ch] (meta_core_get): New function. * core.h (MetaCoreGetType): New enum. * frames.c (meta_frames_ensure_layout, meta_frames_calc_geometry, meta_frames_get_geometry, meta_frames_apply_shapes, meta_frame_titlebar_event, meta_frames_button_press_event, populate_cache, clip_to_screen, meta_frames_paint_to_drawable, meta_frames_set_window_background, get_control): Replace use of removed functions in ui.c with meta_core_get(). All this should make things a little faster. Closes #377495. svn path=/trunk/; revision=3233
* Added translators' names from 2.19.8 (sorry, folks: I forgot to save NEWSThomas Thurman2007-06-042-0/+12
| | | | | | | | | | 2007-06-04 Thomas Thurman <thomas@thurman.org.uk> * NEWS: Added translators' names from 2.19.8 (sorry, folks: I forgot to save NEWS with their names in it before shipping.) svn path=/trunk/; revision=3232
* post-release bump to .13Thomas James Alexander Thurman2007-06-042-1/+5
| | | | svn path=/trunk/; revision=3231
* =================================================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