Skip to content
Snippets Groups Projects
  1. May 23, 2023
  2. May 22, 2023
  3. Apr 23, 2023
  4. Apr 20, 2023
  5. Apr 18, 2023
  6. Mar 30, 2023
  7. Mar 21, 2023
  8. Mar 20, 2023
  9. Mar 02, 2023
    • filips's avatar
      Bug 1747722 - Allow changing window class hints using attributes. r=emilio,stransky · 20d7c9c0
      filips authored
      This patch adds two new attributes to the window's `html` element, `windowclass` and `windowname`, to allow directly controlling the window's class hints on Xorg/Wayland (`res_class` and `res_name`) from the chrome/JS code. When they are set, values are used as class hints for their window. When they are not set, the current behavior of determining `res_class` and `res_name` (using `gdk_get_program_class` for `res_class` and parsing `windowtype` for `res_name`) is preserved.
      
      Changes in `widget/nsIWidget.h` and `widget/nsBaseWidget.h` are only interface changes so that `setWindowClass` can accept three attributes. Although this patch does not affect Windows, `widget/windows/nsWindow.h` and `widget/windows/nsWindow.cpp` have been updated to comply with the new interface. `xpfe/appshell/AppWindow.cpp` has been updated to get the additional attributes and call `setWindowClass` with them. The main changes are in `widget/gtk/nsWindow.h` and `widget/gtk/nsWindow.cpp`.
      
      Differential Revision: https://phabricator.services.mozilla.com/D169720
      20d7c9c0
  10. Feb 16, 2023
  11. Feb 13, 2023
  12. Feb 03, 2023
  13. Feb 02, 2023
  14. Jan 31, 2023
  15. Jan 28, 2023
  16. Jan 27, 2023
  17. Jan 26, 2023
  18. Jan 23, 2023
  19. Jan 19, 2023
  20. Jan 17, 2023
  21. Jan 16, 2023
  22. Jan 10, 2023
  23. Jan 09, 2023
  24. Dec 28, 2022
  25. Dec 21, 2022
Loading