summaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)AuthorFilesLines
2014-11-07Revert "Possible keybinding to switch to previous workspace."infirit7-31/+1
This reverts commit 69b7a0ad9277f21ad761c84ac1bae5455a2f879e. It has the unintended side-effect that it reverses the alt+tab behaviour.
2014-10-27Fixup Gtk3 Gdk device handlingDenis Gorodnichev3-8/+32
2014-10-27don't change use settings by command line argumentDenis Gorodnichev3-8/+10
2014-10-27Rework tiling code based off Consortiuminfirit17-152/+414
Taken from https://github.com/SolusOS-discontinued/consortium/commit/b463e03f5bdeab307ceee6b969c681f29537c76d
2014-10-25Revert the new atom changes as they also got reverted later by metacityinfirit1-56/+1
Revert "Rename new ATOM from bc8eb8bd2f943b69c87eb7c9e154928f1dd861bb" This reverts commit 1bd64c3b7eca544f0722cb4c3ee7aa0ca5dd5ec4. Revert "compositor-xrender: add new atom - METACITY_WINDOW_HAVE_SHADOW" This reverts commit bc8eb8bd2f943b69c87eb7c9e154928f1dd861bb.
2014-10-25Rename new ATOM from bc8eb8bd2f943b69c87eb7c9e154928f1dd861bbinfirit1-5/+5
2014-10-25Make sure to always call va_endinfirit2-3/+8
Based on metacity commit: b235d3e78670e30a55f3f746f13003577988bed6 From: Jasper St. Pierre <[email protected]>
2014-10-25Add in XDG_USER_DATA_DIR when looking for themesinfirit1-1/+15
Based off metacity commit: 52a524ee4a7e14d99451ea3f596b353ddf7957d4 From: Jasper St. Pierre <[email protected]>
2014-10-25Clean up code to find themesinfirit1-172/+118
Simplify code to find the right theme to load and loading it by moving all the loading code into a load_theme() helper function, and making meta_load_theme() use that as it searches through the directories. Look for old-version themes even when loading relative to the working in debug mode. Don't unnecessarily duplicate and then free info->theme_file and info->theme_dir. http://bugzilla.gnome.org/show_bug.cgi?id=592503 NOTE: Patch copied from mutter and adapted for metacity. Based on metacity commit: bc45c9b68849687d456ec339588d15a63c391046 From: Alberts Muktupāvels <[email protected]>
2014-10-25theme-viewer: stop using gtk_misc_set_alignment for Gtk+3infirit1-0/+5
Based on metacity commit: 99bfe2d27c6babeeea3539b990505895750d3541 From: Alberts Muktupāvels <[email protected]>
2014-10-25compositor-xrender: add new atom - METACITY_WINDOW_HAVE_SHADOWinfirit1-1/+56
Based on metacity commit: c52cd2e1d6ae50627bc9056ea6eae773e2aedfe5 From: Alberts Muktupāvels <[email protected]>
2014-10-25Drop support for Glib < 2.32infirit1-4/+0
2014-10-25Drop support for Gtk+ < 2.24infirit1-48/+0
2014-10-25Cleanup GTK_CHECK_VERSION and unify where possibleinfirit9-97/+9
gdk_x11_window_lookup_for_display since 2.24 GDK_WINDOW_XID since always gtk_widget_get_visible since 2.18 gtk_widget_set_mapped since 2.20 gdk_event_new since 2.2 gdk_x11_window_lookup_for_display since 2.24 gdk_text_property_to_utf8_list_for_display since 2.2 gtk_widget_get_realized since 2.20 gdk_visual_get_depth since 2.22 gtk_widget_get_window since 2.14 gtk_widget_set_allocation since 2.18
2014-10-24keybindings.c: fix deprecated warninginfirit1-1/+1
Based on metacity commit: 8f49828169efb43976e23dd15c6dc4d630346f50
2014-10-24Add error handling to glibtop_get_proc_uidinfirit1-2/+9
Author: Tomaž Šolc Based on commit: 4ecd6e49164ee027cee8dfdbb51fd8389694ff43 Gnome bug: https://bugzilla.gnome.org/show_bug.cgi?id=603240
2014-10-24Update meta_show_dialog for gtk's removal of --screeninfirit4-10/+8
gtk3 no longer has the --screen command-line argument, which metacity was passing to zenity. Use --display (with an explicitly-specified screen number) instead. Author: Dan Winship Bug: https://bugzilla.gnome.org/show_bug.cgi?id=687938 Based on metacity commit: 8d19afdcccaec28a5512b0a707d8238b9dd4e2f3
2014-10-24Fix new window focusinfirit1-7/+12
Based on metacity commit: cd481d37ec2551e98db758ff640d02f3745259db From: Alberts Muktupāvels <[email protected]> Gnome bug: https://bugzilla.gnome.org/show_bug.cgi?id=534752
2014-10-24frames.c: don't try to remove source that does not existinfirit1-0/+2
Based on metacity commit: 5ae71b165df2fbaae933de41db11726a79aea820 From: Alberts Muktupāvels <[email protected]>
2014-10-24use force_save_user_rect=TRUE for maximized windows tooinfirit1-2/+0
Force to save user rect for maximized windows too, otherwise when launching maximized application on non left monitor it will be moved to left monitor. Ubuntu bug: https://bugs.launchpad.net/ubuntu/+source/metacity/+bug/727928 Based on metacity commit: fbfcbc5e35e35063c8ff71b399a0bf72a31852e7 From: Alberts Muktupāvels <[email protected]>
2014-10-24Fix the resizing of CSD windowsmonsta1-23/+10
2014-10-24Remove some dead codeinfirit1-24/+0
2014-10-24GDK_KEY_* is also available in Gtk+-2.infirit1-5/+1
2014-10-24Replace in GTK3 deprecated Gdk apiinfirit1-0/+45
Taken from metacity commit: 238e83a98cf014c9b1082d21541e63f102d441d6 From: Alberts Muktupāvels <[email protected]>
2014-10-24Properly ifdef some KXB code.infirit2-10/+11
Taken out of metacity commit: 238e83a98cf014c9b1082d21541e63f102d441d6 From: Alberts Muktupāvels <[email protected]>
2014-10-24Remove deprecated glib thread api calls.infirit2-11/+0
Also bump minimum required glib version to 2.32.
2014-10-24themewidget: remove, it is unusedinfirit4-408/+0
Based on metacity commit: 202a3712a97c2df6f0410050835898795f75a1b6 From: Alberts Muktupāvels <[email protected]>
2014-10-24don't show shadow for maximized windowsinfirit6-7/+82
based on metacity commit: 72d1c6a6b9a85391444bb5ff8c5de1e3aabd3fd9 From: Alberts Muktupāvels <[email protected]>
2014-10-24Fix identification of CSD windows when checking whether to force fullscreeninfirit3-1/+21
We try to exempt CSD windows from being forced fullscreen if they are undecorated and the size of the screen; however, we also catch almost all windows that *do* need to be forced fullscreen in this check, since they also have decorations turned off. Identify actual CSD windows by checking whether _GTK_FRAME_EXTENTS is set - GTK+ will always set this on CSD windows even if they have no invisible borders or shadows at the current time. Based on metacity commit: 41dd72bc5dd08d7d0cb136f694a6d9a30e38b341 From: Owen W. Taylor <[email protected]> Metacity gnome bug: https://bugzilla.gnome.org/show_bug.cgi?id=723029
2014-10-24add support for _GTK_FRAME_EXTENTSinfirit4-3/+71
Support for _GTK_FRAME_EXTENTS are based on mutter. Based on metacity commit: e132e2a700c4b50c93eae064d8fd1769b67baf06 By: Alberts Muktupāvels <[email protected]>
2014-10-24don't switch workspace when switching to sticky windowDenis Gorodnichev1-3/+6
Closes https://github.com/mate-desktop/marco/pull/121 Closes https://github.com/mate-desktop/marco/issues/18
2014-10-22compositor-xrender: don't add shadows to ARGB windowsMartin Wimpress1-0/+6
2014-10-12Fix typo in keybindings xml fileStefano Karapetsas1-1/+1
2014-10-06Make shortcuts to move windows editable by control centerStefano Karapetsas1-0/+36
2014-10-02Update keybindings files with new nameStefano Karapetsas3-3/+3
2014-09-23Tell we are Metacity to avoid issues with maximized Java applicationsStefano Karapetsas1-1/+1
Not the best solution, but the only way to fix the issue at the moment See https://github.com/linuxmint/muffin/pull/11 Closes https://github.com/mate-desktop/marco/issues/133
2014-08-18fix seqfault when animation is disabledDenis Gorodnichev1-1/+2
2014-07-24gtk3: fix draw workspaceDenis Gorodnichev1-1/+1
2014-06-26Remove misleading comment in effect_free functionJoaquín Ignacio Aramendía1-5/+1
The new behaviour is the animation callback function should run the finished function once it's done with the animation.
2014-06-26Bugfix: Correct was_minimized flag transitionJoaquín Ignacio Aramendía1-1/+1
2014-06-26Bugfix: If the window shown was minimized, grab focus.Joaquín Ignacio Aramendía1-0/+5
2014-06-26Bugfix: run finished function if animations are disabledJoaquín Ignacio Aramendía1-0/+7
2014-06-26Implement animation handling in implement_showingJoaquín Ignacio Aramendía1-5/+101
Functions meta_window_animate_[un]minimize will handle [un]minimization animations. Maybe this should be done in effects.c file to trigger animations based on context, compositing, preferences etc.
2014-06-26Fix: the effect "finished" callback needs to be called after the effect endsJoaquín Ignacio Aramendía1-6/+23
Added two fields to BoxAnimationContext to handle finish callback inside box_animation_timeout function instead of effect_free. Now the finish function is called after the effect is finished.
2014-06-26Remove "icky" timestamp pinging on finish_minimizeJoaquín Ignacio Aramendía1-13/+0
2014-06-26Add "effect_pending" flagJoaquín Ignacio Aramendía3-0/+6
Initialized at META_EFFECT_NONE. The management of this should be done by caller functions to effect functions.
2014-06-26Add a simple unminimize effect the same as minimizeJoaquín Ignacio Aramendía1-0/+6
2014-06-26Remove all effects code for a fresh and clean startJoaquín Ignacio Aramendía1-61/+5
2014-06-26Remove all trailing whitespaces in the code treeJoaquín Ignacio Aramendía91-2593/+2593
Just run: $ find -name '*.c' -print0 | xargs -r0 sed -e 's/[[:blank:]]\+$//' -i $ find -name '*.h' -print0 | xargs -r0 sed -e 's/[[:blank:]]\+$//' -i
2014-06-24Remove new keybinding from 69b7a0ad9277f21ad761c84ac1bae5455a2f879einfirit1-1/+0
The key never existed in mateconf so there is no need to convert.