Changes in CUPS v2.4.13 (YYYY-MM-DD)
------------------------------------
+- Updated the scheduler to send the "printer-modified" event whenever the system
+ default printer is changed (Issue #1246)
- Fixed a memory leak in `httpClose` (Issue #1223)
- Fixed missing commas in `ippCreateRequestedArray` (Issue #1234)
- Fixed subscription issues in the scheduler and D-Bus notifier (Issue #1235)
DefaultPrinter = printer;
if (oldprinter)
- cupsdAddEvent(CUPSD_EVENT_PRINTER_STATE, oldprinter, NULL,
+ cupsdAddEvent(CUPSD_EVENT_PRINTER_MODIFIED, oldprinter, NULL,
"%s is no longer the default printer.", oldprinter->name);
- cupsdAddEvent(CUPSD_EVENT_PRINTER_STATE, printer, NULL,
+ cupsdAddEvent(CUPSD_EVENT_PRINTER_MODIFIED, printer, NULL,
"%s is now the default printer.", printer->name);
cupsdMarkDirty(CUPSD_DIRTY_PRINTERS | CUPSD_DIRTY_CLASSES |