Hello,

Even if the first patch I sent is okl, I think it is better to use the
(new) attached version instead.

Note that the attached patch allows to use wmcliphist under fluxbox, and
has no side effect when wmcliphist is run under windowmaker.

--
SeB

2018-04-04 16:32 GMT+02:00 Sebastien BALLET <slacker6...@gmail.com>:

> Hello,
>
> when running wmcliphist under fluxbox, there's a blank area on top left of
> the screen (see image wmcliphist-blank-area-on-fluxbox.jpg)
>
> The attached patch fixes this issue (see image wmcliphist-no-blank-area-on-
> fluxbox.jpg).
>
> The slackbuild does not need to be updated.
>
> --
> SeB
>
--- dockapps/wmcliphist.c.orig	2018-04-10 15:52:43.996163398 +0200
+++ dockapps/wmcliphist.c	2018-04-10 17:41:00.836028549 +0200
@@ -68,6 +68,12 @@
 	gtk_window_set_wmclass(GTK_WINDOW(mw), g_get_prgname(), "DockApp");
 	gtk_widget_set_size_request(foobox, s, s);
 
+	/* Attention, the minimum size of 'mw' must be the same as 'foobox', 
+	   otherwise, a blank area is left on top left corner of the screen
+	   when wmcliphist is run under fluxbox.
+	*/
+	gtk_widget_set_size_request(mw, s, s);
+
 	gtk_widget_realize(mw);
 	gtk_widget_realize(foobox);
 
_______________________________________________
SlackBuilds-users mailing list
SlackBuilds-users@slackbuilds.org
https://lists.slackbuilds.org/mailman/listinfo/slackbuilds-users
Archives - https://lists.slackbuilds.org/pipermail/slackbuilds-users/
FAQ - https://slackbuilds.org/faq/

Reply via email to