From 707eb409e7dfeec276f6dfa3e667a0140b3300aa Mon Sep 17 00:00:00 2001 From: osch Date: Fri, 24 May 2019 20:34:16 +0200 Subject: alt+tab popup: bugfix mouse click handling for scale factor > 1 --- src/ui/tabpopup.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'src/ui') diff --git a/src/ui/tabpopup.c b/src/ui/tabpopup.c index b896b0e3..d7887ca8 100644 --- a/src/ui/tabpopup.c +++ b/src/ui/tabpopup.c @@ -640,13 +640,13 @@ meta_ui_tab_popup_select (MetaTabPopup *popup, } } -Window -meta_ui_tab_popup_get_xid (MetaTabPopup *popup) +GtkWidget* +meta_ui_tab_popup_get_widget (MetaTabPopup *popup) { - if (popup != NULL && popup->window != NULL) - return gdk_x11_window_get_xid(gtk_widget_get_window(popup->window)); + if (popup != NULL) + return popup->window; else - return 0; + return NULL; } void -- cgit v1.2.1