summaryrefslogtreecommitdiff
path: root/src/include
AgeCommit message (Collapse)AuthorFilesLines
2019-06-05MetaFrameBorders: Add meta_frame_borders_clearVictor Kareh1-0/+3
Just a quick little commit to help clean things up for when we add invisible borders. Additionally, do a little housekeeping in preview-widget as well. https://bugzilla.gnome.org/show_bug.cgi?id=644930 NOTE: Patch copied from metacity and adapted for marco. upstream commit: https://gitlab.gnome.org/GNOME/metacity/commit/7d519b3f
2019-06-05Replace public MetaFrameGeometry with MetaFrameBordersVictor Kareh2-12/+18
There were actually *two* MetaFrameGeometry structs: one in theme-private.h, one in frame.h. The latter public struct was populated by a mix of (void*) casting and int pointers, usually pulling directly from the data in the private struct. Remove the public struct, replace it with MetaFrameBorders and scrap all the pointer hacks to populate it, instead relying on both structs being used in common code. This commit should be relatively straightforward, and it should not do any tricky logic at all, just a sophisticated find and replace. https://bugzilla.gnome.org/show_bug.cgi?id=644930 upstream commit: https://gitlab.gnome.org/GNOME/metacity/commit/72224a165 NOTE: Patch copied from metacity and adapted for marco.
2019-06-03alt+tab popup: bugfix mouse click handling for scale factor > 1osch1-1/+2
2019-06-03Handle mouse clicks in Alt+Tab Popuposch1-1/+4
2019-06-03Allow use of up/down arrow keys in alt+tab popuposch1-0/+2
2019-04-23ui: always set the frame background to NoneGiovanni Campagna1-7/+0
This way the xserver never paints the frame background, even if the client window is destroyed. This allows us to have clean destroy window animation. There is no problem with interactive resizing because applications are using the XSync protocol, so we're not painting unless the client has redrawn. https://bugzilla.gnome.org/show_bug.cgi?id=734054 origin commit: https://gitlab.gnome.org/GNOME/metacity/commit/78c283c
2019-04-23Limit icon size to 480osch1-1/+1
2019-04-23Limit icon size to 1024osch1-0/+3
2019-04-23reload icons if icon size preference changedosch1-0/+2
2019-04-23make icon size configurableosch2-2/+3
2019-04-11Replace meta_free_gslist_and_elements with g_slist_free_fullrbuj1-2/+0
Use g_slist_free_full
2019-04-11Replace meta_rectangle_free_list_and_elements with g_list_free_fullrbuj1-9/+0
Use g_list_free_full
2019-01-31Increase icon size on tab and workspace popupsVictor Kareh1-2/+2
Alt+Tab and Workspace popups should be sized relative to the monitor size. This way they look nice and large regardless of the display resolution. Also, given much larger modern resolutions, icon sizes should be larger by default.
2019-01-07'meta_error_trap_push' instead 'meta_error_trap_push_with_return'Pablo Barciela1-1/+0
both functions have the same code
2018-08-28add support for app-menu button in themeAlberts Muktupāvels1-15/+18
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-28Add frame type for attached modal dialogsOwen W. Taylor1-0/+1
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 Ermilov1-0/+2
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/+1
NOTE: Patch copied from mutter and adapted for metacity.
2018-03-08Fix mismatched enums in keybinding detection for switch-panels and ↵Victor Kareh1-0/+2
switch-panels-backward
2018-01-15Implemented simple shourtcuts to move window to another monitorOmar Zeidan1-0/+14
2018-01-02More elegant solution for handling new move-to-workspace keybindsOmar Zeidan2-14/+14
2018-01-02Implemented a setting to disable top tilingOmar Zeidan1-3/+5
2018-01-01Implemented tabpopup when moving window to different workspaceOmar Zeidan2-1/+6
2017-12-20Added keybindings for corner tilingOmar Zeidan1-0/+12
2017-07-29avoid deprecated gdk_display_get_screenZenWalker3-4/+2
2017-06-05Added hotkey to rename current workspaceFelipe Barriga Richards2-0/+10
2017-01-17Added functionality to ignore applications while show-desktop is triggeredIllia Danko1-1/+3
2016-12-05Added functionality to disable display preselected tab window borderIllia Danko2-0/+9
2016-10-15move to GTK+3 (>= 3.14), drop GTK+2 code and --with-gtk build optionmonsta3-12/+2
2016-03-03[GTK+3] re-add ability to show alt-tab thumbnails when compositor is onmonsta2-1/+9
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
2015-09-25Merge pull request #168 from robertek/swith_to_workspace_prevNo_name1-0/+3
Possible keybinding to switch to previous workspace.
2015-09-18Revert "Remove unused function handle_run_terminal"infirit1-0/+2
This reverts commit 437b085f123f3c019bca2481000e936ee87e7c31.
2015-09-16Add manual and by-pointer window placementFaidon Liambotis2-1/+14
This adds a window placement preference: the existing behavior is now called "automatic" and is the default. Two new modes are being introduced: "pointer", which means that windows are placed according to the mouse pointer position; and "manual" which means that the user must manually place the new window with the mouse or keyboard. This is a straight port from muffin, commit 3257671.
2015-09-16Remove more unused functionsinfirit1-14/+0
2015-09-15Remove unused function handle_run_terminalinfirit1-2/+0
2015-09-14bump xcomposite required version to 0.3 and simplify codeAlberts Muktupāvels1-3/+0
Version 0.3 is available more then 8 years.
2015-09-14xprop: Don't use GDK for reading text propertiesJasper St. Pierre1-3/+0
2015-06-10Merge pull request #160 from micove/add-tile-keybindsMartin Wimpress1-0/+5
Add tile keybinds (Fix #104, #127)
2015-01-23Possible keybinding to switch to previous workspace.Robert David1-0/+3
Disabled at default.
2015-01-14check compositor statusDenis Gorodnichev2-1/+4
2015-01-14show tile preview with external compositorDenis Gorodnichev1-3/+2
2015-01-01Add the tile-to-side options to the appropiate files.Miguel A. Colón Vélez1-0/+5
This is just a copy/paste from move-to-side-{e,w} with: s/move/tile/g s/Move/Tile/g . It uses the existing handle_toggle_tiled as the backend.
2014-11-07Revert "Possible keybinding to switch to previous workspace."infirit1-3/+0
This reverts commit 69b7a0ad9277f21ad761c84ac1bae5455a2f879e. It has the unintended side-effect that it reverses the alt+tab behaviour.
2014-10-27don't change use settings by command line argumentDenis Gorodnichev1-1/+1
2014-10-27Rework tiling code based off Consortiuminfirit2-2/+5
Taken from https://github.com/SolusOS-discontinued/consortium/commit/b463e03f5bdeab307ceee6b969c681f29537c76d
2014-10-24Update meta_show_dialog for gtk's removal of --screeninfirit1-2/+2
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-24don't show shadow for maximized windowsinfirit2-6/+5
based on metacity commit: 72d1c6a6b9a85391444bb5ff8c5de1e3aabd3fd9 From: Alberts Muktupāvels <[email protected]>
2014-06-26Remove all trailing whitespaces in the code treeJoaquín Ignacio Aramendía12-50/+50
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 David1-0/+3
Disabled at default.
2014-01-24Merge branch 'master' of github.com:mate-desktop/marcoStefano Karapetsas4-0/+44