]> Dogcows Code - chaz/openbox/blobdiff - openbox/focus_cycle_popup.c
fix a crash when reconfiguring during focus cycling
[chaz/openbox] / openbox / focus_cycle_popup.c
index 8ce2c161058afe8890987af5af001c04d4450df0..028fa45d806152ac7fd2029da106f9c8ef6fadbc 100644 (file)
@@ -146,6 +146,7 @@ void focus_cycle_popup_shutdown(gboolean reconfig)
     }
 
     g_free(popup.hilite_rgba);
+    popup.hilite_rgba = NULL;
 
     XDestroyWindow(ob_display, popup.text);
     XDestroyWindow(ob_display, popup.bg);
@@ -460,7 +461,7 @@ void focus_cycle_popup_show(ObClient *c, gboolean iconic_windows,
     }
 }
 
-void focus_cycle_popup_hide()
+void focus_cycle_popup_hide(void)
 {
     gulong ignore_start;
 
@@ -523,7 +524,7 @@ void focus_cycle_popup_single_show(struct _ObClient *c,
     screen_hide_desktop_popup();
 }
 
-void focus_cycle_popup_single_hide()
+void focus_cycle_popup_single_hide(void)
 {
     icon_popup_hide(single_popup);
 }
This page took 0.024411 seconds and 4 git commands to generate.