]> Dogcows Code - chaz/openbox/blobdiff - openbox/prompt.c
Handle STRING and COMPOUND_TEXT type text properties.
[chaz/openbox] / openbox / prompt.c
index 50d09037a23e34ec293029255c06ce43dc8a38ef..08356092693c875c1bb92be78450220ea5375568 100644 (file)
@@ -175,7 +175,7 @@ ObPrompt* prompt_new(const gchar *msg, const gchar *title,
 
     /* set the window's title */
     if (title)
-        OBT_PROP_SETS(self->super.window, NET_WM_NAME, utf8, title);
+        OBT_PROP_SETS(self->super.window, NET_WM_NAME, title);
 
     /* listen for key presses on the window */
     self->event_mask = KeyPressMask;
@@ -462,7 +462,7 @@ void prompt_show(ObPrompt *self, ObClient *parent, gboolean modal)
         /* activate the prompt */
         OBT_PROP_MSG(ob_screen, self->super.window, NET_ACTIVE_WINDOW,
                      1, /* from an application.. */
-                     event_curtime,
+                     event_time(),
                      0,
                      0, 0);
         return;
This page took 0.024652 seconds and 4 git commands to generate.