summaryrefslogtreecommitdiff
path: root/src/core
AgeCommit message (Collapse)AuthorFilesLines
2018-08-28add support for app-menu button in themeAlberts Muktupāvels1-0/+2
Add app-menu button support in themes. This is done only to support metacity theme format 3.5 version. Marco will not show this button! Based on metacity commit: https://gitlab.gnome.org/GNOME/metacity/commit/6a2cc159
2018-08-28remove option to attach modal dialogsVictor Kareh1-6/+0
This was added only to add support for metacity theme format version 3.2. Adapted from metacity for marco origin commit: https://gitlab.gnome.org/GNOME/metacity/commit/d2b13461
2018-08-28theme: replace mutter/metacity with marcoVictor Kareh1-2/+2
2018-08-28tabpopup.c: always show 5px outline borderVictor Kareh1-35/+13
Adapted from metacity for marco Origin commit: https://gitlab.gnome.org/GNOME/metacity/commit/aab7b07a Author: Alberts Muktupāvels <[email protected]> Date: Fri Oct 3 19:57:08 2014 +0300
2018-08-28Don't show the ws switcher if we only have oneVictor Kareh1-0/+4
Origin: Ubuntu Bug: https://bugzilla.gnome.org/show_bug.cgi Bug-Ubuntu: https://bugs.launchpad.net/ubuntu/+source/metacity/+bug/506944 Author: Didier Roche <[email protected]>
2018-08-28Add frame type for attached modal dialogsOwen W. Taylor1-2/+6
Add a new frame type META_FRAME_TYPE_ATTACHED which is used for attached modal dialogs. The theme format version is bumped to 3.2, and attached windows can have borders defined in a metacity-theme-3.xml as: <window version=">= 3.2" type="attached" style_set="[name]"/> If no style is defined for "attached", drawing will fall back to the "border" type. https://bugzilla.gnome.org/show_bug.cgi?id=592382 NOTE: Patch copied from mutter and adapted for metacity.
2018-08-28Optionally attach modal dialogsMaxim Ermilov6-1/+165
Add a preference /apps/mutter/general/attach_modal_dialogs. When true, instead of having independent titlebars, modal dialogs appear attached to the titlebar of the parent window and are moved together with the parent window. https://bugzilla.gnome.org/show_bug.cgi?id=612726 NOTE: Patch copied from mutter and adapted for metacity.
2018-08-28Add meta_window_get_transient_for() methodDavyd Madeley1-0/+23
NOTE: Patch copied from mutter and adapted for metacity.
2018-04-29Correct resize popup position on HiDPI displaysVictor Kareh1-2/+5
2018-03-26Scale cursor size for HiDPIVictor Kareh1-1/+5
2018-03-08Fix mismatched enums in keybinding detection for switch-panels and ↵Victor Kareh1-0/+4
switch-panels-backward
2018-02-26window: add _NET_WM_STATE_FOCUSED hint to _NET_WM_STATEmonsta2-5/+19
ported from: https://github.com/GNOME/metacity/commit/4ccb99a50c54f345c4c7d9ac77f1ea76bc6c7c74
2018-02-13Fixes move_to_center moving window between monitorsOmar Zeidan1-1/+5
2018-01-28require GTK+ 3.22 and GLib 2.50monsta1-9/+0
2018-01-15Small bugfix for the move_to_X keybindsOmar Zeidan2-2/+2
2018-01-15Bugfix for monitors of different sizesOmar Zeidan1-12/+20
2018-01-15Restructured monitor keybinds and adjust save_rectOmar Zeidan3-30/+74
2018-01-15Implemented simple shourtcuts to move window to another monitorOmar Zeidan1-0/+41
2018-01-02Fix wrong result in meta_window_titlebar_is_onscreen() for windows without a ↵Björn Weber1-1/+1
frame
2018-01-02Add support for gtk3 _GTK_SHOW_WINDOW_MENU eventBjörn Weber3-0/+23
2018-01-02Implemented a setting to disable top tilingOmar Zeidan2-14/+31
2018-01-01Implemented tabpopup when moving window to different workspaceOmar Zeidan2-43/+73
2017-12-31keybindings.c: Fix build warning:Pablo Barciela1-1/+2
assignment discards ‘const’ qualifier from pointer target type
2017-12-30Reset tile_resized to false when fullscreeningOmar Zeidan1-1/+6
After resizing a tiled window, tile_resized gets set to true. Since it never got set back to false when fullscreening, it lead to weird behavior when unfullscreening the window.
2017-12-20Fixes windows not going to save_rect when unmaximimizingOmar Zeidan2-1/+5
2017-12-20Allow horizontal and vertical resizing when corner tiledOmar Zeidan4-123/+207
2017-12-20Fixes window getting reset to saved_rect when untiling from cornerOmar Zeidan2-3/+4
2017-12-20Implemented simple corner tiling by mouse dragOmar Zeidan6-49/+121
2017-11-10Add stricter logic for running without XPresent supportVictor Kareh2-9/+4
2017-11-10XPresent extension support - first passVictor Kareh2-4/+9
2017-08-30Store a window flag when user resizes from tiledVictor Kareh4-1/+15
Use that flag to retain the correct window size when performing other operations. Reset when re-tiling.
2017-08-29Allow tiled windows to be resized horizontallyVictor Kareh2-4/+33
Determine whether the user is initiating a resize action on a tiled window. If the user is trying to grab the window for resizing horizontally from the edge that's farther away from the screen edge, allow the resize to occur. Otherwise maintain the current tile geometry. Also modified the window hints to allow resizing from the window menu. Fixes #250
2017-08-14display: don't use deprecated GDK_DEVICE_MANAGERraveit651-2/+14
use GtkSeat for > gtk+-3.20
2017-08-14Fix synthetic keybinding/button-grab window (#342)Victor Kareh2-0/+22
* Determine focused window when processing synthetic events When a client is passively grabbing keybindings that it does not need, it sends them up for other clients to process. Often in this situation, the event contains the wrong window (either root, for global keybindings, or the original client itself). This means that Marco will attempt to process the event for the wrong window. This is not an issue for global keybindings within Marco, as the focused window does not matter. However, for shortcuts that operate directly on specific windows, the event gets lost. This change addresses this by determining what the currently-focused window is, regardless of which client forwarded the event. * Determine window under pointer when processing synthetic events When a client is passively grabbing mouse clicks that it does not need, it sends them up for other clients to process. Often in this situation, the event contains the wrong window (either root, for global keybindings, or the original client itself). This means that Marco will attempt to process the event for the wrong window. This change addresses this by determining what the current window under the mouse pointer is, regardless of which client forwarded the event. * Remove unused development data
2017-07-29avoid deprecated gdk_display_get_screenZenWalker2-5/+2
2017-07-14Alt/tab - define arrow keycode + numpad arrowsPierre-Louis Dubouilh2-2/+8
2017-07-14Allow use of arrows while in alt+tab popupPierre-Louis Dubouilh1-0/+9
2017-06-05Added hotkey to rename current workspaceFelipe Barriga Richards2-0/+242
2017-04-23build: Use non-deprecated feature test macrosDmitry Shachnev4-4/+4
_SVID_SOURCE has been deprecated in newer versions of glibc breaking -WError; the recommended replacement of _DEFAULT_SOURCE is fairly new, so switch to _XOPEN_SOURCE instead. Based on mutter commits b159d6a5e17219557574defb6c3788d9b0c39757 and b159d6a5e17219557574defb6c3788d9b0c39757. https://bugzilla.gnome.org/show_bug.cgi?id=763782 taken from: https://git.gnome.org/browse/metacity/commit/?id=56bcf350fb599ec2caf68af4f0f92b1c3999027c
2017-01-30workspace: switch wrapping behavior for 'classic' and 'toroidal'Kevin S.C. Decker1-10/+10
2017-01-17Added functionality to ignore applications while show-desktop is triggeredIllia Danko2-2/+53
2016-12-05Added functionality to disable display preselected tab window borderIllia Danko2-33/+57
2016-10-15move to GTK+3 (>= 3.14), drop GTK+2 code and --with-gtk build optionmonsta5-292/+2
2016-04-12fix crash on showing alt-tab thumbnails with compositor on (GTK+2)monsta1-4/+4
was my mistake in 9212dacb2bfd5985d8426bf0bdb88f2aca03444e :-/
2016-03-09remove duplicate function declarationmonsta1-2/+0
2016-03-03[GTK+3] re-add ability to show alt-tab thumbnails when compositor is onmonsta1-9/+22
adapted from: https://git.gnome.org/browse/metacity/commit/?id=e6828a3ee2cab1ec1acbdd5a444dc1cb98215a75 https://git.gnome.org/browse/metacity/commit/?id=758902aef22629943738241cea1f597b6db4b18e https://git.gnome.org/browse/metacity/commit/?id=c6ba6dc7f458720d9f8666881f45a830580468cb https://git.gnome.org/browse/metacity/commit/?id=68bdf1ab9de815e07f5cd75b2e1fa24ba92ae319 https://git.gnome.org/browse/metacity/commit/?id=78bbf4423f72797a05bfaddd4121d70db30de9a3
2016-01-10Avoiding conditional directives that break statements.Romero Malaquias1-4/+8
2015-12-31window: remove excessive initializationmonsta1-1/+0
2015-12-11add a missing line from metacitymonsta1-0/+1
line is taken from https://github.com/GNOME/metacity/commit/632d3983fbc402432c6ceae05bea8903ad2f11c0 was forgotten in https://github.com/mate-desktop/marco/commit/ad9db61aabc2cbf743a1157ddc42ff76127f3fab
2015-11-08Revert "Merge pull request #115 from Samsagax/animation-fix-clean"Monsta4-148/+83
This reverts commit 567890a8a1884247de29e9f97cf9cd8110247c04, reversing changes made to a65a66d49bd0d6ec6c94b8e3ecd551cb570cec95.