summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2002-02-07Add maximized and shaded_and_maximized frame styles.Anders Carlsson2-0/+9
2002-02-07 Anders Carlsson <andersca@gnu.org> * src/themes/Crux/metacity-theme-1.xml: Add maximized and shaded_and_maximized frame styles.
2002-02-07redo window sizes/appearance when the theme changesHavoc Pennington5-12/+57
2002-02-06 Havoc Pennington <hp@pobox.com> * src/main.c (prefs_changed_callback): redo window sizes/appearance when the theme changes * src/display.c (meta_display_retheme_all): new function * src/theme-parser.c (locate_attributes): remove error handling for MAX_ATTRS reached, add an assert instead, the way this code ended up the attrs in the array depend on the code not the theme file.
2002-02-07disable custom log handler and fatal mask for nowHavoc Pennington36-1501/+8382
2002-02-06 Havoc Pennington <hp@pobox.com> * src/main.c (main): disable custom log handler and fatal mask for now * src/theme.c (meta_draw_op_list_draw): Add META_DRAW_CLIP * src/main.c: load theme, monitor current theme setting * src/prefs.c: add "current theme" setting * src/stack.c (meta_stack_free): don't try to free last_root_children_stacked if it doesn't exist * src/themewidget.c: pluggable GtkMisc subclass to use for menu icons * src/screen.c (meta_screen_manage_all_windows): fix signed/unsigned warning * src/frames.c: port to theme system (meta_frames_style_set): chain up * theme-format.txt: new file * configure.in: add more compiler warnings * src/theme.c: add various stuff needed to get theme parser working. Remove the "spacer" concept from FrameLayout object. Add draw op that references a draw op list. * configure.in: require GTK 1.3.13 * src/Makefile.am: add theme-parser.[hc], implement loading a theme * src/theme.c: add "draw title" and "draw window icon" operations (meta_draw_op_draw): put object_width/object_height in expression environment before computing x/y. Handle out-of-memory when creating pixbufs. Assorted other cleanups.
2002-02-06Simplify things so we can remove some now unnecessary .png files. RemoveAnders Carlsson16-41/+20
2002-02-07 Anders Carlsson <andersca@gnu.org> * src/themes/Crux/metacity-theme-1.xml: Simplify things so we can remove some now unnecessary .png files. * src/themes/Crux/*.png: Remove some files.
2002-02-06add da to ALL_LINGUAS add Danish translationKenneth Rohde Christiansen3-1/+432
2002-02-07 Kenneth Rohde Christiansen <kenneth@gnu.org> * configure.in: add da to ALL_LINGUAS * po/da.po: add Danish translation
2002-02-06src/themes/Crux/metacity-theme-1.xml Add Crux themeAnders Carlsson59-0/+476
2002-02-07 Anders Carlsson <andersca@gnu.org> * src/themes/Crux/metacity-theme-1.xml * src/themes/Crux/*.png: Add Crux theme
2002-02-06Add this so CVS won't prune the directory.Anders Carlsson1-0/+0
2002-02-02test % operatorHavoc Pennington4-1514/+1200
2002-02-02 Havoc Pennington <hp@pobox.com> * src/theme-viewer.c: test % operator * src/theme.c (pos_tokenize): add % to switch for operators * src/theme.c: rework theme stuff so we have MetaDrawOp/MetaDrawOpList instead of MetaTextureSpec/MetaShapeSpec
2002-02-02Updated Norwegian (bokmål) translation.Kjartan Maraas2-15/+19
2002-02-02 Kjartan Maraas <kmaraas@gnome.org> * no.po: Updated Norwegian (bokmål) translation.
2002-01-31Updated Swedish translation.Christian Rose2-47/+136
2002-01-31 Christian Rose <menthos@menthos.com> * sv.po: Updated Swedish translation.
2002-01-30Updated Slovak translation.Stanislav Visnovsky2-26/+31
2002-01-30 Stanislav Visnovsky <visnovsky@nenya.ms.mff.cuni.cz> * sk.po: Updated Slovak translation.
2002-01-30Updated Slovak translation.Stanislav Visnovsky2-49/+133
2002-01-30 Stanislav Visnovsky <visnovsky@nenya.ms.mff.cuni.cz> * sk.po: Updated Slovak translation.
2002-01-28Updated Norwegian (bokmål) translation.Kjartan Maraas3-2/+86
2002-01-29 Kjartan Maraas <kmaraas@gnome.org> * no.po: Updated Norwegian (bokmål) translation.
2002-01-28Updated Norwegian (bokmål) translation.Kjartan Maraas1-59/+69
2002-01-29 Kjartan Maraas <kmaraas@gnome.org> * no.po: Updated Norwegian (bokmål) translation.
2002-01-28fix shadowed variable (stupid -Wall should have that)Havoc Pennington4-18/+337
2002-01-28 Havoc Pennington <hp@pobox.com> * src/theme.c (meta_texture_spec_render): fix shadowed variable (stupid -Wall should have that) * src/theme-viewer.c (main): implement a simple viewer for frame styles * src/theme.c (meta_frame_style_get_test): create partial frame style to test drawing
2002-01-28implement (meta_texture_spec_draw): implement shape spec and blank textureHavoc Pennington4-91/+963
2002-01-27 Havoc Pennington <hp@pobox.com> * src/theme.c (meta_shape_spec_draw): implement (meta_texture_spec_draw): implement shape spec and blank texture support (meta_frame_style_draw): implement
2002-01-28move in here so util.c doesn't require display.[hc]Havoc Pennington8-84/+1538
2002-01-27 Havoc Pennington <hp@pobox.com> * src/display.c (meta_set_syncing): move in here so util.c doesn't require display.[hc] * src/theme.h, src/theme.c: implement coordinate expression parser, write MetaShapeSpec declaration * src/util.c (meta_exit): move in here so we can link to util.c with a different main() * src/theme.h: rename the MetaWindow* enums to MetaFrame*
2002-01-27lv.po - Added Latvian translation.Peteris Krisjanis1-0/+4
2002-01-27 Peteris Krisjanis <peteris.krisjanis@ttc.lv> lv.po - Added Latvian translation.
2002-01-27Added Latvian translation.Peteris Krisjanis1-0/+433
2002-01-27 Peteris Krisjanis <peteris.krisjanis@ttc.lv> Added Latvian translation.
2002-01-27configure.in - Added lv to ALL_LINGUASPeteris Krisjanis1-0/+4
2002-01-27 Peteris Krisjanis <peteris.krisjanis@ttc.lv> configure.in - Added lv to ALL_LINGUAS
2002-01-27Added lv to ALL_LINGUASPeteris Krisjanis1-1/+1
2002-01-27 Peteris Krisjanis <peteris.krisjanis@ttc.lv> Added lv to ALL_LINGUAS
2002-01-27Only consider the bottom of the titlebar a resize control; I keepHavoc Pennington6-67/+138
2002-01-27 Havoc Pennington <hp@pobox.com> * src/frames.c (get_control): Only consider the bottom of the titlebar a resize control; I keep accidentally resizing windows instead of activating them. Also, give south resizing priority over north, if the window is so small the active regions overlap * src/theme.c: add MetaTheme, get MetaFrameStyleSet into a usable state * src/common.h: move window type back to window.h, decided not to use it on frame side (MetaFrameType): add this instead
2002-01-27implement all kinds of crazy compositing-one-texture-onto-another BS.Havoc Pennington3-50/+584
2002-01-27 Havoc Pennington <hp@pobox.com> * src/theme.h, src/theme.c: implement all kinds of crazy compositing-one-texture-onto-another BS.
2002-01-27make the check for whether to eat focus click a lot more complicatedHavoc Pennington7-9/+113
2002-01-27 Havoc Pennington <hp@pobox.com> * src/display.c (event_callback): make the check for whether to eat focus click a lot more complicated * src/window.c (meta_window_same_application): new function * src/prefs.h, src/prefs.c: add application based pref * src/metacity.schemas: add "application_based" setting to give me a mode to fool with being application based, without being unusable in the meantime. Yeah the crack flows freely these days. Everyone knew it would happen.
2002-01-27separate code to draw frame from the expose_event handler, so in principleHavoc Pennington6-52/+125
2002-01-27 Havoc Pennington <hp@pobox.com> * src/frames.c: separate code to draw frame from the expose_event handler, so in principle we can draw the frame to a pixmap, but this isn't used yet.
2002-01-22Added Malay (ms)to ALL_LINGUAS. Added Malay Translation.Hasbullah Bin Pit4-1/+1553
2002-01-22 Hasbullah Bin Pit <sebol@ikhlas.com> * configure.in: Added Malay (ms)to ALL_LINGUAS. * po/ms.po: Added Malay Translation.
2002-01-19cheesy client with static bit gravity, used to test the below change.Havoc Pennington13-62/+645
2002-01-19 Havoc Pennington <hp@pobox.com> * src/wm-tester/test-resizing.c: cheesy client with static bit gravity, used to test the below change. * src/window.c (meta_window_move_resize_internal): implement Owen's proposal for window resizing. http://mail.gnome.org/archives/wm-spec-list/1999-November/msg00088.html Currently you have to do METACITY_USE_STATIC_GRAVITY=1 in order to use it, because some GDK bug is screwing up exposes on my frames when it's enabled. * src/display.c (meta_display_create_x_cursor): fix glyph for NE/NW cursors * src/frames.c (get_control): add ability to resize from top * src/frame.c (meta_frame_get_flags): can't resize shaded windows (meta_frame_sync_to_window): add gravity arg * src/common.h (MetaWindowType): move here from window.h so it can be used in themes stuff. (MetaFrameFlags): remove META_FRAME_TRANSIENT since it overlaps with window type and was unused.
2002-01-19give priority to keeping NW corner onscreen rather than SE, if we need toHavoc Pennington10-316/+570
2002-01-18 Havoc Pennington <hp@pobox.com> * src/window.c (constrain_position): give priority to keeping NW corner onscreen rather than SE, if we need to shift the window to fit inside constraints * src/frames.c (meta_frames_get_geometry): don't depend on the current window size * src/theme.c: move geometry stuff in here, to be calculated as part of the theme * src/core.c (meta_core_get_client_size): new function to replace meta_core_get_frame_size() so we don't have weird cycles in the geometry calculation
2002-01-15fix crash when grab failed due to another operation in progressHavoc Pennington2-28/+36
2002-01-15 Havoc Pennington <hp@redhat.com> * src/keybindings.c (handle_tab_backward): fix crash when grab failed due to another operation in progress (handle_tab_forward): fix crash when grab failed
2002-01-12Updated Norwegian (bokmål) translation.Kjartan Maraas2-70/+127
2002-01-11 Kjartan Maraas <kmaraas@gnome.org> * no.po: Updated Norwegian (bokmål) translation.
2002-01-11only bump unmaps_pending if the window was mappedHavoc Pennington6-21/+105
2002-01-10 Havoc Pennington <hp@pobox.com> * src/frame.c (meta_window_destroy_frame): only bump unmaps_pending if the window was mapped (meta_window_ensure_frame): ditto * src/keybindings.c: change arrow key bindings to use Ctrl+Alt not just Alt, and add debug mode key bindings * src/stack.c (meta_stack_get_default_focus_window): don't choose a default focus window with unmaps pending, since we probably just unmapped it. * src/display.c (event_callback): move notify_focus on UnmapNotify after the window_free check, so we can move focus to another window when we unmanage * src/window.c (meta_window_hide): invalidate work areas when hiding a window with struts (meta_window_free): invalidate work areas when unmanaging a window with struts
2002-01-10store strut information, update it on property changes, etc. etc. so weHavoc Pennington8-38/+497
2002-01-09 Havoc Pennington <hp@pobox.com> * src/window.c, src/window.h: store strut information, update it on property changes, etc. etc. so we avoid panel on maximize. * src/workspace.c (meta_workspace_get_work_area): add accessor for work area so we can compute it lazily * src/display.h, src/display.c: add _NET_WM_STRUT atom and _WIN_HINTS atom
2002-01-09Updated Slovak translationStanislav Visnovsky2-40/+98
2002-01-09 Stanislav Visnovsky <visnovsky@nenya.ms.mff.cuni.cz> * sk.po: Updated Slovak translation
2002-01-08Updated Portuguese translation.Duarte Loreto2-40/+98
2002-01-08 Duarte Loreto <happyguy_pt@hotmail.com> * pt.po: Updated Portuguese translation.
2002-01-08add code to save ACLOCAL_FLAGSHavoc Pennington9-349/+580
2002-01-08 Havoc Pennington <hp@pobox.com> * configure.in (ACLOCAL): add code to save ACLOCAL_FLAGS * src/frames.c (meta_frames_expose_event): max dither * src/testgradient.c (render_simple): change dither mode to MAX to avoid banding * src/theme.c: lose the gradient cache, and put in some initial data types for the theme format
2002-01-07make gradient a bit more subtle (don't go to the full background, but to aHavoc Pennington2-2/+17
2002-01-07 Havoc Pennington <hp@redhat.com> * src/frames.c (meta_frames_expose_event): make gradient a bit more subtle (don't go to the full background, but to a blend of selection and background; put lighter color on top)
2002-01-07put in attempted fix for the GTK 1.2 plug/socket screwup, now that myHavoc Pennington8-114/+144
2002-01-06 Havoc Pennington <hp@pobox.com> * src/window.c (meta_window_notify_focus): put in attempted fix for the GTK 1.2 plug/socket screwup, now that my fixed debug spew reveals what's actually happening. ;-) * src/gradient.c (meta_gradient_description_new): object to store gradient descriptions * src/window.c (meta_window_notify_focus): fix the debug spew that was confusing me * src/wm-tester/focus-window.c: add little program to focus a window ID
2002-01-06change to use spiffy gradient code.Havoc Pennington8-55/+1250
2002-01-06 Havoc Pennington <hp@pobox.com> * src/theme.c (meta_theme_get_gradient): change to use spiffy gradient code. * src/gradient.c: copy lovely gradient code from WindowMaker, as usual Dan and Alfredo have very nice code
2002-01-06Added Turkish translation by Gorkem.Fatih Demir4-1/+357
2002-01-06draw titlebar highlight with snazzy gradient that needs some tweaking toHavoc Pennington7-864/+268
2002-01-05 Havoc Pennington <hp@pobox.com> * src/frames.c (meta_frames_expose_event): draw titlebar highlight with snazzy gradient that needs some tweaking to be less dumb-looking * src/theme.c: replace old theme.[hc] contents with newer stuff that doesn't do anything
2002-01-06GTK 1.2 plug/socket clients still broken, don't know why.Havoc Pennington6-21/+124
2002-01-05 Havoc Pennington <hp@pobox.com> GTK 1.2 plug/socket clients still broken, don't know why. * src/screen.c (meta_screen_new): select focus change on root window, for debugging * src/display.c (event_callback): when unfocusing, use no_focus_window to hold the focus * src/display.h (struct _MetaDisplay): have a no_focus_window to hold the focus when we don't want to have anything focused. Then we can avoid confusing focusing-the-frame stuff. * src/window.c (meta_window_notify_focus): improve some debug spew (meta_window_notify_focus): add hack from WindowMaker to ignore focus in events with detail > NotifyNonlinearVirtual
2002-01-05Added missing files. Updated Swedish translation.Christian Rose3-7/+71
2002-01-05 Christian Rose <menthos@menthos.com> * POTFILES.in: Added missing files. * sv.po: Updated Swedish translation.
2002-01-04don't lower docks when a grab causes them to get LeaveNotifyHavoc Pennington2-1/+8
2002-01-04 Havoc Pennington <hp@pobox.com> * src/display.c (event_callback): don't lower docks when a grab causes them to get LeaveNotify
2002-01-04set event mask on root window to 0 so other window managers (such asHavoc Pennington4-1/+36
2002-01-04 Havoc Pennington <hp@pobox.com> * src/screen.c (meta_screen_free): set event mask on root window to 0 so other window managers (such as ourselves restarting) can start up; addresses race condition on restart where the old WM still had RedirectMask when the new WM was trying to start up. * src/display.c (meta_display_close): free each screen * src/window.c (meta_window_show): always focus new windows in click-to-focus mode
2002-01-04use meta_XFree not XFreeHavoc Pennington6-263/+355
2002-01-03 Havoc Pennington <hp@pobox.com> * src/window.c: use meta_XFree not XFree * src/display.h (meta_XFree): add null-safe XFree * src/util.c (meta_warning): have message prefix indicate that it's a warning (meta_fatal): indicate it's an error * src/window.c (update_sm_hints): clean up using meta_prop_get_latin1_string (update_role): ditto (read_client_leader): clean up using meta_prop_get_window (update_net_wm_type): clean up using meta_prop_get_cardinal (update_initial_workspace): ditto (update_net_wm_type): clean up using meta_prop_get_atom_list (read_rgb_icon): get result from XGetWindowProperty return value not from error trap (update_kwm_icon): ditto (meta_window_new): fix to read WM_STATE correctly
2002-01-04clean up using meta_prop_get_atom_list (update_mwm_hints): clean up usingHavoc Pennington5-140/+352
2002-01-03 Havoc Pennington <hp@pobox.com> * src/window.c (update_net_wm_state): clean up using meta_prop_get_atom_list (update_mwm_hints): clean up using meta_prop_get_motif_hints * src/Makefile.am (metacity_SOURCES): add xprops.[hc] * src/xprops.c: new file with convenience functions for X properties
2002-01-03focus top window when switching to a new workspaceHavoc Pennington13-36/+395
2002-01-03 Havoc Pennington <hp@pobox.com> * src/workspace.c (meta_workspace_activate): focus top window when switching to a new workspace * src/util.c (meta_topic): start putting verbose output in categories * src/window.c (meta_window_shade): focus frame after we queue the calc_showing so the maps/unmaps have already happened. * src/display.c (meta_display_get_current_time): add the "get time of current event" function and call it occasionally. * src/window.c (meta_window_free): if we have focus, call meta_screen_focus_top_window(). (meta_window_minimize): ditto (meta_window_delete): ditto * src/screen.c (meta_screen_ensure_tab_popup): fix memory leak - didn't free tab list (meta_screen_focus_top_window): new function to use when we unmap or unmanage a focused window * src/stack.c (meta_stack_get_default_focus_window): function used in meta_screen_focus_top_window
2002-01-02add a server grab here since we were failing to have one when calling theHavoc Pennington2-2/+10
2001-12-21 Havoc Pennington <hp@redhat.com> * src/frame.c (meta_window_ensure_frame): add a server grab here since we were failing to have one when calling the function
2001-12-27Added portuguese to ALL_LINGUASDuarte Loreto4-1/+313
2001-12-27 Duarte Loreto <happyguy_pt@hotmail.com> * configure.in: Added portuguese to ALL_LINGUAS
2001-12-26Updated Galician translationJesus Bravo Alvarez2-72/+82