summaryrefslogtreecommitdiff
path: root/src/include
AgeCommit message (Collapse)AuthorFilesLines
2020-07-07common: window icon (META_DEFAULT_ICON_NAME) is no longer availablerbuj1-1/+1
2020-02-28util: meta_bug raises SIGABRT so it shouldn't returnrbuj1-1/+1
2019-12-05tabpopup: Increase max number of columnsVictor Kareh1-1/+1
2019-10-31window: Add optional tile size cyclingVictor Kareh1-0/+2
Adding a new option to allow tile size cycling. When enabled, using the keyboard shortcut for tiling multiple times in a row cycles the window through different sizes (1/2 -> 1/3 -> 1/4 -> 3/4 -> 2/3 -> Untiled).
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-10-27tabpopup: Render window thumbnail as cairo surfaceVictor Kareh1-0/+1
Instead of converting from surface to a GdkPixbuf and then back to a surface, we keep it as a surface for the entire manipulation flow. This improves rendering speed a bit and sets the ground for a higher resolution thumbnail in the future.
2019-06-07Make alt+tab max columns configurable and consider window label widthosch3-0/+11
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-05frame: Add "get_corner_radiuses" chainVictor Kareh1-0/+8
https://bugzilla.gnome.org/show_bug.cgi?id=628195 upstream commit: https://gitlab.gnome.org/GNOME/metacity/commit/3994d7a0
2019-06-05Only shadow ARGB windows with a frame outside the frameVictor Kareh2-0/+7
An ARGB window with a frame is likely something like a transparent terminal. It looks awful (and breaks transparency) to draw a big opaque black shadow under the window, so clip out the region under the terminal from the shadow we draw. Add meta_window_get_frame_bounds() to get a cairo region for the outer bounds of the frame of a window, and modify the frame handling code to notice changes to the frame shape and discard a cached region. meta_frames_apply_shapes() is refactored so we can extract meta_frames_get_frame_bounds() from it. https://bugzilla.gnome.org/show_bug.cgi?id=635268 NOTE: Applied only partially, compositor part is still missing... upstream commit: https://gitlab.gnome.org/GNOME/metacity/commit/0f2e32d1
2019-06-05compositor: don't draw shadow under windowsVictor Kareh1-0/+3
upstream commit: https://gitlab.gnome.org/GNOME/metacity/commit/5404d8f2
2019-06-05ui: Add meta_ui_update_frame_style()Victor Kareh1-0/+2
This method allows forcing a style update of a particular frame from the core, so that it can pick up style variants. https://bugzilla.gnome.org/show_bug.cgi?id=645355 upstream commit: https://gitlab.gnome.org/GNOME/metacity/commit/97554dc4
2019-06-05core: Allow retrieving the theme variant via core_get()Victor Kareh1-0/+1
To associate frames with the correct style variant, the UI will need access to the window's theme variant property. https://bugzilla.gnome.org/show_bug.cgi?id=645355 upstream commit: https://gitlab.gnome.org/GNOME/metacity/commit/5c7403cc
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