summaryrefslogtreecommitdiffstats
path: root/source/view.c
diff options
context:
space:
mode:
authorDave Davenport <qball@gmpclient.org>2016-11-07 09:15:04 +0100
committerDave Davenport <qball@gmpclient.org>2016-11-07 09:15:04 +0100
commit545be58e40562b71dae98a6e7dfccdfe2a8dbf7d (patch)
tree1cc0e54346d47da383bbddb7435fd2547d3cd78c /source/view.c
parent90c314f3970e66814c39dc7e94e665240a5d3320 (diff)
Issue #454 pass our window id along in the change active window request
Diffstat (limited to 'source/view.c')
-rw-r--r--source/view.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/source/view.c b/source/view.c
index df5ee606..82c37859 100644
--- a/source/view.c
+++ b/source/view.c
@@ -1631,3 +1631,8 @@ void rofi_view_switch_mode ( RofiViewState *state, Mode *mode )
rofi_view_refilter ( state );
rofi_view_update ( state );
}
+
+xcb_window_t rofi_view_get_window ( void )
+{
+ return CacheState.main_window;
+}