Disable some incompatible features
* exwm.el (exwm-init): exwm-config.el (exwm-config-misc): Disable dialog boxes and hourglass pointer by default.
This commit is contained in:
		
							parent
							
								
									9ee1c9bb17
								
							
						
					
					
						commit
						7ee6d48a35
					
				
					 2 changed files with 4 additions and 3 deletions
				
			
		| 
						 | 
					@ -90,9 +90,7 @@
 | 
				
			||||||
  (menu-bar-mode -1)
 | 
					  (menu-bar-mode -1)
 | 
				
			||||||
  (tool-bar-mode -1)
 | 
					  (tool-bar-mode -1)
 | 
				
			||||||
  (scroll-bar-mode -1)
 | 
					  (scroll-bar-mode -1)
 | 
				
			||||||
  (fringe-mode 1)
 | 
					  (fringe-mode 1))
 | 
				
			||||||
  ;; Disable dialog boxes
 | 
					 | 
				
			||||||
  (setq use-dialog-box nil))
 | 
					 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
							
								
								
									
										3
									
								
								exwm.el
									
										
									
									
									
								
							
							
						
						
									
										3
									
								
								exwm.el
									
										
									
									
									
								
							| 
						 | 
					@ -500,6 +500,9 @@
 | 
				
			||||||
          (progn (xcb:disconnect exwm--connection)
 | 
					          (progn (xcb:disconnect exwm--connection)
 | 
				
			||||||
                 (setq exwm--connection nil)
 | 
					                 (setq exwm--connection nil)
 | 
				
			||||||
                 (exwm--log "Other window manager detected"))
 | 
					                 (exwm--log "Other window manager detected"))
 | 
				
			||||||
 | 
					        ;; Disable some features not working well with EXWM
 | 
				
			||||||
 | 
					        (setq use-dialog-box nil
 | 
				
			||||||
 | 
					              display-hourglass nil)
 | 
				
			||||||
        ;; Initialize ICCCM/EWMH support
 | 
					        ;; Initialize ICCCM/EWMH support
 | 
				
			||||||
        ;; (xcb:icccm:init exwm--connection)
 | 
					        ;; (xcb:icccm:init exwm--connection)
 | 
				
			||||||
        (xcb:ewmh:init exwm--connection)
 | 
					        (xcb:ewmh:init exwm--connection)
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue