summaryrefslogtreecommitdiff
path: root/src/run-metacity.sh
Commit message (Collapse)AuthorAgeFilesLines
* Merge reduced_resources mode patch from the branch. Offers wireframe andHavoc Pennington2003-10-121-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2003-10-12 Havoc Pennington <hp@redhat.com> Merge reduced_resources mode patch from the branch. Offers wireframe and no-animations. * src/window.c (implement_showing): no animation if we are in reduced resources mode * src/prefs.c: add REDUCED_RESOURCES pref * src/window.c (meta_window_update_keyboard_resize): fix to modify grab_anchor_window_pos to grab_wireframe_rect if appropriate instead of window->rect * src/display.h (struct _MetaDisplay): add grab_start_serial used to avoid responding to events that occurred prior to the grab initialization. Still broken in various ways, specifically EnterNotify that occurred prior to XGrabPointer is processed as if it occurred after. * src/window.c (meta_window_update_keyboard_move): add this instead of meta_window_warp_pointer() crack * src/effects.c (meta_effects_update_wireframe): draw a kind of grid for the wireframe, instead of just a rectangle, like twm * src/screen.c (meta_screen_new): line width of 3 for the XOR gc "Reduced resources" mode based on wireframe patch from Erwann Chenede. Still pretty buggy. * src/keybindings.c (process_keyboard_move_grab) (process_keyboard_resize_grab): add gruesome wireframe hacks * src/display.c (meta_display_end_grab_op): end wireframe (meta_display_begin_grab_op): begin wireframe * src/effects.c (meta_effects_end_wireframe) (meta_effects_update_wireframe, meta_effects_begin_wireframe): routines to draw the wireframe stuff * src/window.c (window_should_be_showing): hide window when doing wireframe, commented out as it breaks grab * src/window.c (meta_window_refresh_resize_popup): handle wireframe * src/screen.c (meta_screen_new): create a screen->root_xor_gc for use in drawing wireframes * src/frames.c (meta_frames_push_delay_exposes): repaint everything before we delay
* don't read from op->data.image when the op is an iconHavoc Pennington2002-11-131-0/+2
| | | | | | | 2002-11-12 Havoc Pennington <hp@pobox.com> * src/theme.c (draw_op_as_pixbuf): don't read from op->data.image when the op is an icon
* push an error trap around the whole window-key-grab loopHavoc Pennington2002-11-061-2/+16
| | | | | | | | | | | | | | 2002-11-06 Havoc Pennington <hp@pobox.com> * src/keybindings.c (grab_keys): push an error trap around the whole window-key-grab loop (ungrab_all_keys): avoid requiring return value from the error trap, unless in debugging mode (regrab_window_bindings, regrab_screen_bindings): push traps around the loops, for efficiency * src/display.c (event_callback): fix from Padraig O'Briain to compress extra MappingNotify events to avoid extra work.
* remove XSync calls from here (meta_display_ungrab): remove XSync fromHavoc Pennington2002-11-041-1/+1
| | | | | | | | | | | | | | | | 2002-11-03 Havoc Pennington <hp@pobox.com> * src/display.c (meta_display_grab): remove XSync calls from here (meta_display_ungrab): remove XSync from here, but put in an XFlush to be sure we get the ungrab sent. * src/util.c (meta_topic): track sync count here * src/errors.c: move sync count out of here Throughout: error spew on all XSync() calls * src/run-metacity.sh: don't set METACITY_DEBUG
* debug enhancementsHavoc Pennington2002-10-171-2/+4
|
* workspaces are all per-screen now, fix accordinglyHavoc Pennington2002-10-161-2/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2002-10-16 Havoc Pennington <hp@redhat.com> * src/workspace.c: workspaces are all per-screen now, fix accordingly * src/core.c: fix multihead workspace stuff * src/keybindings.c: multihead-rama * src/screen.c (meta_screen_show_desktop): new functions to replace display equivalents * src/display.c (meta_display_get_workspace_by_screen_index): get rid of this (meta_display_get_workspace_by_index): get rid of this (event_callback): handle _NET_SHOWING_DESKTOP message per-screen * src/screen.c (meta_screen_get_workspace_by_index): new function * src/screen.h (struct _MetaScreen): move workspace list, and showing_desktop flag, to be per-screen * src/window.c (window_query_root_pointer): return whether pointer is on window's screen (meta_window_handle_mouse_grab_op_event): don't use coordinates from other screens when updating a window operation on the current screen. I can't believe no one has reported this...
* Add a modifier key preference for the Alt+click stuff. Can be set toHavoc Pennington2002-10-071-0/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | 2002-10-07 Havoc Pennington <hp@redhat.com> Add a modifier key preference for the Alt+click stuff. Can be set to "disabled" as well. * src/run-metacity.sh: load .Xmodmap in the Xnest if it exists * src/display.c (meta_display_ungrab_window_buttons): ungrab AnyModifier in case the modifier changed since we grabbed (meta_display_open): rearrange code to use meta_display_close() to mop up when we can't find any screens, avoiding the need to keep the bail-out code in sync with meta_display_close. * src/keybindings.c (devirtualize_modifiers): move this function to a public place in display.c * src/metacity.schemas.in: add setting for the modifier key to use for Alt+left/middle/right click. * src/prefs.c (update_binding): add a missing newline to a warning (meta_prefs_get_mouse_button_mods): new function * src/ui.c (meta_ui_parse_modifier): new function
* fix compiler warningsHavoc Pennington2002-09-121-1/+1
| | | | | | | | | | | | | | 2002-09-12 Havoc Pennington <hp@redhat.com> * src/workspace.c (meta_workspace_screen_index) (meta_workspace_index): fix compiler warnings * src/tools/metacity-window-demo.c (menu_items): add a test for dialogs with no transient parent * src/place.c (find_first_fit): Try placing window at origin of first Xinerama, even if there are no windows to place next to; makes placement work when no other windows are open on the screen.
* Xlib doesn't like NULL for out arguments; fix for #80472 from lbedfordHavoc Pennington2002-05-011-1/+5
| | | | | | | 2002-05-01 Havoc Pennington <hp@redhat.com> * src/screen.c (meta_screen_new): Xlib doesn't like NULL for out arguments; fix for #80472 from lbedford
* we didn't claim to support _NET_ACTIVE_WINDOW so gtk_window_present()Havoc Pennington2002-03-101-1/+1
| | | | | | | | | | | | | | 2002-03-10 Havoc Pennington <hp@pobox.com> * src/screen.c (set_supported_hint): we didn't claim to support _NET_ACTIVE_WINDOW so gtk_window_present() didn't work. Mumble. Only worked with tasklist because libwnck didn't check for WM support. * src/window.c (meta_window_free): clean off window state when windows are withdrawn, to avoid sticking dialogs to their initial desktop. (meta_window_queue_calc_showing): return if window is withdrawn
* if DEMO_TEST is set then run the window demoHavoc Pennington2002-02-081-0/+4
| | | | | | | | | | 2002-02-07 Havoc Pennington <hp@pobox.com> * src/run-metacity.sh: if DEMO_TEST is set then run the window demo * src/tools/metacity-window-demo.c: Create an app with all the semantic window types, for testing and for designing themes.
* put in attempted fix for the GTK 1.2 plug/socket screwup, now that myHavoc Pennington2002-01-071-6/+22
| | | | | | | | | | | | | | | | | 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
* fix for ignoring NumLock on Alt-windowclick (previous NumLock fix was onlyHavoc Pennington2001-10-261-1/+1
| | | | | | | | 2001-10-26 Havoc Pennington <hp@pobox.com> * src/display.c (meta_display_grab_window_buttons): fix for ignoring NumLock on Alt-windowclick (previous NumLock fix was only for key grabs not button grabs)
* we support _NET_WM_ICONHavoc Pennington2001-08-201-0/+4
| | | | | | | | | | | | | | | | | | 2001-08-19 Havoc Pennington <hp@pobox.com> * src/screen.c (set_supported_hint): we support _NET_WM_ICON * src/wm-tester/main.c: add stuff to test _NET_WM_ICON (but it doesn't work, so it isn't tested yet) * src/window.c (update_icon): read _NET_WM_ICON * src/screen.c (meta_screen_new): set the WM_ICON_SIZE hint * src/tabpopup.c (meta_ui_tab_popup_select): remove assertion * src/window.c (meta_window_get_icon_geometry): fix obscure memleak
* add prototype thingy to display windows we're cycling through with tab.Havoc Pennington2001-08-191-1/+4
| | | | | | | 2001-08-19 Havoc Pennington <hp@pobox.com> * src/tabpopup.c: add prototype thingy to display windows we're cycling through with tab. Not wired up to keybindings yet.
* push error trap around configure of withdrawn window, fixes a crash causedHavoc Pennington2001-08-031-1/+9
| | | | | | | | | | | | | 2001-08-03 Havoc Pennington <hp@pobox.com> * src/display.c (event_callback): push error trap around configure of withdrawn window, fixes a crash caused by rapidly creating/destroying a window. * src/window.c (recalc_window_features): don't allow shading undecorated windows. * src/wm-tester/main.c: add a program to torture window managers.
* ...rhp2001-07-271-1/+1
|
* ...rhp2001-07-271-0/+10
|
* ...rhp2001-07-121-1/+1
|
* ...rhp2001-07-051-1/+1
|
* ...rhp2001-07-051-1/+1
|
* ...rhp2001-07-041-0/+1
|
* ...rhp2001-07-031-4/+4
|
* ...rhp2001-06-301-1/+1
|
* ...rhp2001-06-211-1/+1
|
* ...rhp2001-06-201-1/+1
|
* ...rhp2001-06-121-1/+1
|
* ...rhp2001-06-111-1/+3
|
* ...rhp2001-06-111-9/+13
|
* ...rhp2001-06-111-0/+12
|
* ...rhp2001-06-101-2/+2
|
* ...rhp2001-06-071-1/+1
|
* ...rhp2001-06-041-0/+1
|
* ...rhp2001-06-031-1/+8
|
* ..rhp2001-06-031-2/+4
|
* ...rhp2001-06-031-2/+1
|
* ...rhp2001-06-011-1/+1
|
* ...rhp2001-05-311-1/+2
|
* ...rhp2001-05-311-0/+5