mirror of
https://github.com/davatorium/rofi.git
synced 2025-02-10 15:44:41 -05:00
Remove extra newlines after log messages.
This commit is contained in:
parent
2bcdf2cc2e
commit
9b16f21ddc
1 changed files with 3 additions and 2 deletions
|
@ -200,7 +200,7 @@ static void menu_capture_screenshot ( void )
|
||||||
static gboolean rofi_view_repaint ( G_GNUC_UNUSED void * data )
|
static gboolean rofi_view_repaint ( G_GNUC_UNUSED void * data )
|
||||||
{
|
{
|
||||||
if ( current_active_menu ) {
|
if ( current_active_menu ) {
|
||||||
g_log ( LOG_DOMAIN, G_LOG_LEVEL_DEBUG, "expose event\n" );
|
g_log ( LOG_DOMAIN, G_LOG_LEVEL_DEBUG, "expose event" );
|
||||||
TICK_N ( "Expose" );
|
TICK_N ( "Expose" );
|
||||||
xcb_copy_area ( xcb->connection, CacheState.edit_pixmap, CacheState.main_window, CacheState.gc,
|
xcb_copy_area ( xcb->connection, CacheState.edit_pixmap, CacheState.main_window, CacheState.gc,
|
||||||
0, 0, 0, 0, current_active_menu->width, current_active_menu->height );
|
0, 0, 0, 0, current_active_menu->width, current_active_menu->height );
|
||||||
|
@ -319,7 +319,7 @@ void rofi_view_queue_redraw ( void )
|
||||||
{
|
{
|
||||||
if ( current_active_menu && CacheState.repaint_source == 0 ) {
|
if ( current_active_menu && CacheState.repaint_source == 0 ) {
|
||||||
CacheState.count++;
|
CacheState.count++;
|
||||||
g_log ( LOG_DOMAIN, G_LOG_LEVEL_DEBUG, "redraw %lu\n", CacheState.count );
|
g_log ( LOG_DOMAIN, G_LOG_LEVEL_DEBUG, "redraw %lu", CacheState.count );
|
||||||
CacheState.repaint_source = g_idle_add_full ( G_PRIORITY_HIGH_IDLE, rofi_view_repaint, NULL, NULL );
|
CacheState.repaint_source = g_idle_add_full ( G_PRIORITY_HIGH_IDLE, rofi_view_repaint, NULL, NULL );
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -1591,6 +1591,7 @@ void rofi_view_hide ( void )
|
||||||
|
|
||||||
void rofi_view_cleanup ()
|
void rofi_view_cleanup ()
|
||||||
{
|
{
|
||||||
|
g_log ( LOG_DOMAIN, G_LOG_LEVEL_DEBUG, "Cleanup." );
|
||||||
if ( CacheState.idle_timeout > 0 ) {
|
if ( CacheState.idle_timeout > 0 ) {
|
||||||
g_source_remove ( CacheState.idle_timeout );
|
g_source_remove ( CacheState.idle_timeout );
|
||||||
CacheState.idle_timeout = 0;
|
CacheState.idle_timeout = 0;
|
||||||
|
|
Loading…
Add table
Reference in a new issue