summaryrefslogtreecommitdiff
path: root/src/core
AgeCommit message (Collapse)AuthorFilesLines
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 --screeninfirit3-8/+6
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-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-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.infirit1-9/+0
Also bump minimum required glib version to 2.32.
2014-10-24don't show shadow for maximized windowsinfirit1-0/+10
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-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-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ía47-1858/+1858
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-24Possible keybinding to switch to previous workspace.Robert David4-1/+16
Disabled at default.
2014-05-05Dont destroy all windows with GTK2Stefano Karapetsas1-12/+0
Regression introduced with http://git.mate-desktop.org/marco/commit/?id=3695f97acfd3d81e7f9ce23be3243d63fce35746
2014-04-23Merge branch 'master' of github.com:mate-desktop/marcoStefano Karapetsas3-0/+11
2014-04-23gtk3: set event deviceDenis Gorodnichev1-20/+62
2014-04-21Tell to GTK3 that marco support _GTK_FRAME_EXTENTS hintStefano Karapetsas3-0/+11
Also if marco doesnt support it, but this currently fixes ugly dialog windows with GTK 3.12
2014-03-22Revert "gtk3: set event device"Stefano Karapetsas1-62/+20
This reverts commit b6ee7f8d6cb49b7b87c073695f50a0576f42a599.
2014-03-17Use zenity instead of mate-dialogsStefano Karapetsas1-1/+1
2014-03-10src/core/main.c sys/wait.h fix #2Robert David1-4/+0
2014-03-10fix core/main.c wait.h on nonlinuxRobert David1-0/+4
2014-02-23gtk3: set event deviceDenis Gorodnichev1-20/+62
2014-02-18window: remove warning about _NET_WM_MOVERESIZE's lack of timestampsRui Matos1-3/+0
The comments in the code about the protocol's inadequacies are enough, there's no need to spam our standard outputs.
2014-02-17portability: get WIFEXITED and WEXITSTATUS from sys/wait.hAntoine Jacoutot1-1/+1
WIFEXITED and WEXITSTATUS are normally declared in sys/wait.h on all Unices system. Linux has a definition in stdlib.h as well but this is not portable. https://bugzilla.gnome.org/show_bug.cgi?id=681328
2014-01-24Merge branch 'master' of github.com:mate-desktop/marcoStefano Karapetsas7-28/+354
2014-01-24core: Improve GTK3 supportStefano Karapetsas3-2/+52
2014-01-24Fix drag over the top screen edgeExtraterrestrial2-2/+7
2014-01-24Merge branch '1.7.0-window-snapping'Stefano Karapetsas7-27/+348
2014-01-15constraints: don't apply fullscreen workarounds for CSD windowsinfirit1-1/+7
If you maximize a CSD window on a monitor without struts, it ends up taking the whole monitor size, but it doesn't mean that the application wants to fullscreen. Gnome Bug: https://bugzilla.gnome.org/show_bug.cgi?id=708718 Gnome Commit: https://git.gnome.org/browse/mutter/commit/src/core/constraints.c?id=4eeeb1557a3a0caff6ef1debd92aeb541ae1b556
2013-05-31Implement side-by-side tilingStefano Karapetsas7-27/+348
Patch by Florian Müllner for Metacity https://bugzilla.gnome.org/show_bug.cgi?id=607694 When dragging a window over a screen edge and dropping it there, maximize it vertically and scale it horizontally to cover the corresponding half of the current monitor. Whenever a "hot area" which triggers this behavior is entered, an indication of window's target size is displayed after a short delay to avoid distraction when moving a window between monitors.
2013-05-17Revert deprecations for issue #41Scott Balneaves2-8/+0
2013-05-17Closes #44Scott Balneaves1-2/+2
2013-05-15core: Re-add window->fullscreen initializationStefano Karapetsas1-0/+1
Previously removed in a metacity commit
2013-05-15Fix uninitialized variablesStefano Karapetsas1-0/+6
Patch from: https://build.opensuse.org/package/view_file?expand=1&file=metacity-uninitialized-variables.patch&package=metacity&project=GNOME%3AFactory
2013-05-14Fix memory leak in marco. Cribbed from ↵Scott Balneaves1-13/+15
https://git.gnome.org/browse/metacity/commit/?id=d2b82ba621df8693e560bf0e10c6c56d155cb107
2013-04-09Set maximum workspaces number to 36Stefano Karapetsas1-1/+1
Closes https://github.com/mate-desktop/mate-window-manager/issues/42
2013-03-15Fix keybindings issue due to migration from MateConfStefano Karapetsas1-7/+4
Closes https://github.com/mate-desktop/mate-window-manager/issues/36
2013-02-21Fix no-return-in-nonvoid-functionStefano Karapetsas1-0/+1