summaryrefslogtreecommitdiff
path: root/src/ui/tabpopup.c
AgeCommit message (Collapse)AuthorFilesLines
2019-10-27tabpopup: Fix deprecation warningsVictor Kareh1-26/+38
2019-10-27tabpopup: Make workspaces compatible with OSD popupVictor Kareh1-6/+6
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 Kareh1-10/+20
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 Kareh1-56/+89
2019-09-19Remove warning: format not a string literal, argument types not checkedrbuj1-7/+1
ui/tabpopup.c:176:7: warning: format not a string literal, argument types not checked [-Wformat-nonliteral] 176 | tmp = g_markup_printf_escaped (formatter, str); | ^~~
2019-06-07Make alt+tab max columns configurable and consider window label widthosch1-13/+43
2019-06-03alt+tab popup: bugfix mouse click handling for scale factor > 1osch1-5/+5
2019-06-03Handle mouse clicks in Alt+Tab Popuposch1-0/+40
2019-06-03Allow use of up/down arrow keys in alt+tab popuposch1-2/+51
2019-03-28Fix -Werror=cast-function-typerbuj1-4/+8
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-01-31screen: Remove get_current_monitor in favor of get_current_xineramaVictor Kareh1-14/+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-9/+34
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-28tabpopup.c: improveVictor Kareh1-32/+29
* Fix missing white border on outline window. * Do not create outline_window if we are not going to use it. Adapted from https://gitlab.gnome.org/GNOME/metacity/commit/a7dd0727
2018-03-22Support HiDPI window decorationsVictor Kareh1-14/+14
2017-12-20WidthOfScreen and HeightOfScreen implementationPablo Barciela1-3/+2
This commit reverts: https://github.com/mate-desktop/marco/commit/f0541e3dfda29c26fe14c9c9117f95c49006c75c https://github.com/mate-desktop/marco/commit/d18c2fb4acb58c408c01700682b9922de86e8b2f And it applies an alternative to fix the deprecated functions: gdk_screen_get_width gdk_screen_width gdk_screen_height
2017-08-18avoid deprecated gdk_screen_get_widthZenWalker1-1/+3
2017-07-29avoid deprecated gdk_display_get_screenZenWalker1-3/+1
2016-12-05Added functionality to disable display preselected tab window borderIllia Danko1-9/+13
2016-10-15move to GTK+3 (>= 3.14), drop GTK+2 code and --with-gtk build optionmonsta1-294/+8
2016-01-25fix dprecated GtkMiscWolfgang Ulbrich1-1/+1
2015-12-02Gtk3: fix a fogotten GtkMisc deprecationWolfgang Ulbrich1-0/+7
2015-12-02Gtk+-3.14 tabpopup.c: don't use deprecated GtkAlignmentWolfgang Ulbrich1-0/+12
taken from: https://git.gnome.org/browse/metacity/commit/?id=5aeb6e9
2015-12-02Gtk+-3.14 tabpopup.c: don't use deprecated GtkMiscWolfgang Ulbrich1-0/+5
partially taken from: https://git.gnome.org/browse/metacity/commit/?id=51b9e57
2015-09-14Remove deprecated GTK+ symbols and use accessor functionsinfirit1-22/+30
Direct struct access has been deprecated, so use the appropriate replacements to build with GSEAL enabled.
2014-11-25merge metacity(gtk3) changesDenis Gorodnichev1-4/+56
merge metacity(gtk3) changes fix warnings clean up unused variables replace UNUSED_VARIABLE by G_GNUC_UNUSED
2014-11-25Gtk3: Silence the GtkVBox and GtkHBox deprecations warningsinfirit1-0/+2
2014-10-25Cleanup GTK_CHECK_VERSION and unify where possibleinfirit1-7/+2
gdk_x11_window_lookup_for_display since 2.24 GDK_WINDOW_XID since always gtk_widget_get_visible since 2.18 gtk_widget_set_mapped since 2.20 gdk_event_new since 2.2 gdk_x11_window_lookup_for_display since 2.24 gdk_text_property_to_utf8_list_for_display since 2.2 gtk_widget_get_realized since 2.20 gdk_visual_get_depth since 2.22 gtk_widget_get_window since 2.14 gtk_widget_set_allocation since 2.18
2014-06-26Remove all trailing whitespaces in the code treeJoaquín Ignacio Aramendía1-73/+73
Just run: $ find -name '*.c' -print0 | xargs -r0 sed -e 's/[[:blank:]]\+$//' -i $ find -name '*.h' -print0 | xargs -r0 sed -e 's/[[:blank:]]\+$//' -i
2013-11-16Fix typo in function nameRyan Doyle1-1/+1
2013-10-26Starting to add GTK3 supportLaszlo Boros1-17/+210
2012-11-18fixed incorrect fsf addresses.Steve Zesch1-2/+2
2011-12-01moving from https://github.com/perberos/mate-desktop-environmentPerberos1-0/+967