summaryrefslogtreecommitdiff
path: root/src/ui/tabpopup.c
diff options
context:
space:
mode:
authorosch <oliver at luced de>2019-05-24 20:34:16 +0200
committerraveit65 <[email protected]>2019-06-03 14:14:38 +0200
commit707eb409e7dfeec276f6dfa3e667a0140b3300aa (patch)
tree88eb1ef90de077b0b94736a83943480d81378ec4 /src/ui/tabpopup.c
parent11b7ff55b020573b3ecf4e841c2b1d60ca74f4b8 (diff)
downloadmarco-707eb409e7dfeec276f6dfa3e667a0140b3300aa.tar.bz2
marco-707eb409e7dfeec276f6dfa3e667a0140b3300aa.tar.xz
alt+tab popup: bugfix mouse click handling for scale factor > 1
Diffstat (limited to 'src/ui/tabpopup.c')
-rw-r--r--src/ui/tabpopup.c10
1 files changed, 5 insertions, 5 deletions
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