mirror of https://github.com/davatorium/rofi.git
Add teardown debug message
This commit is contained in:
parent
70e3b189df
commit
606f4e89c5
|
@ -358,15 +358,6 @@ if ( queue == NULL ){
|
||||||
yylval->colorval.blue = val.b/255.0;
|
yylval->colorval.blue = val.b/255.0;
|
||||||
return T_COLOR;
|
return T_COLOR;
|
||||||
}
|
}
|
||||||
<PROPERTIES>argb:{HEX}{8} {
|
|
||||||
union { unsigned int val; struct { unsigned char b,g,r,a;};} val;
|
|
||||||
val.val = (unsigned int)strtoull ( &yytext[1], NULL, 16);
|
|
||||||
yylval->colorval.alpha = val.a/255.0;
|
|
||||||
yylval->colorval.red = val.r/255.0;
|
|
||||||
yylval->colorval.green = val.g/255.0;
|
|
||||||
yylval->colorval.blue = val.b/255.0;
|
|
||||||
return T_COLOR;
|
|
||||||
}
|
|
||||||
<PROPERTIES>#{HEX}{6} {
|
<PROPERTIES>#{HEX}{6} {
|
||||||
union { unsigned int val; struct { unsigned char b,g,r,a;};} val;
|
union { unsigned int val; struct { unsigned char b,g,r,a;};} val;
|
||||||
val.val = (unsigned int)g_ascii_strtoull ( &yytext[1], NULL, 16);
|
val.val = (unsigned int)g_ascii_strtoull ( &yytext[1], NULL, 16);
|
||||||
|
|
|
@ -73,6 +73,8 @@
|
||||||
// TODO: move this check to mode.c
|
// TODO: move this check to mode.c
|
||||||
#include "mode-private.h"
|
#include "mode-private.h"
|
||||||
|
|
||||||
|
#define LOG_DOMAIN "Rofi"
|
||||||
|
|
||||||
// Pidfile.
|
// Pidfile.
|
||||||
char *pidfile = NULL;
|
char *pidfile = NULL;
|
||||||
const char *cache_dir = NULL;
|
const char *cache_dir = NULL;
|
||||||
|
@ -170,6 +172,7 @@ static int setup ()
|
||||||
*/
|
*/
|
||||||
static void teardown ( int pfd )
|
static void teardown ( int pfd )
|
||||||
{
|
{
|
||||||
|
g_log ( LOG_DOMAIN , G_LOG_LEVEL_DEBUG, "Teardown");
|
||||||
// Cleanup font setup.
|
// Cleanup font setup.
|
||||||
textbox_cleanup ( );
|
textbox_cleanup ( );
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue