summaryrefslogtreecommitdiff
path: root/common/xfwm-common.h
diff options
context:
space:
mode:
authorJonas Zetterberg <jozz@jozz.se>2018-12-01 12:53:46 +0100
committerOlivier Fourdan <fourdan@xfce.org>2018-12-09 17:11:50 +0100
commit07773e608413a370932c5f2d59ed0b656240970a (patch)
treeb867a1a8c72a26bd69995e81428df287b58564e2 /common/xfwm-common.h
parent7d8ad718466e59865755578bdf4192cd21abc221 (diff)
downloadxfwm4-07773e608413a370932c5f2d59ed0b656240970a.tar.gz
tabwin: Place tabwin in center when display is scaled
Bug: 14931 On scaled display the tabwin is using unscaled window coordinates to calculate its position. Let the callert choose scaled or unscaled display size and use scaled in tabwin. fixes: 9d5ac6a4 Introduce xfwm-common static library Signed-off-by: Jonas Zetterberg <jozz@jozz.se>
Diffstat (limited to 'common/xfwm-common.h')
-rw-r--r--common/xfwm-common.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/common/xfwm-common.h b/common/xfwm-common.h
index e2e8c97b4..3cd2b6279 100644
--- a/common/xfwm-common.h
+++ b/common/xfwm-common.h
@@ -31,7 +31,8 @@ void xfwm_get_screen_dimensions (gint *width,
void xfwm_get_monitor_geometry (GdkScreen *screen,
gint monitor_num,
- GdkRectangle *geometry);
+ GdkRectangle *geometry,
+ gboolean scaled);
void xfwm_get_primary_monitor_geometry (GdkScreen *screen,
GdkRectangle *geometry);