summaryrefslogtreecommitdiff
path: root/src/core/screen.c
AgeCommit message (Collapse)AuthorFilesLines
2021-06-07screen: add support for _GTK_WORKAREAS_Dnraveit651-0/+44
In addition to existing _NET_WORKAREA property set also new _GTK_WORKAREAS_Dn property where n is desktop number (between 0 and _NET_NUMBER_OF_DESKTOPS - 1). https://mail.gnome.org/archives/wm-spec-list/2018-December/msg00000.html https://gitlab.freedesktop.org/xdg/xdg-specs/merge_requests/22 origin commit: https://gitlab.gnome.org/GNOME/metacity/-/commit/3d8b03d
2021-03-06i18n: Use glib's gettext support macrosrbuj1-0/+2
2020-08-04Remove multiple empty linesrbuj1-7/+0
find . \( -name '*.h' -o -name '*.c' \) -exec sed -i 'N;/^\n$/D;P;D;' {} \;
2020-08-04Remove trailing spaces/tabsrbuj1-2/+2
find . \( -name '*.h' -o -name '*.c' \) -exec sed -i 's/[[:space:]]*$//' {} \; find . \( -name '*.h' -o -name '*.c' \) -exec sed -i 's/\t*$//' {} \;
2020-02-21remove warning: 'GTimeVal' is deprecatedrbuj1-7/+9
2019-10-27tabpopup: Render window thumbnail as cairo surfaceVictor Kareh1-81/+97
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 widthosch1-1/+3
2019-04-23scale icon down if icon is larger than alt+tab preview thumbnailosch1-4/+18
2019-04-23make icon size configurableosch1-4/+6
2019-03-28Fix -Werror=cast-function-typerbuj1-7/+4
Bump glib-2 required version to 2.58: G_SOURCE_FUNC https://gitlab.gnome.org/GNOME/glib/commit/039fa6897bb4c5cd30caec8ee3add1a4ef612f76 Build & install:i export CC=gcci export CFLAGS=-Werror=cast-function-type ./autogen.sh --prefix=/usr make clean make sudo make install
2019-03-28Improve performance by removing unused assignmentsrbuj1-3/+0
2019-03-06screen: Fix use of memory after it is freedPablo Barciela1-2/+1
Fixes Clang static analyzer warning: core/screen.c:754:16: warning: Use of memory after it is freed result = g_list_prepend (result, info); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
2019-01-31screen: Remove get_current_monitor in favor of get_current_xineramaVictor Kareh1-37/+4
Since xinerama already contains information on the monitor and its rectangle, there is no need to go through Gdk to get this information again.
2019-01-31Increase icon size on tab and workspace popupsVictor Kareh1-6/+44
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-15screen: avoid 'NULL' in 'meta_error_trap...' functionsPablo Barciela1-2/+4
Fixes https://github.com/mate-desktop/marco/issues/445
2019-01-07'meta_error_trap_push' instead 'meta_error_trap_push_with_return'Pablo Barciela1-4/+4
both functions have the same code
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-01-02Add support for gtk3 _GTK_SHOW_WINDOW_MENU eventBjörn Weber1-0/+1
2017-12-20Implemented simple corner tiling by mouse dragOmar Zeidan1-13/+13
2017-11-10Add stricter logic for running without XPresent supportVictor Kareh1-5/+4
2017-11-10XPresent extension support - first passVictor Kareh1-4/+5
2017-07-29avoid deprecated gdk_display_get_screenZenWalker1-3/+1
2017-01-17Added functionality to ignore applications while show-desktop is triggeredIllia Danko1-2/+3
2016-12-05Added functionality to disable display preselected tab window borderIllia Danko1-33/+41
2016-10-15move to GTK+3 (>= 3.14), drop GTK+2 code and --with-gtk build optionmonsta1-15/+0
2016-04-12fix crash on showing alt-tab thumbnails with compositor on (GTK+2)monsta1-4/+4
was my mistake in 9212dacb2bfd5985d8426bf0bdb88f2aca03444e :-/
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-01-14check compositor statusDenis Gorodnichev1-14/+13
2015-01-14show tile preview with external compositorDenis Gorodnichev1-3/+1
2014-10-27Rework tiling code based off Consortiuminfirit1-3/+33
Taken from https://github.com/SolusOS-discontinued/consortium/commit/b463e03f5bdeab307ceee6b969c681f29537c76d
2014-06-26Remove all trailing whitespaces in the code treeJoaquín Ignacio Aramendía1-213/+213
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-04-21Tell to GTK3 that marco support _GTK_FRAME_EXTENTS hintStefano Karapetsas1-0/+1
Also if marco doesnt support it, but this currently fixes ugly dialog windows with GTK 3.12
2014-01-24Merge branch 'master' of github.com:mate-desktop/marcoStefano Karapetsas1-2/+64
2014-01-24core: Improve GTK3 supportStefano Karapetsas1-2/+11
2013-05-31Implement side-by-side tilingStefano Karapetsas1-2/+64
Patch by Florian Müllner for Metacity https://bugzilla.gnome.org/show_bug.cgi?id=607694 When dragging a window over a screen edge and dropping it there, maximize it vertically and scale it horizontally to cover the corresponding half of the current monitor. Whenever a "hot area" which triggers this behavior is entered, an indication of window's target size is displayed after a short delay to avoid distraction when moving a window between monitors.
2012-11-20Fix deprecations and compile warnings. Clean compileScott Balneaves1-2/+2
2012-11-18fixed incorrect fsf addresses.Steve Zesch1-2/+2
2012-10-01migrate to gsettingsStefano Karapetsas1-3/+3
2012-05-26Fixes https://github.com/mate-desktop/mate-window-manager/issues/4Steve Zesch1-1/+7
2011-12-01moving from https://github.com/perberos/mate-desktop-environmentPerberos1-0/+2815