summaryrefslogtreecommitdiff
path: root/src
Commit message (Collapse)AuthorAgeFilesLines
* zeroth draftThomas Thurman2009-07-104-8/+82
|
* zeroth draftThomas Thurman2009-07-102-0/+0
|
* stubsThomas Thurman2009-07-103-1/+95
|
* unset _NET_SUPPORTING_WM_CHECK when shutting downThomas Thurman2009-07-091-0/+9
|
* Add a switch to disable autofullscreen'ing maximized windows without decorationsTomeu Vizoso2009-07-064-2/+35
|
* Remove deprecated GTK symbols. Refs #572332.Thomas James Alexander Thurman2009-03-1214-46/+48
| | | | | | | | | | | | | | | | | | | | | * src/include/util.h: * src/tools/metacity-window-demo.c: * src/ui/fixedtip.c: * src/ui/frames.c: * src/ui/frames.h: * src/ui/menu.c: * src/ui/metaaccellabel.c: * src/ui/metaaccellabel.h: * src/ui/preview-widget.c: * src/ui/preview-widget.h: * src/ui/tabpopup.c: * src/ui/theme-viewer.c: * src/ui/themewidget.c: * src/ui/themewidget.h: * test/tokentest/tokentest.c: svn path=/trunk/; revision=4193
* use g_signal_handlers_disconnect_by_func instead of an old deprecatedThomas James Alexander Thurman2009-03-121-16/+6
| | | | | | | | * src/tools/metacity-mag.c: use g_signal_handlers_disconnect_by_func instead of an old deprecated function. svn path=/trunk/; revision=4192
* fix problem where the previous code ignored callbacks for properties whoseThomas James Alexander Thurman2009-03-121-47/+24
| | | | | | | | | * src/core/window-props.c: fix problem where the previous code ignored callbacks for properties whose values weren't looked up. Closes #572573. svn path=/trunk/; revision=4191
* add optional dependency on gtop. Include "(as username)" in the titlebarThomas James Alexander Thurman2009-03-062-2/+99
| | | | | | | | | | | | * configure.in: add optional dependency on gtop. * src/core/window-props.c: Include "(as username)" in the titlebar if a window is running as another user. * src/core/window.c: check for PID before name, since the rendering of the name can now depend on the PID. Closes #549389. svn path=/trunk/; revision=4181
* Don't force CA_PROP_CANBERRA_ENABLE to 1. That was a misunderstanding onMatthias Clasen2009-02-211-1/+0
| | | | | | | | | * src/core/bell.c: Don't force CA_PROP_CANBERRA_ENABLE to 1. That was a misunderstanding on my part, and makes it impossible to get rid of the bell. svn path=/trunk/; revision=4165
* Use zenity for the session management dialogue that warns aboutThomas James Alexander Thurman2009-02-205-580/+64
| | | | | | | | | | | | | clueless clients, not metacity-dialog. This is the last change away from metacity-dialog and therefore closes #521914. * src/Makefile.am: * src/core/session.c: * src/core/util.c: * src/include/util.h: * src/ui/metacity-dialog.c (deleted): svn path=/trunk/; revision=4163
* Now that we are using libcanberra, don't tell the X server to play theMatthias Clasen2009-02-131-6/+0
| | | | | | | | | * src/core/bell.c (meta_bell_set_audible): Now that we are using libcanberra, don't tell the X server to play the system bell internally. svn path=/trunk/; revision=4141
* Use libcanberra to play system bell and workspace switch soundsMatthias Clasen2009-02-122-3/+104
| | | | svn path=/trunk/; revision=4137
* Session must be saved before display close, and displayThomas James Alexander Thurman2009-02-114-6/+25
| | | | | | | | | | | | shouldn't close during shutdown if it's already closed. Can't believe we don't have a bug about this already... * src/core/display-private.h: * src/core/display.c: * src/core/main.c: * src/core/session.c: svn path=/trunk/; revision=4133
* Don't define meta_spew_event unless verbose mode is on.Thomas James Alexander Thurman2009-02-112-0/+4
| | | | | | | | | Closes #571126. * src/core/display.c: * src/core/window.c: svn path=/trunk/; revision=4132
* rm incorrect commentThomas James Alexander Thurman2009-02-101-2/+0
| | | | | | | * src/include/util.h: svn path=/trunk/; revision=4129
* Further movement of code out of metacity-dialog into Zenity;Thomas James Alexander Thurman2009-02-107-283/+179
| | | | | | | | | | | | | | this time it's the "kill or wait?" dialogue. Much code saved. * src/core/delete.c: * src/core/keybindings.c: * src/core/main.c: * src/core/util.c: * src/core/window-private.h: * src/core/window.c: * src/include/util.h: svn path=/trunk/; revision=4125
* Windows demanding attention should never appear in theThomas James Alexander Thurman2009-02-081-1/+2
| | | | | | | | | | | | alt-tab list unless they're of a type which might have appeared there anyway. This solves a problem under AWN where docks which were marked as demanding attention appeared in all alt-tab lists; they were irrelevant and it was impossible to remove them from the lists. * src/core/display.c: svn path=/trunk/; revision=4123
* some commentingThomas James Alexander Thurman2009-02-071-11/+61
| | | | | | | * src/ui/theme.c: some commenting svn path=/trunk/; revision=4122
* Only skip the first window in the alt-tab chain if it's actually theThomas James Alexander Thurman2009-02-071-1/+1
| | | | | | | | | | * src/core/display.c: Only skip the first window in the alt-tab chain if it's actually the current window (urgent windows on other workspaces may precede it). Fixes #535887. svn path=/trunk/; revision=4121
* Lines where x1==x2 or y1==y2 may have the second elementThomas James Alexander Thurman2009-02-062-5/+29
| | | | | | | | | | null. Lines where both are null, and the width is zero, are points. This speeds things up surprisingly much. * src/ui/theme-parser.c: * src/ui/theme.c: svn path=/trunk/; revision=4119
* incredibly baroque system to make sure the translators don't have toThomas James Alexander Thurman2009-02-051-2/+15
| | | | | | | | * src/core/main.c: incredibly baroque system to make sure the translators don't have to update the year number every year. svn path=/trunk/; revision=4118
* collapse several strings into one for the translators' benefit.Thomas James Alexander Thurman2009-02-051-5/+10
| | | | | | | | * src/ui/theme-parser.c: collapse several strings into one for the translators' benefit. svn path=/trunk/; revision=4117
* queue resize on window undecorateThomas James Alexander Thurman2009-02-051-0/+1
| | | | | | | * src/core/frame.c: queue resize on window undecorate svn path=/trunk/; revision=4114
* Fix description, focus the desktop, not desktop backgroung (Closes bugLuca Ferretti2009-02-031-1/+1
| | | | | | | | | 2009-02-03 Luca Ferretti <elle.uca@libero.it> * src/include/all-keybindings.h: Fix description, focus the desktop, not desktop backgroung (Closes bug #569649) svn path=/trunk/; revision=4112
* Wrap g_error calls in braces.Thomas James Alexander Thurman2009-02-031-0/+4
| | | | | | | * src/core/schema-bindings.c: Wrap g_error calls in braces. svn path=/trunk/; revision=4110
* Set prop_hooks_table to NULL after freeing it.Thomas James Alexander Thurman2009-02-011-2/+2
| | | | | | | * src/core/window-props.c: svn path=/trunk/; revision=4103
* Window properties are looked up in a hash table rather thanThomas James Alexander Thurman2009-01-292-360/+91
| | | | | | | | | | by iteration over an array. Saves ~44us per window, but also makes the code cleaner. * src/core/display-private.h: * src/core/window-props.c: svn path=/trunk/; revision=4097
* some lists failed to keep track of their contents and therefore didn'tThomas James Alexander Thurman2009-01-281-2/+2
| | | | | | | | | * src/core/edge-resistance.c: some lists failed to keep track of their contents and therefore didn't free correctly. Closes #552303. svn path=/trunk/; revision=4095
* Free name of old theme when new theme is loaded.Thomas James Alexander Thurman2009-01-281-0/+2
| | | | | | | | * src/core/prefs.c: Free name of old theme when new theme is loaded. svn path=/trunk/; revision=4094
* free the result of gdk_text_property_to_utf8_list() even when it returnsThomas James Alexander Thurman2009-01-281-4/+6
| | | | | | | | * src/ui/ui.c: free the result of gdk_text_property_to_utf8_list() even when it returns no data. svn path=/trunk/; revision=4093
* GtkStyle is specific to a particular colormap. Metacity uses differentOwen Taylor2009-01-284-91/+274
| | | | | | | | | | | | | | | | | | | | | | | 2009-01-27 Owen Taylor <otaylor@redhat.com> GtkStyle is specific to a particular colormap. Metacity uses different colormaps for windows with different visuals, so it must specialize the GtkStyle. Closes #568365 and #513944. * src/ui/frames.[ch]: Keep a GtkStyle for each MetaUIFrame, which is obtained by calling gtk_style_attach() on the style for the MetaFrames. When the style of the MetaFrames changes, reattach everything. When we call gtk_style_set_background() pass in the right style. * src/ui/themes.[ch]: Create a _with_style() variant of functions that previously took the style from widget->style passed in, so we can draw with the right style for the colormap. svn path=/trunk/; revision=4092
* Added a gconf key to swap the meanings of the right andThomas James Alexander Thurman2009-01-274-3/+46
| | | | | | | | | | | | | middle buttons when the modifier key is held down. Closes #437910. Thanks to Matt Kraai for looking over the patch. * src/core/display.c: * src/core/prefs.c: * src/include/prefs.h: * src/metacity.schemas.in.in: svn path=/trunk/; revision=4091
* All the window properties are now handled using simpleThomas James Alexander Thurman2009-01-273-74/+98
| | | | | | | | | | window property handlers. Closes #549886. * src/core/window-private.h: * src/core/window-props.c: * src/core/window.c: svn path=/trunk/; revision=4090
* More of the window properties are checked using simpleThomas James Alexander Thurman2009-01-273-116/+85
| | | | | | | | | | | | | | | | window property handlers. The ones which remain don't actually look up the new value in the ordinary way, and so are a little trickier to merge. Added an "initial" flag to be on the safe side that the behaviour is the same as before (so we don't do things when a window's first mapped that we only used to do when a property changed). Partial fix for bug #549886. * src/core/window-props.c: * src/core/window-props.h: * src/core/window.c: svn path=/trunk/; revision=4089
* add support for _NET_WM_MOVERESIZE_CANCEL.Thomas James Alexander Thurman2009-01-251-1/+9
| | | | | | | * src/core/window.c: add support for _NET_WM_MOVERESIZE_CANCEL. svn path=/trunk/; revision=4088
* add meta_theme_draw_frame_by_name, which is needed for the theme editor.Thomas James Alexander Thurman2009-01-112-0/+75
| | | | | | | | * src/ui/theme.[ch]: add meta_theme_draw_frame_by_name, which is needed for the theme editor. svn path=/trunk/; revision=4074
* alt-F10 toggles maximisation, alt-F5 only restores. Also renameThomas James Alexander Thurman2008-12-252-4/+4
| | | | | | | | | | * src/include/all-keybindings.h: alt-F10 toggles maximisation, alt-F5 only restores. Also rename "unmaximize" to "restore". * src/ui/frames.c: Rename "unmaximize" to "restore". Closes #343824. svn path=/trunk/; revision=4064
* added call to g_thread_init(), as ORBit2 stopped doing it and Metacity isFrederic Peters2008-12-251-0/+3
| | | | | | | | * src/core/main.c: (main): added call to g_thread_init(), as ORBit2 stopped doing it and Metacity is using gconf; closes #565517. svn path=/trunk/; revision=4063
* add screenshot commands which had mistakenly been removed; closes #564343,Thomas James Alexander Thurman2008-12-241-0/+32
| | | | | | | | | * src/metacity.schemas.in.in: add screenshot commands which had mistakenly been removed; closes #564343, Launchpad bug 298463, Red Hat bug 474635, and probably others. svn path=/trunk/; revision=4062
* fix move_to_corner_seThomas James Alexander Thurman2008-12-241-1/+1
| | | | | | | * src/include/all-keybindings.h: fix move_to_corner_se svn path=/trunk/; revision=4061
* windows which attempt to present themselves but are offscreen end upThomas James Alexander Thurman2008-12-211-2/+17
| | | | | | | | | | * src/core/window.c: windows which attempt to present themselves but are offscreen end up demanding attention, unless they are transient, when they move to the current workspace as before. Closes #482354. svn path=/trunk/; revision=4060
* when the user double-clicks the title bar, end the grab op. ClosesThomas James Alexander Thurman2008-12-191-0/+1
| | | | | | | | * src/ui/frames.c: when the user double-clicks the title bar, end the grab op. Closes #401028. svn path=/trunk/; revision=4059
* patches to fixes for -Wall. Closes #562939.Thomas James Alexander Thurman2008-12-021-2/+5
| | | | | | | * src/core/iconcache.c: patches to fixes for -Wall. Closes #562939. svn path=/trunk/; revision=4049
* gnome-doc-tools version doesn't need to be so high. disable the entireThomas James Alexander Thurman2008-12-016-14/+20
| | | | | | | | | | | | | * configure.in: gnome-doc-tools version doesn't need to be so high. * src/compositor/compositor-xrender.c: disable the entire file if the compositor is disabled. * src/core/async-getprop.[ch]: fixes for -Wall * src/core/iconcache.c: fixes for -Wall * src/core/testasyncgetprop.c: fixes for -Wall * src/core/xprops.c: fixes for -Wall svn path=/trunk/; revision=4045
* add casts (#562106)Thomas James Alexander Thurman2008-11-251-3/+3
| | | | | | | * src/core/xprops.c: add casts (#562106) svn path=/trunk/; revision=4038
* reviewed by: Thomas ThurmanThomas James Alexander Thurman2008-11-231-1/+1
| | | | | | | | * src/Makefile.am: reorder compiler flags so local includes come last. Closes #562033. svn path=/trunk/; revision=4029
* addedThomas James Alexander Thurman2008-11-231-0/+386
| | | | svn path=/trunk/; revision=4027
* remove apparently spurious warnings about operations on window "none"Thomas James Alexander Thurman2008-11-232-4/+5
| | | | | | | | * src/core/display.c: remove apparently spurious warnings about operations on window "none" svn path=/trunk/; revision=4026
* fix stupid infinite loop when GConf is turned off.Thomas James Alexander Thurman2008-11-221-1/+3
| | | | | | | * src/core/prefs.c: fix stupid infinite loop when GConf is turned off. svn path=/trunk/; revision=4024