summaryrefslogtreecommitdiff
path: root/src/include/common.h
AgeCommit message (Collapse)AuthorFilesLines
2023-01-18Add setting to raise windows on alt+tab popupsparkida1-0/+1
2020-07-07common: window icon (META_DEFAULT_ICON_NAME) is no longer availablerbuj1-1/+1
2019-12-05tabpopup: Increase max number of columnsVictor Kareh1-1/+1
2019-10-27tabpopup: Change schema value rangesVictor Kareh1-3/+3
Since we're rewriting how tab popups are created, we should change the gschema value ranges so that they are more compatible with the new version.
2019-06-07Make alt+tab max columns configurable and consider window label widthosch1-0/+6
2019-06-05MetaFrameBorders: add invisible bordersVictor Kareh1-0/+5
This just adds the invisible border field and populates it with data but doesn't use it in any way. Based on mutter commit: https://git.gnome.org/browse/mutter/commit/?id=a1a2527c75ab0c135f89396ea036336fb67ac538 upstream commit: https://gitlab.gnome.org/GNOME/metacity/commit/bf02c7c3
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 Kareh1-1/+11
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-04-23Limit icon size to 480osch1-1/+1
2019-04-23Limit icon size to 1024osch1-0/+3
2019-04-23make icon size configurableosch1-2/+1
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.
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-01-01Implemented tabpopup when moving window to different workspaceOmar Zeidan1-0/+1
2015-09-16Add manual and by-pointer window placementFaidon Liambotis1-0/+10
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.
2014-10-27Rework tiling code based off Consortiuminfirit1-1/+3
Taken from https://github.com/SolusOS-discontinued/consortium/commit/b463e03f5bdeab307ceee6b969c681f29537c76d
2014-06-26Remove all trailing whitespaces in the code treeJoaquín Ignacio Aramendía1-7/+7
Just run: $ find -name '*.c' -print0 | xargs -r0 sed -e 's/[[:blank:]]\+$//' -i $ find -name '*.h' -print0 | xargs -r0 sed -e 's/[[:blank:]]\+$//' -i
2012-11-18fixed incorrect fsf addresses.Steve Zesch1-2/+2
2012-03-16Introduce key combination to switch between windows on all workspaces taken ↵Alexander Larsson1-0/+2
from https://bugzilla.gnome.org/show_bug.cgi?id=577699
2012-03-16implement option for classic and toroidal workspace switching, based on ↵Benjamin Valentin1-0/+7
https://bugzilla.gnome.org/show_bug.cgi?id=89315
2012-03-16Change the behavior of the maximize button so that a middle click on it will ↵Benjamin Valentin1-0/+4
maximize the window vertically, a right click horizontally.
2011-12-01moving from https://github.com/perberos/mate-desktop-environmentPerberos1-0/+300