aboutsummaryrefslogtreecommitdiff
path: root/src/window_manager.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/window_manager.c')
-rw-r--r--src/window_manager.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/window_manager.c b/src/window_manager.c
index a2285e0..ec26842 100644
--- a/src/window_manager.c
+++ b/src/window_manager.c
@@ -92,6 +92,7 @@ static int window_manager_show_window(WindowManager *self, Window window, Displa
int window_index = window_manager_get_window_index(self, window);
if(window_index != -1) {
self->window_data[window_index].visible = 1;
+ /* TODO: Also set NET_ACTIVE_WINDOW */
XMoveResizeWindow(display, window, 0, 0, self->window_width, self->window_height);
XRaiseWindow(display, window);
XSetInputFocus(display, window, RevertToPointerRoot, CurrentTime);