diff options
author | Pav Lucistnik <pav@FreeBSD.org> | 2006-03-16 10:32:54 +0000 |
---|---|---|
committer | Pav Lucistnik <pav@FreeBSD.org> | 2006-03-16 10:32:54 +0000 |
commit | 64156f45847fbe982d70b4b1fb592f4cb499cf96 (patch) | |
tree | 6e16ab68cf7c0ac06defa538f48cec508ad7efa4 /x11-wm/pawm/files/patch-src__pawindow.cc | |
parent | 00cd57b7a9931e3a191d1bd9261a193a589e0434 (diff) |
Notes
Diffstat (limited to 'x11-wm/pawm/files/patch-src__pawindow.cc')
-rw-r--r-- | x11-wm/pawm/files/patch-src__pawindow.cc | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/x11-wm/pawm/files/patch-src__pawindow.cc b/x11-wm/pawm/files/patch-src__pawindow.cc new file mode 100644 index 000000000000..cb43bb09cc06 --- /dev/null +++ b/x11-wm/pawm/files/patch-src__pawindow.cc @@ -0,0 +1,32 @@ +--- src/pawindow.c.orig Sun Mar 5 10:14:06 2006 ++++ src/pawindow.c Wed Mar 8 13:29:48 2006 +@@ -787,10 +787,12 @@ + + static void canvas_KeyPress(XKeyPressedEvent *event, PAWindow pawindow) + { ++ XEvent *e; ++ + ASSERT(event); + ASSERT(pawindow); + +- XEvent *e = (XEvent *) event; ++ e = (XEvent *) event; + + /* Replay the event if it isn't a pawm keybinding */ + if (!keyboard_binding_key(event)) { +@@ -1633,6 +1635,7 @@ + int num_rows=1; + int firsticonx, lasticonx, iconx, icony; + bool forward= (strcmp((char *)data, "forward")==0 ? 1 : 0); ++ KeySym testkeysym; KeyCode testkeycode; + + + /* TODO: Support both rotate method: w/wout popup window*/ +@@ -1665,7 +1668,6 @@ + None, CurrentTime); + current_pw=tab_window_draw_all(num_windows, num_rows); + +- KeySym testkeysym; KeyCode testkeycode; + testkeysym=XStringToKeysym("Tab"); + testkeycode=XKeysymToKeycode(display, testkeysym); + XGrabKey(display, testkeycode, Mod1Mask, ROOT, False, GrabModeAsync, GrabModeAsync); |