aboutsummaryrefslogtreecommitdiffstats
path: root/main.c
diff options
context:
space:
mode:
authorgotmor <gotmor@f2baff5b-bf2c-0410-a398-912abdc3d8b2>2007-07-06 06:04:23 +0000
committergotmor <gotmor@f2baff5b-bf2c-0410-a398-912abdc3d8b2>2007-07-06 06:04:23 +0000
commitea9797f1105ed972147e3dc81f0b49090d0d88b6 (patch)
treeae9bcebfe01249be9eae45869eb2eba260500d5f /main.c
parent445d958902177390320e2d5bc384e7fb47afdeaf (diff)
downloaddzen-ea9797f1105ed972147e3dc81f0b49090d0d88b6.tar.gz
dzen-ea9797f1105ed972147e3dc81f0b49090d0d88b6.zip
added actions:
togglecollapse togglehide a_collapse: removed unmapping of each subwindow git-svn-id: http://dzen.googlecode.com/svn/trunk@118 f2baff5b-bf2c-0410-a398-912abdc3d8b2
Diffstat (limited to 'main.c')
-rw-r--r--main.c14
1 files changed, 13 insertions, 1 deletions
diff --git a/main.c b/main.c
index 6b7ceff..531b10f 100644
--- a/main.c
+++ b/main.c
@@ -271,7 +271,8 @@ queryscreeninfo(Display *dpy, XRectangle *rect, int screen) {
}
#endif
-static void set_net_wm_strut_partial_for(Display *dpy, Window w) {
+static void
+set_net_wm_strut_partial_for(Display *dpy, Window w) {
unsigned long strut[12] = { 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 };
XWindowAttributes wa;
@@ -508,6 +509,17 @@ handle_xev(void) {
XLookupString(&ev.xkey, buf, sizeof buf, &ksym, 0);
do_action(ksym+keymarker);
break;
+
+ /* TODO: XRandR rotation and size chnages */
+#if 0
+
+#ifdef DZEN_XRANDR
+ case RRScreenChangeNotify:
+ handle_xrandr();
+#endif
+
+#endif
+
}
}