mirror of
https://github.com/davatorium/rofi.git
synced 2025-04-14 17:43:01 -04:00
Add teardown debug message
This commit is contained in:
parent
70e3b189df
commit
606f4e89c5
2 changed files with 3 additions and 9 deletions
|
@ -358,15 +358,6 @@ if ( queue == NULL ){
|
|||
yylval->colorval.blue = val.b/255.0;
|
||||
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} {
|
||||
union { unsigned int val; struct { unsigned char b,g,r,a;};} val;
|
||||
val.val = (unsigned int)g_ascii_strtoull ( &yytext[1], NULL, 16);
|
||||
|
|
|
@ -73,6 +73,8 @@
|
|||
// TODO: move this check to mode.c
|
||||
#include "mode-private.h"
|
||||
|
||||
#define LOG_DOMAIN "Rofi"
|
||||
|
||||
// Pidfile.
|
||||
char *pidfile = NULL;
|
||||
const char *cache_dir = NULL;
|
||||
|
@ -170,6 +172,7 @@ static int setup ()
|
|||
*/
|
||||
static void teardown ( int pfd )
|
||||
{
|
||||
g_log ( LOG_DOMAIN , G_LOG_LEVEL_DEBUG, "Teardown");
|
||||
// Cleanup font setup.
|
||||
textbox_cleanup ( );
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue