]> Dogcows Code - chaz/openbox/blobdiff - openbox/event.c
use const Rect* not Rect const*
[chaz/openbox] / openbox / event.c
index c4af7b232753df61f332c3b09772af24454aafcd..d63ae2b33777dbad01c165ce923fc77bd3c29245 100644 (file)
@@ -1253,8 +1253,9 @@ static void event_handle_client(ObClient *client, XEvent *e)
            XXX remove this some day...that would be nice. but really unexpected
            from Sun Microsystems.
         */
-        g_print("x %d y %d grav %d %d\n", x, y, client->gravity, NorthWestGravity);
-        if (x == 0 && y == 0 && client->gravity == NorthWestGravity) {
+        if (x == 0 && y == 0 && client->gravity == NorthWestGravity &&
+            client_normal(client))
+        {
             const Rect to = { x, y, w, h };
 
             /* oldschool fullscreen windows are allowed */
@@ -1881,7 +1882,7 @@ static gboolean event_handle_menu_input(XEvent *ev)
                 ret = TRUE;
             }
 
-            else if (sym == XK_Return) {
+            else if (sym == XK_Return || sym == XK_KP_Enter) {
                 frame->press_doexec = TRUE;
                 ret = TRUE;
             }
This page took 0.023229 seconds and 4 git commands to generate.