fix F11 screen toggling
This commit is contained in:
		
							parent
							
								
									f2535db66f
								
							
						
					
					
						commit
						6ed0181a0c
					
				| 
						 | 
				
			
			@ -1,7 +1,7 @@
 | 
			
		|||
#include <stdio.h>
 | 
			
		||||
#include <stdlib.h>
 | 
			
		||||
#include <string.h>
 | 
			
		||||
#define STYLE_N 6894 + 1000
 | 
			
		||||
#define STYLE_N 7127 + 1000
 | 
			
		||||
 | 
			
		||||
void read_style_js(char* string)
 | 
			
		||||
{
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -1,7 +1,7 @@
 | 
			
		|||
#ifndef STYLE
 | 
			
		||||
#define STYLE
 | 
			
		||||
 | 
			
		||||
#define STYLE_N 6894 + 1000
 | 
			
		||||
#define STYLE_N 7127 + 1000
 | 
			
		||||
 | 
			
		||||
void read_style_js(char* string);
 | 
			
		||||
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -127,6 +127,15 @@ if (document.domain == "twitter.com") {
 | 
			
		|||
    background-color: inherit !important;
 | 
			
		||||
    transition: none !important;
 | 
			
		||||
  }
 | 
			
		||||
  /* Hide go to top button */
 | 
			
		||||
  [aria-label^="New posts are available. Push the period key to go to the them."]{
 | 
			
		||||
		display: none;
 | 
			
		||||
  }
 | 
			
		||||
 | 
			
		||||
  /* No transparency at the top */
 | 
			
		||||
  [aria-live^="polite"]{
 | 
			
		||||
    background: white !important;
 | 
			
		||||
  }
 | 
			
		||||
 | 
			
		||||
  `;
 | 
			
		||||
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
							
								
								
									
										2
									
								
								rose.c
									
									
									
									
									
								
							
							
						
						
									
										2
									
								
								rose.c
									
									
									
									
									
								
							| 
						 | 
				
			
			@ -412,7 +412,7 @@ int keypress(void* self, GdkEvent* e, GtkNotebook* notebook)
 | 
			
		|||
    (void)self;
 | 
			
		||||
 | 
			
		||||
    for (int i = 0; i < sizeof(keys) / sizeof(keys[0]); i++)
 | 
			
		||||
        if (e->key.keyval == keys[i].key && e->key.state == keys[i].mod)
 | 
			
		||||
        if (e->key.keyval == keys[i].key && (e->key.state == keys[i].mod || keys[i].mod == 0x0))
 | 
			
		||||
            return handle_key(keys[i].id, notebook);
 | 
			
		||||
 | 
			
		||||
    return 0;
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
		Reference in New Issue
	
	Block a user