Skip to content

Commit

Permalink
manually set wmclass to Netbiff
Browse files Browse the repository at this point in the history
  • Loading branch information
peff committed Aug 7, 2004
1 parent a1a2290 commit c512894
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
5 changes: 5 additions & 0 deletions NEWS
@@ -1,3 +1,8 @@
0.9.18
- For GTK interface, manually set WM_CLASS to Netbiff; this avoids the case
where GTK fails to guess the right name (e.g., when we have already parsed
some of the arguments).

0.9.17
- fix bug with command line arguments and gtk frontend
- improve errors messages when reading configuration
Expand Down
3 changes: 3 additions & 0 deletions gui_gtk.c
Expand Up @@ -202,6 +202,9 @@ static void gtk_gui_init(int *argc, char ***argv) {
char **a;

gtk_init(argc, argv);
/* The original argv may not be available, so gtk's guess for the
* program class will be wrong. */
gdk_set_program_class("Netbiff");

main_window_create();
pixmap_create();
Expand Down

0 comments on commit c512894

Please sign in to comment.