summaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)AuthorFilesLines
2021-03-18bell: Unused static function 'bell_flash_screen'rbuj1-0/+2
2021-03-13frames: Unused static functions 'get_client_region', 'get_frame_region'rbuj1-0/+2
2021-03-08compositor-xrender.c: Make sure tooltips are visible when the sourceMichael Webster1-0/+89
widget is close to the edge of the work area. See inline comments - as of 3.24 tooltip positioning is handled differently, and under certain conditions in hidpi, tooltips for the bottom panel applets can end up off the bottom of the work area. To reproduce, in hidpi, set the bottom panel to approximately 30px tall and try to activate a tooltip for an applet on that panel.
2021-03-08bell: missing include guardrbuj1-0/+5
2021-03-06i18n: Use glib's gettext support macrosrbuj23-14/+41
2021-03-01window: turn into a GObjectrbuj3-24/+62
2021-02-26Remove the copyright information when printing the version from the command linerbuj1-28/+4
2020-10-11Added VI keys (hjkl) for moving and resizing windowsKFB1-0/+20
2020-09-27window: do not unfocus on new window.rcaridade1451-17/+1
Fix keyboard input on fullscreen VLC. Based on Metacity commit https://gitlab.gnome.org/GNOME/metacity/-/commit/bf17c79
2020-09-05Do not call cairo paint on generate_pixmaps.rcaridade1451-2/+0
Based on Metacity commit https://gitlab.gnome.org/GNOME/metacity/-/commit/0b2f5ad0a2f30726ac0dc59aa59f7f513e91c832 Fixes transparent windows.
2020-09-03compositor-xrender: Use USHRT_MAX macro from limits.hrbuj1-5/+6
2020-09-03compositor-xrender: Remove float-conversion warningrbuj1-4/+4
2020-09-01theme: macro "ALPHA_TO_UCHAR" is not usedrbuj1-2/+0
2020-08-18window: expand tile size cycling supportraveit653-1/+8
2020-08-04Remove multiple empty linesrbuj56-159/+0
find . \( -name '*.h' -o -name '*.c' \) -exec sed -i 'N;/^\n$/D;P;D;' {} \;
2020-08-04Remove trailing spaces/tabsrbuj13-86/+86
find . \( -name '*.h' -o -name '*.c' \) -exec sed -i 's/[[:space:]]*$//' {} \; find . \( -name '*.h' -o -name '*.c' \) -exec sed -i 's/\t*$//' {} \;
2020-07-07common: window icon (META_DEFAULT_ICON_NAME) is no longer availablerbuj1-1/+1
2020-06-16Remove enum conversion warningsrbuj4-6/+6
2020-05-27workspace: Don't try to use per-workspace MRU lists as a hint for focusingrcaridade1454-39/+17
A prior commit switched from focusing the topmost window as the default window to focusing the MRU window. This was done in alignment with the introduction of per-workspace MRU lists to avoid problems where the window stack was inadvertently changed when focusing windows during window switches. Now that focusing windows don't have as big an impact on the stacking order, we can revert back to focusing the top window, which is less confusing to the user. For now, leave per-workspace MRU lists, as they're a pretty good approximation of a global MRU list, and it works well enough. https://bugzilla.gnome.org/show_bug.cgi?id=620744 Based on commit https://gitlab.gnome.org/GNOME/metacity/-/commit/f628d8f8901f46fa9e00707ae9d7ccfd1e85f427
2020-05-27stack: make meta_window_raise() and meta_window_lower() smarterrcaridade1451-3/+39
https://bugzilla.gnome.org/show_bug.cgi?id=620744 Based on commit https://gitlab.gnome.org/GNOME/metacity/-/commit/9245f9588bd7c17ccbe04df65c1579313cbad07b
2020-05-27compositor: fix possible crash closing/destroying window . Fixes to previous ↵rcaridade1455-9/+48
commit. Partially restore call to destroy_win in compositor when calling meta_window_free. This is needed to ensure that we never call meta_window_get_frame_bounds while windows is destroying. https://bugzilla.gnome.org/show_bug.cgi?id=751833 Based on commit https://gitlab.gnome.org/GNOME/metacity/-/commit/a9f28dbc26f5211ef08889109db3dc8c7ba76aca
2020-05-27window: fix crash if workspace is nullrcaridade1451-1/+2
Based on commit https://gitlab.gnome.org/GNOME/metacity/-/commit/24d35569bdb78d1da3b53ed1a6d81d365d60bed0
2020-05-27In the pop-up workspace switcher, show the selected workspace withWilliam Bader1-1/+10
a dark color when compositing is disabled. Updates #566 which changed the selected workspace to a light color on a light background.
2020-05-26Use rounded values instead of truncate themrbuj1-3/+4
If the decimal value is from .1 to .5, round(arg) returns the integer value less than the argument. Otherwise, if the decimal value is from .6 to .9, it returns the integer value greater than the arg.
2020-04-02Remove unnecessary warnings about visible regionVictor Kareh2-11/+8
Also reformat recent code change to fix styling issues.
2020-03-08Guard against null changes introduced by previous commitrcaridade1451-2/+6
2020-03-08Introduce nullpointer checks and return null if validation failsrcaridade1451-4/+7
2020-02-28util: meta_bug raises SIGABRT so it shouldn't returnrbuj2-2/+2
2020-02-24add meson build files to EXTRA_DISTraveit654-3/+28
2020-02-21remove warning: 'GTimeVal' is deprecatedrbuj6-50/+34
2020-02-21theme: avoid deprecated g_memmovercaridade1451-3/+3
https://gitlab.gnome.org/GNOME/glib/commit/6554c91b https://gitlab.gnome.org/GNOME/glib/commit/6e4a7fca based on https://gitlab.gnome.org/GNOME/metacity/commit/359f60a6
2020-02-21frames: don't bother painting the backgroundrcaridade1451-23/+0
GDK (and also GTK+!) do this for us already. based on https://gitlab.gnome.org/GNOME/metacity/commit/1dcde194
2020-02-06window: handle legacy fullscreen requestsrcaridade1452-24/+30
https://gitlab.gnome.org/GNOME/metacity/commit/1fafd279006ece8cf664fd777143cdfafbefad6d window: handle legacy fullscreen requests Doing this on the actual resize requests makes more sense than handling it as a window-manager imposed constraints, so move the code accordingly. Adapted from mutter patch by Florian Müllner: https://git.gnome.org/browse/mutter/commit/?id=fba022cc06b8c7e80ef36f48d6577a251384cc4b https://bugzilla.gnome.org/show_bug.cgi?id=781946 Bug 781946 - Non-native decorated windows stuck maximised on secondary screen with Marco/Metacity
2020-02-04frame: remove unused variable 'status'rbuj1-1/+0
2020-01-22Xprops fix memory leak.rcaridade1451-7/+13
Origin commit : https://gitlab.gnome.org/GNOME/metacity/commit/c87f73f3b4413720a2f3e6a672826d3fec7f77a9 " XmbTextPropertyToTextList documentation says that XFreeStringList should be used to free the storage for the list and its contents. "
2019-12-06Revert "compositor: fix possible crash closing/destroying window"Victor Kareh3-32/+9
This reverts commit df56628979abc17474b001c58c28c6f3637ada9d. It causes an issue where windows remain in the background even when being drawn in the foreground.
2019-12-05theme.c: Fix window control hidpi rendering for all themes.Michael Webster1-3/+15
By scaling the pixbuf when loading, existing assets can be used.
2019-12-05tabpopup: Increase max number of columnsVictor Kareh2-2/+2
2019-10-31window: Add optional tile size cyclingVictor Kareh6-13/+123
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-29DustBlue: strip image of all profiles and commentsrbuj13-0/+0
find . -name "*.png" -exec mogrify -strip {} ;
2019-10-27tabpopup: Fix deprecation warningsVictor Kareh1-26/+38
2019-10-27tabpopup: Change schema value rangesVictor Kareh2-7/+7
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: Make workspaces compatible with OSD popupVictor Kareh2-25/+23
When drawing the workspace switcher OSD, we want it to be slightly transparent to match the OSD style. Also changed how the popup size is calculated and changed window icons to cairo surfaces.
2019-10-27tabpopup: Render window thumbnail as cairo surfaceVictor Kareh3-91/+118
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-10-27tabpopup: Draw transparent OSD-style popupsVictor Kareh3-58/+94
2019-10-26Fix MARCO_LOCALEDIR displaying the translated messagesrbuj1-1/+1
2019-10-12WinMe theme: strip png images of all profiles and commentsrbuj10-0/+0
find . -name "*.png" -exec mogrify -strip {} \;
2019-10-08eOS theme: Add single button backgroundsrbuj6-0/+600
2019-10-08eOS theme: strip png images of all profiles and commentsrbuj20-0/+0
find . -name "*.png" -exec mogrify -strip {} \;
2019-10-08eOS theme: make transparent the button-box outer regionrbuj8-0/+0