From abc67cbdc1c1e61e074f8f312eaecb357cd0aa5c Mon Sep 17 00:00:00 2001 From: Dana Jansens Date: Fri, 11 Jan 2008 15:28:26 -0500 Subject: make it possible to temporarily raise a window to the top, and restore it. also fix the return val for window_layer. --- openbox/window.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'openbox/window.h') diff --git a/openbox/window.h b/openbox/window.h index ef29edd7..aaf83995 100644 --- a/openbox/window.h +++ b/openbox/window.h @@ -19,6 +19,8 @@ #ifndef __window_h #define __window_h +#include "stacking.h" + #include #include @@ -74,6 +76,6 @@ void window_startup(gboolean reconfig); void window_shutdown(gboolean reconfig); Window window_top(ObWindow *self); -Window window_layer(ObWindow *self); +ObStackingLayer window_layer(ObWindow *self); #endif -- cgit v1.2.3 From 2b80e4e8ef56bb4fba614139601e750344418e5b Mon Sep 17 00:00:00 2001 From: Dana Jansens Date: Fri, 11 Jan 2008 18:13:12 -0500 Subject: ignore mouse clicks on override-redirect windows that aren't owned by openbox --- openbox/window.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'openbox/window.h') diff --git a/openbox/window.h b/openbox/window.h index aaf83995..a172cfce 100644 --- a/openbox/window.h +++ b/openbox/window.h @@ -32,7 +32,8 @@ typedef enum { Window_Dock, Window_DockApp, /* used for events but not stacking */ Window_Client, - Window_Internal /* used for stacking but not events */ + Window_Internal /* used for stacking but not events (except to filter + events on the root window) */ } Window_InternalType; struct _ObWindow -- cgit v1.2.3